Rumba C++ SDK
maquina::ProcAnimLayer Class Referenceabstract

Base of procedural animation layer nodes like constraint, noise, dynamic on controllers. More...

#include <ProcAnimLayer.h>

Inheritance diagram for maquina::ProcAnimLayer:
maquina::AnimLayer maquina::BaseLayer maquina::NodePlugin

Public Member Functions

 ProcAnimLayer (maquina::Node *node)
 
virtual bool check_cycles () const =0
 Return true if no graph cycles has been found in the layer setup. More...
 
- Public Member Functions inherited from maquina::AnimLayer
 AnimLayer (Node *node)
 
void on_delete (bool undo_stack) override
 Prepare the node to be deleted. More...
 
void on_add_to_document () override
 Callback called when the node is added to the document. More...
 
void on_remove_from_document () override
 Callback called when the node is removed from the document. More...
 
void relationship (NodeSet &set) const override
 Return the node relationships. More...
 
virtual bool accept_channel_edition (const Plug &channel_plug) const
 
virtual bool override_channel (const Plug &channel_plug, float frame) const
 
- Public Member Functions inherited from maquina::BaseLayer
 BaseLayer (Node *node)
 
void on_delete (bool undo_stack) override
 Prepare the node to be deleted. More...
 
void on_add_to_document () override
 Callback called when the node is added to the document. More...
 
void on_remove_from_document () override
 Callback called when the node is removed from the document. More...
 
void relationship (NodeSet &set) const override
 Return the node relationships. More...
 
void on_input_connection (const Plug &output, const Plug &input, bool serial) override
 Callback called when an a connection has been done between an output plug and a plug of this node as input. More...
 
- Public Member Functions inherited from maquina::NodePlugin
 NodePlugin (Node *node)
 
virtual ~NodePlugin ()
 
virtual void on_first_init (bool)
 Perform the one shot initialization tasks for this node. 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 std::shared_ptr< NodeDelegatenode_delegate () const
 Return a node delegate for this node. More...
 
virtual std::optional< Plugchannel_switch_output () const
 If that not is a channel switch node, return the output channel plug. More...
 
virtual std::vector< Plugchannel_switch_inputs () const
 Return the input channel plugs. More...
 
virtual std::optional< Plugchannel_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...
 

Additional Inherited Members

- Static Public Member Functions inherited from maquina::AnimLayer
static void add_curve (const Node &curve_node, const Node &layer)
 
static void remove_curve (const Node &curve_node)
 

Detailed Description

Base of procedural animation layer nodes like constraint, noise, dynamic on controllers.

Procedural animation layers can be baked to regular animation layers.

Constructor & Destructor Documentation

◆ ProcAnimLayer()

maquina::ProcAnimLayer::ProcAnimLayer ( maquina::Node node)
inline

Member Function Documentation

◆ check_cycles()

virtual bool maquina::ProcAnimLayer::check_cycles ( ) const
pure virtual

Return true if no graph cycles has been found in the layer setup.


The documentation for this class was generated from the following file: