|
| | BrushID (Node *node) |
| |
| void | on_mouse_move (const CameraContext &camera, const InteractionContext &interaction) final |
| |
| void | on_mouse_press (const CameraContext &camera, const InteractionContext &interaction) final |
| |
| void | on_mouse_release (const CameraContext &camera, const InteractionContext &interaction) final |
| |
| void | activate () override |
| |
| void | deactivate () override |
| |
| Array | get_help (const char *tool) override |
| |
| Array | get_status (const char *tool) override |
| |
| bool | on_key_press (int32_t key, int32_t modifiers) final |
| | Called when a key is pressed while the tool is active. More...
|
| |
| bool | on_key_release (int32_t key, int32_t modifiers) final |
| | Called when a key is released while the tool is active. More...
|
| |
| void | stroke_begin (int modifiers) override |
| | Called when the stroke is beginning. More...
|
| |
| void | stroke_update (bool first, bool finished) override |
| | Called when the brush moves or have been released. More...
|
| |
| void | update_weights (bool first, const Imath::M44f &previous_brush_matrix) final |
| | Update the brush weights. More...
|
| |
| float | weight (float distance) final |
| | Convert a distance in weight. More...
|
| |
| float | flow () final |
| | Get the brush accumulation flow. More...
|
| |
| | BrushPlugin (Node *node) |
| |
| BrushPlugin | operator= (const BrushPlugin &)=delete |
| |
| void | activate () override |
| | From ToolPlugin. More...
|
| |
| void | deactivate () override |
| |
| void | on_mouse_press (const CameraContext &camera, const InteractionContext &interaction) override |
| |
| void | on_mouse_move (const CameraContext &camera, const InteractionContext &interaction) override |
| |
| void | on_mouse_release (const CameraContext &camera, const InteractionContext &interaction) override |
| |
| bool | override_selection () override |
| |
| bool | track_mouse () override |
| |
| bool | manipulates () override |
| |
| virtual bool | do_update_weights () |
| | Does the weights have to be updated at every stroke_update() ? More...
|
| |
| virtual void | update_brush_matrix (const CameraContext &camera, const InteractionContext &interaction, bool &visible, Imath::M44f &brush_matrix, bool on_press) |
| | Update the brush position and visibility. More...
|
| |
| virtual float | radius () |
| | Get the brush radius. More...
|
| |
| void | set_radius (float radius) |
| | Set the brush radius. More...
|
| |
| virtual bool | multi_objects () |
| | Get the multi objects state. More...
|
| |
| virtual float | geodesic_dt () |
| | Get the geodesic dt. More...
|
| |
| virtual SceneConst | scene () |
| | Get the displayed scene. More...
|
| |
| virtual BrushType | brush_type () |
| | Get the brush type. More...
|
| |
| gsl::span< GeometryData > | geometry_data () |
| | Return the brush's geometry data. More...
|
| |
| Imath::V3f | hit_pos_world () const |
| | Return the brush position in world space. More...
|
| |
| const Imath::V3f & | hit_normal_world () const |
| | Return the brush normal in world space. More...
|
| |
| Imath::V3f | hit_pos_world_orig () const |
| | Returns the world space brush position at the beginning of the stroke. More...
|
| |
| const Imath::V3f & | hit_normal_world_orig () const |
| | Return the brush normal in world space at the beginning of the stroke. More...
|
| |
| const Imath::M44f & | brush_matrix () const |
| | Return the brush matrix which transforms from the brush local space to the world space. More...
|
| |
| const Imath::M44f & | brush_matrix_orig () const |
| | Return the brush matrix which transforms from the brush local space to the world space at the beginning of the stroke. More...
|
| |
| bool | is_brush_visible () const |
| | Returns true is the brush is visible. More...
|
| |
| bool | is_pressed () const |
| | Returns true is the brush is pressed by the user. More...
|
| |
| | ToolPlugin (Node *node) |
| |
| | NodePlugin (Node *node) |
| |
| virtual | ~NodePlugin () |
| |
| virtual void | on_first_init (bool) |
| | Perform the one shot initialization tasks for this node. More...
|
| |
| virtual void | on_delete (bool) |
| | Prepare the node to be deleted. More...
|
| |
| virtual void | on_add_to_document () |
| | Callback called when the node is added to the document. More...
|
| |
| virtual void | on_remove_from_document () |
| | Callback called when the node is removed from the document. More...
|
| |
| virtual void | on_input_connection (const Plug &, const Plug &, bool) |
| | Callback called when an a connection has been done between an output plug and a plug of this node as input. More...
|
| |
| virtual void | on_output_connection (const Plug &, const Plug &, bool) |
| | Callback called when an a connection has been done between a plug of this node as output and an input plug. More...
|
| |
| virtual void | on_input_disconnection (const Plug &, const Plug &) |
| | Callback called when an a connection has been broken between an output plug and a plug of this node as input. More...
|
| |
| virtual void | on_output_disconnection (const Plug &, const Plug &) |
| | Callback called when an a connection has been broken between a plug of this node as output and an input plug. More...
|
| |
| virtual void | relationship (NodeSet &set) const |
| | Return the node relationships. More...
|
| |
| virtual std::shared_ptr< NodeDelegate > | node_delegate () const |
| | Return a node delegate for this node. More...
|
| |
| virtual std::optional< Plug > | channel_switch_output () const |
| | If that not is a channel switch node, return the output channel plug. More...
|
| |
| virtual std::vector< Plug > | channel_switch_inputs () const |
| | Return the input channel plugs. More...
|
| |
| virtual std::optional< Plug > | channel_switch_sub_channel (const std::string_view &sub_channel) const |
| | Return the plug for the sub channel name if available. More...
|
| |
| Node | node () const |
| | Returns the Node interface for this object. More...
|
| |
| virtual std::string | selection_path () const |
| | Returns the node delegate path to use to select that node. More...
|
| |