TuttleOFX
1
|
Node initializer class. More...
#include <Node.hpp>
Public Member Functions | |
NodeInit () | |
NodeInit (const std::string &pluginName) | |
NodeInit (INode &node) | |
NodeInit (const NodeInit &other) | |
Non-standard copy contructor that steals the data. | |
NodeInit & | operator= (const NodeInit &other) |
INode & | operator-> () |
const INode & | operator-> () const |
NodeInit & | setParam (const std::string ¶mName,...) |
Set parameter values. If it's a multi-dimensional parameter, you should put all dimensions values. setParam("redColor", 1.0, 0.0, 0.0, 1.0) | |
NodeInit & | setParamExp (const std::string ¶mName, const std::string ¶mValue) |
Set parameter value from a string expression. | |
const INode & | get () const |
INode & | get () |
void | setNode (INode &node) |
INode & | release () const |
Private Attributes | |
std::auto_ptr< INode > | _node |
tuttle::host::NodeInit::NodeInit | ( | const std::string & | pluginName | ) |
Definition at line 82 of file Node.cpp.
References tuttle::host::createNode(), and setNode().
tuttle::host::NodeInit::NodeInit | ( | INode & | node | ) |
tuttle::host::NodeInit::NodeInit | ( | const NodeInit & | other | ) | [inline] |
const INode& tuttle::host::NodeInit::get | ( | ) | const [inline] |
INode& tuttle::host::NodeInit::get | ( | ) | [inline] |
INode& tuttle::host::NodeInit::operator-> | ( | ) | [inline] |
const INode& tuttle::host::NodeInit::operator-> | ( | ) | const [inline] |
INode& tuttle::host::NodeInit::release | ( | ) | const [inline] |
Definition at line 67 of file Node.hpp.
References _node.
Referenced by tuttle::host::Graph::addNode(), NodeInit(), and operator=().
void tuttle::host::NodeInit::setNode | ( | INode & | node | ) | [inline] |
Definition at line 66 of file Node.hpp.
References _node.
Referenced by NodeInit(), and operator=().
NodeInit & tuttle::host::NodeInit::setParam | ( | const std::string & | paramName, |
... | |||
) |
Set parameter values. If it's a multi-dimensional parameter, you should put all dimensions values. setParam("redColor", 1.0, 0.0, 0.0, 1.0)
Definition at line 92 of file Node.cpp.
References _node, and tuttle::host::ofx::attribute::eChangeUserEdited.
NodeInit & tuttle::host::NodeInit::setParamExp | ( | const std::string & | paramName, |
const std::string & | paramValue | ||
) |
Set parameter value from a string expression.
Definition at line 103 of file Node.cpp.
References _node, and tuttle::host::ofx::attribute::eChangeUserEdited.
std::auto_ptr<INode> tuttle::host::NodeInit::_node [mutable, private] |
Definition at line 70 of file Node.hpp.
Referenced by get(), operator->(), release(), setNode(), setParam(), and setParamExp().