HDK
|
#include <SOP_NodeParmsOptions.h>
Public Types | |
typedef GOP_Manager::GroupCreator | GroupCreator |
Typedef to help make use of GroupCreator less verbose. More... | |
Public Member Functions | |
SOP_NodeCacheOptions () | |
~SOP_NodeCacheOptions () override | |
void | doCook (const SOP_NodeVerb *verb, const SOP_NodeVerb::CookParms &cookparms) |
fpreal | evalFloat (const char *parm, int vi, fpreal time) const |
exint | evalInt (const char *parm, int vi, fpreal time) const |
void | evalString (UT_String &value, const char *parm, int vi, fpreal time) const |
void | evalString (UT_StringHolder &value, const char *parm, int vi, fpreal time) const |
fpreal | evalFloatInst (const char *parm, const int *instance, int vi, fpreal time, int nestlevel=1) const |
exint | evalIntInst (const char *parm, const int *instance, int vi, fpreal time, int nestlevel=1) const |
void | evalStringInst (const char *parm, const int *instance, UT_String &val, int vi, fpreal time, int nestlevel=1) const |
void | evalStringInst (const char *parm, const int *instance, UT_StringHolder &val, int vi, fpreal time, int nestlevel=1) const |
exint | nInputs () const |
bool | hasInput (exint idx) const |
const GU_Detail * | inputGeo (exint idx, const OP_Context &context) const |
const GU_Detail * | inputGeo (exint idx) const |
OP_ERROR | error () |
void | addError (int code, const char *msg=0) |
void | addWarning (int code, const char *msg=0) |
void | addMessage (int code, const char *msg=0) |
void | addTransformError (const OP_Node &node, const char *label=0) const |
void | notifyGroupParmListeners (int groupparm_idx, int grouptype_idx, const GU_Detail *parm_gdp, const GA_Group *parm_group) const |
void | select (GA_GroupType gtype=GA_GROUP_PRIMITIVE) |
void | select (GU_SelectionHandle selection, bool add_to_sel=false) |
void | select (const GA_Group &group, bool use_gtype=true, bool add_to_sel=false) |
void | select (const GEO_Primitive &prim, bool sel_prim=true, bool add_to_sel=false) |
void | selectPoint (GA_Offset ptoff, bool point_sel=true, bool add_to_sel=false) |
void | selectFrom (const GEO_Primitive &prim, bool sel_prim=true, bool add_to_sel=false) |
void | selectPointsFrom (GA_Offset ptoff, bool point_sel=true, bool add_to_sel=false) |
void | select (const GA_Range &range, bool use_rtype=true, bool add_to_sel=false) |
void | selectInputGroup (const GA_Group *group, GA_GroupType grouptype) |
void | clearSelection () |
void | clearSelection (GA_GroupType gtype) |
bool | destroySelection () |
bool | selectionEnabled () const |
void | addExtraInput (OP_Node *op, OP_InterestType type) |
Public Member Functions inherited from OP_NodeCache | |
OP_NodeCache () | |
virtual | ~OP_NodeCache () |
virtual int64 | getMemoryUsage (bool inclusive) const |
Protected Member Functions | |
virtual OP_ERROR | cook (OP_Context &context)=0 |
const SOP_NodeVerb::CookParms * | cookparms () const |
Protected Member Functions inherited from OP_NodeCache | |
OP_NodeCache (const OP_NodeCache &)=default | |
OP_NodeCache & | operator= (const OP_NodeCache &)=default |
Protected Attributes | |
GU_Detail * | gdp |
These are transitory for the duration of the cook. More... | |
Provides a mostly drop-in replacement for SOP_Node, along with a local GU_Detail * to write to.
Definition at line 96 of file SOP_NodeParmsOptions.h.
Typedef to help make use of GroupCreator less verbose.
Definition at line 215 of file SOP_NodeParmsOptions.h.
SOP_NodeCacheOptions::SOP_NodeCacheOptions | ( | ) |
|
override |
Definition at line 126 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 217 of file SOP_NodeParmsOptions.h.
Definition at line 130 of file SOP_NodeParmsOptions.h.
|
inline |
Registers an error for cooking the given node's transform. If label is supplied, then it will be used as a label of the transform error.
Definition at line 135 of file SOP_NodeParmsOptions.h.
Definition at line 128 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 195 of file SOP_NodeParmsOptions.h.
|
inline |
If the cook selection group is not of the given type, create an empty cook selection group of that type. Otherwise, clear the existing cook selection group.
Definition at line 201 of file SOP_NodeParmsOptions.h.
|
protectedpure virtual |
Implemented in SOP_AttribCompositeCache.
|
inlineprotected |
Definition at line 232 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 207 of file SOP_NodeParmsOptions.h.
void SOP_NodeCacheOptions::doCook | ( | const SOP_NodeVerb * | verb, |
const SOP_NodeVerb::CookParms & | cookparms | ||
) |
OP_ERROR SOP_NodeCacheOptions::error | ( | ) |
fpreal SOP_NodeCacheOptions::evalFloatInst | ( | const char * | parm, |
const int * | instance, | ||
int | vi, | ||
fpreal | time, | ||
int | nestlevel = 1 |
||
) | const |
exint SOP_NodeCacheOptions::evalIntInst | ( | const char * | parm, |
const int * | instance, | ||
int | vi, | ||
fpreal | time, | ||
int | nestlevel = 1 |
||
) | const |
void SOP_NodeCacheOptions::evalString | ( | UT_String & | value, |
const char * | parm, | ||
int | vi, | ||
fpreal | time | ||
) | const |
void SOP_NodeCacheOptions::evalString | ( | UT_StringHolder & | value, |
const char * | parm, | ||
int | vi, | ||
fpreal | time | ||
) | const |
void SOP_NodeCacheOptions::evalStringInst | ( | const char * | parm, |
const int * | instance, | ||
UT_String & | val, | ||
int | vi, | ||
fpreal | time, | ||
int | nestlevel = 1 |
||
) | const |
void SOP_NodeCacheOptions::evalStringInst | ( | const char * | parm, |
const int * | instance, | ||
UT_StringHolder & | val, | ||
int | vi, | ||
fpreal | time, | ||
int | nestlevel = 1 |
||
) | const |
|
inline |
Definition at line 118 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 120 of file SOP_NodeParmsOptions.h.
Definition at line 122 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 116 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 151 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 158 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 161 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 166 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 170 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 182 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 176 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 189 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 211 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 173 of file SOP_NodeParmsOptions.h.
|
inline |
Definition at line 179 of file SOP_NodeParmsOptions.h.
|
protected |
These are transitory for the duration of the cook.
Definition at line 230 of file SOP_NodeParmsOptions.h.