CC-Fractal-Suite
|
OP is meant to remove the need to write public 'myConstructor' methods in every class like the examples. More...
#include <FractalNode.h>
Static Public Member Functions | |
template<typename T > | |
static OP_Node * | get_new_op (OP_Network *net, const char *name, OP_Operator *op) |
Method that calls a node's constructor, if added as a friend of the given node's class. More... | |
OP is meant to remove the need to write public 'myConstructor' methods in every class like the examples.
So long as the constructor for a node can be default, this class need only be added as a 'friend class' and register.cpp will be able to call the static get_new_op method to pass node construction to Houdini.
|
inlinestatic |
Method that calls a node's constructor, if added as a friend of the given node's class.
See register.cpp to see its usage.