HDK
|
#include <OP_Parameters.h>
Public Member Functions | |
SYS_FORCE_INLINE const UT_String & | getName () const |
SYS_FORCE_INLINE OP_Operator * | getOperator () const |
bool | updateParmsAndSpareParmsFlags () |
virtual unsigned | referenceAllParameters (OP_Parameters *from, bool relative_references=true) |
virtual bool | referenceSingleParameter (OP_Parameters *from, int parm_idx, const char *relative_path=NULL) |
void | animate (unsigned idx) |
void | animate (const char *name) |
void | deAnimate (unsigned idx) |
void | deAnimate (const char *name) |
CH_Channel * | addChannel (const char *name) |
CH_Channel * | getChannel (const char *name) |
const CH_Channel * | getChannel (const char *name) const |
int | destroyChannel (const char *name) |
bool | isObsoleteChannel (const char *name) const |
void | takeActivateParm (uint idx, bool enable=true) |
void | takeActivateParm (const char *name, bool enable=true) |
void | takeActivateParm (PRM_Parm *parm, bool enable=true) |
void | takeDeactivateParm (uint idx) |
void | takeDeactivateParm (const char *name) |
void | takeDeactivateParm (PRM_Parm *parm) |
bool | takeIsActiveParm (uint idx) |
bool | takeIsActiveParm (const char *name) |
bool | takeIsActiveParm (const PRM_Parm *parm) |
void | takeAutoActivateParm (PRM_Parm *) override |
fpreal | findKey (fpreal t, int direction) const |
PRM_ChanState | getChanState (fpreal t, bool scoped_only) const |
PRM_ChanState | isAtKey (fpreal t) const |
void | updatePending (fpreal t) |
bool | isPending (fpreal t) |
OP_Channels * | getChannels () const |
virtual bool | evalVariableValue (UT_String &val, int index, int thread) |
virtual bool | evalVariableValue (fpreal &val, int index, int thread) |
virtual void | getVariableString (int index, UT_String &value, int thread) |
virtual float | getVariableValue (int index, int thread) |
int | getNumParms () const |
int | getParmIndex (const UT_StringRef &name) const |
PRM_Parm & | getParm (int i) |
const PRM_Parm & | getParm (int i) const |
PRM_Parm & | getParm (const UT_StringRef &name) |
const PRM_Parm & | getParm (const UT_StringRef &name) const |
bool | hasParm (const UT_StringRef &name) const |
PRM_Parm * | getParmPtr (const UT_StringRef &name) |
const PRM_Parm * | getParmPtr (const UT_StringRef &name) const |
PRM_Parm * | getParmPtrInst (const char *name, const int *inst, int nestlevel=1) |
const PRM_Parm * | getParmPtrInst (const char *name, const int *inst, int nestlevel=1) const |
virtual bool | changeSpareParms (UT_IStream &ds, UT_String &errors) |
bool | getIsChangingSpareParms () const |
void | deleteAllSpareParms () |
PRM_ParmList * | createObsoleteParmList () override |
void | resolveAndDeleteObsoleteParmList (PRM_ParmList *&obsolete_parms) override |
virtual void | resolveObsoleteParms (PRM_ParmList *) |
virtual void | syncNodeVersion (const char *old_version, const char *current_version, bool *node_deleted) |
bool | getParameterOrPropertyConst (const UT_StringRef &name, fpreal now, OP_Node *&op, PRM_Parm *&parm, PRM_ParmList *obsolete) const |
virtual int | findParametersOrProperties (fpreal now, OP_PropertyLookupList &list) |
const OP_Stat & | getStat () const |
OP_Stat & | getStat () |
bool | enableParm (int pi, int state, int v=-1) |
bool | enableParm (const char *pn, int state, int v=-1) |
bool | enableParmInst (const char *name, const int *inst, int state, int nestlevel=1, int v=-1) |
unsigned | getEnableState (int pi, int v=-1) |
unsigned | getEnableState (const char *pn, int v=-1) |
unsigned | getEnableStateInst (const char *name, const int *inst, int nestlevel=1, int v=-1) |
bool | setVisibleState (int pi, bool state, int v=-1) |
bool | setVisibleState (const char *pn, bool state, int v=-1) |
bool | setVisibleStateInst (const char *name, const int *inst, int state, int nestlevel=1, int v=-1) |
bool | getVisibleState (int pi, int v=-1) |
bool | getVisibleState (const char *pn, int v=-1) |
void | evalString (UT_String &val, int pi, int vi, fpreal t) const |
void | evalString (UT_StringHolder &val, int pi, int vi, fpreal t) const |
void | evalStringT (UT_String &val, int pi, int vi, fpreal t, int thread) const |
void | evalStringT (UT_StringHolder &val, int pi, int vi, fpreal t, int thread) const |
void | evalString (UT_String &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalString (UT_StringHolder &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalStringT (UT_String &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalStringT (UT_StringHolder &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalString (UT_String &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalString (UT_StringHolder &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalStringT (UT_String &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalStringT (UT_StringHolder &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalString (UT_String &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalString (UT_StringHolder &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalStringT (UT_String &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalStringT (UT_StringHolder &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalStringRaw (UT_String &val, int pi, int vi, fpreal t) const |
void | evalStringRaw (UT_StringHolder &val, int pi, int vi, fpreal t) const |
void | evalStringRawT (UT_String &val, int pi, int vi, fpreal t, int thread) const |
void | evalStringRawT (UT_StringHolder &val, int pi, int vi, fpreal t, int thread) const |
void | evalStringRaw (UT_String &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalStringRaw (UT_StringHolder &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalStringRawT (UT_String &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalStringRawT (UT_StringHolder &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalStringRaw (UT_String &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalStringRaw (UT_StringHolder &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalStringRawT (UT_String &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalStringRawT (UT_StringHolder &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalStringRaw (UT_String &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalStringRaw (UT_StringHolder &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalStringRawT (UT_String &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalStringRawT (UT_StringHolder &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
PRM_DataItemHandle | evalData (int pi, int vi, fpreal t) const |
PRM_DataItemHandle | evalDataT (int pi, int vi, fpreal t, int thread) const |
PRM_DataItemHandle | evalData (const UT_StringRef &pn, int vi, fpreal t) const |
PRM_DataItemHandle | evalDataT (const UT_StringRef &pn, int vi, fpreal t, int thread) const |
PRM_DataItemHandle | evalData (const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
PRM_DataItemHandle | evalDataT (const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
PRM_DataItemHandle | evalData (const PRM_Parm *parm, int vi, fpreal t) const |
PRM_DataItemHandle | evalDataT (const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalJSONMap (UT_JSONValueMap &val, int pi, int vi, fpreal t) const |
void | evalJSONMapT (UT_JSONValueMap &val, int pi, int vi, fpreal t, int thread) const |
void | evalJSONMap (UT_JSONValueMap &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalJSONMapT (UT_JSONValueMap &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalJSONMap (UT_JSONValueMap &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalJSONMapT (UT_JSONValueMap &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalJSONMap (UT_JSONValueMap &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalJSONMapT (UT_JSONValueMap &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalJSONMapRaw (UT_JSONValueMap &val, int pi, int vi, fpreal t) const |
void | evalJSONMapRawT (UT_JSONValueMap &val, int pi, int vi, fpreal t, int thread) const |
void | evalJSONMapRaw (UT_JSONValueMap &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalJSONMapRawT (UT_JSONValueMap &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalJSONMapRaw (UT_JSONValueMap &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalJSONMapRawT (UT_JSONValueMap &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalJSONMapRaw (UT_JSONValueMap &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalJSONMapRawT (UT_JSONValueMap &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
CH_StringMeaning | getStringMeaning (int pi, int vi, fpreal t) const |
CH_StringMeaning | getStringMeaning (const char *pn, int vi, fpreal t) const |
CH_StringMeaning | getStringMeaningInst (const char *name, const int *inst, int vi, fpreal t, int nest_level=1) const |
CH_ExprLanguage | getExprLanguage () const override |
void | setExprLanguage (CH_ExprLanguage language) |
void | insertMultiParmItem (const char *pn, int i) |
void | removeMultiParmItem (const char *pn, int i) |
void | updateMultiParmFromRamp (fpreal t, const UT_Ramp &ramp, PRM_Parm &m, bool add_wrap, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | updateRampFromMultiParm (fpreal t, const PRM_Parm &m, UT_Ramp &ramp, bool *time_dep=NULL, DEP_MicroNode *depnode=NULL) const |
bool | convertObsAnimatedToStringExpression (PRM_ParmList *obsolete_parms, const char *pn, int vi, fpreal t, UT_String &result, bool reset_obs) |
bool | expandString (UT_String &val, fpreal t, int thread, const char *channel_name=0) |
virtual int | findString (const char *str, bool fullword, bool usewildcards) const |
virtual int | changeString (const char *from, const char *to, bool fullword) |
bool | isParmDirty (int idx, fpreal t) |
bool | isParmDirty (const char *n, fpreal t) |
bool | isParmDirtyInst (const char *name, const int *inst, fpreal t, int nestlevel=1) |
void | cacheParmValues (const OP_Context &context) |
void | clearParmCache () |
bool | isParmTimeDependent (int idx, int comp=-1) const |
bool | isParmTimeDependent (const char *name, int comp=-1) const |
int | getErrorMessages (UT_String &messages, UT_ErrorSeverity severity=UT_ERROR_NONE) |
virtual void | getRawErrors (UT_Array< UT_Error > &errors, bool update) |
int | findError (const char *type, int code) const |
int | removeError (int idx) |
void | clearDuplicateErrors () |
void | opMessage (int code, const char *m=0) const |
void | opWarning (int code, const char *m=0) const |
void | opError (int code, const char *m=0) const |
void | opFatal (int code, const char *m=0) const |
void | opLocalError (int code, const char *m=0) |
void | opLocalWarning (int code, const char *m=0) |
void | opLocalDeadlockError () |
void | appendError (const char *type, int code, const char *m, UT_ErrorSeverity sev) |
void | clearErrors () |
void | clearErrors (OP_Context &context) |
virtual OP_ERROR | getErrorSeverity () |
exint | getErrorVersion () |
bool | hasDeadlockError () const |
virtual OP_ERROR | error (OP_Context &context) |
bool | hasError (OP_Context &context) |
virtual OP_ERROR | error () |
bool | hasError () |
void | stealErrors (UT_ErrorManager &src, bool borrow_only=false) |
OP_ERROR | getSaveError () |
bool | isGettingSaveError () const |
void | addChannelError (const char *type, int code, const char *msg=0) |
void | chChanged (CH_Channel *ch, CH_CHANGE_TYPE reason) |
virtual void | saveParmsForUndo (bool scopedOnly=false, CH_Collection *collection=NULL) |
void | saveSingleParmForUndo (PRM_Parm *parm) |
void | saveParmForUndo (PRM_Parm *) |
virtual void | saveKeyFrameForUndo (CH_Channel *chp, fpreal gtime) |
virtual void | clearUndoFlags () |
virtual void | setAnyUndoFlag () |
int | getAnyUndoPending () const |
int | canAccess (unsigned mask) const |
bool | canAccess (unsigned mask, const PRM_Parm *parm) const |
bool | canAccessChannel (uint mask, const CH_Channel *chp) const |
void | updateUserMask () |
bool | canModifyFromUI (const PRM_Parm *parm, int vi) const |
virtual int | reloadNewFiles (fpreal time_now) |
void | triggerOPChanged (OP_EventType reason, int index) |
void | parmChanged (int parm_index) |
void | parmExprChanged (int parm_index) |
void | operatorDeleted () |
void | saveParmCommand (std::ostream &os, int values=0, int defaultstoo=1, bool spareparms=true) const |
int | loadParmCommand (int argc, const char *const argv[], int docallbacks, void *data, fpreal now, bool followchrefs, CMD_Args *args) |
void | commandParmCallback (void *data, fpreal now, int argc, char *argv[], CMD_Args *args) |
void | saveMultiParmInstanceCommand (std::ostream &os, const char *opname, bool spareparms) const |
virtual bool | triggerParmCallback (PRM_Parm *parmptr, fpreal now, int value, void *data, const UT_Options *options=0)=0 |
int64 | getMemoryUsage (bool inclusive) const override |
void | bumpTakeReference (int dir) |
int | getTakeReferences () const |
void | createChannelGroupsFromFolders (CH_Group &parent_group, bool only_channels, bool leaf_channels_only=false, bool only_unlocked=true) |
bool | getAutoScopedChannel (PRM_Parm *parm, int vector_index, OP_GetAutoScopedOptions &opts, CH_ChannelRef &chref) |
Returns the scoped channel ref corresponding to a parameter. More... | |
void | getAutoScopedChannels (CH_ChannelRefList &chlist, bool follow_layer_overrides=true, bool include_animated=false, bool follow_channel_refs=true, bool include_autoscope=true) |
void | getAutoScopedChannels (CH_ChannelRefList &chlist, OP_GetAutoScopedOptions &opts) |
void | getChopScopeChannels (UT_WorkBuffer &chopscope_cmd) |
bool | getParmIsVisible (const char *parmname) |
const PRM_Template * | getInterfaceParmTemplates () const |
const PRM_Template * | getSpareParmTemplates () const |
const PRM_ScriptImports * | getSpareParmTemplateImports () const |
const PRM_Template * | getSpareParmLayoutTemplates () const |
const PRM_ScriptImports * | getSpareParmLayoutTemplateImports () const |
int | getSpareParmTemplatesId () const |
int | numSpareInputs () const |
bool | hasMultiparmInfo () const |
OP_MultiparmInfo & | getMultiparmInfo () |
void | initMultiparmInstance (UT_ValArray< PRM_Parm * > &parms) override |
void | addOrRemoveMultiparmInstance () override |
bool | savePresetContents (std::ostream &os) override |
bool | loadPresetContents (const char *tok, UT_IStream &is) override |
void | createParmMicroNode (const UT_StringRef &pn, int *pi) |
virtual bool | getParameterOrProperty (const UT_StringRef &name, fpreal now, OP_Node *&op, PRM_Parm *&parm, bool create_missing_multiparms, PRM_ParmList *obsolete=0) |
virtual bool | getParameterOrPropertyByChannel (const UT_StringRef &chname, fpreal now, OP_Node *&op, PRM_Parm *&parm, int &vector_index, PRM_ParmList *obsolete=0) |
Parameter evaluation | |
| |
exint | evalInt (int pi, int vi, fpreal t) const |
exint | evalIntT (int pi, int vi, fpreal t, int thread) const |
exint | evalInt (const UT_StringRef &pn, int vi, fpreal t) const |
exint | evalIntT (const UT_StringRef &pn, int vi, fpreal t, int thread) const |
exint | evalInt (const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
exint | evalIntT (const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
exint | evalInt (const PRM_Parm *parm, int vi, fpreal t) const |
exint | evalIntT (const PRM_Parm *parm, int vi, fpreal t, int thread) const |
fpreal | evalFloat (int pi, int vi, fpreal t) const |
fpreal | evalFloatT (int pi, int vi, fpreal t, int thread) const |
fpreal | evalFloat (const UT_StringRef &pn, int vi, fpreal t) const |
fpreal | evalFloatT (const UT_StringRef &pn, int vi, fpreal t, int thread) const |
fpreal | evalFloat (const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
fpreal | evalFloatT (const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
fpreal | evalFloat (const PRM_Parm *parm, int vi, fpreal t) const |
fpreal | evalFloatT (const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalFloats (int pi, fpreal64 *v, fpreal t) const |
void | evalFloatsT (int pi, fpreal64 *v, fpreal t, int thread) const |
void | evalFloats (const UT_StringRef &pn, fpreal64 *v, fpreal t) const |
void | evalFloatsT (const UT_StringRef &pn, fpreal64 *v, fpreal t, int thread) const |
void | evalFloats (const UT_StringRef &pn, int *pi, fpreal64 *v, fpreal t) const |
void | evalFloatsT (const UT_StringRef &pn, int *pi, fpreal64 *v, fpreal t, int thread) const |
void | evalFloats (const PRM_Parm *parm, fpreal64 *v, fpreal t) const |
void | evalFloatsT (const PRM_Parm *parm, fpreal64 *v, fpreal t, int thread) const |
void | evalFloatsT (int pi, fpreal32 *v, fpreal t, int thread) const |
void | evalFloats (int pi, fpreal32 *v, fpreal t) const |
void | evalFloatsT (const UT_StringRef &pn, fpreal32 *v, fpreal t, int thread) const |
void | evalFloats (const UT_StringRef &pn, fpreal32 *v, fpreal t) const |
void | evalFloatsT (const UT_StringRef &pn, int *pi, fpreal32 *v, fpreal t, int thread) const |
void | evalFloats (const UT_StringRef &pn, int *pi, fpreal32 *v, fpreal t) const |
void | evalFloatsT (const PRM_Parm *parm, fpreal32 *v, fpreal t, int thread) const |
void | evalFloats (const PRM_Parm *parm, fpreal32 *v, fpreal t) const |
void | evalFloatsInst (const UT_StringRef &name, const int *inst, fpreal32 *v, fpreal t, int nestlevel=1) const |
Multi-Parameter evaluation | |
exint | evalIntInst (const UT_StringRef &name, const int *inst, int vi, fpreal t, int nestlevel=1) const |
exint | evalIntInstT (const UT_StringRef &name, const int *inst, int vi, fpreal t, int thread, int nestlevel=1) const |
fpreal | evalFloatInst (const UT_StringRef &name, const int *inst, int vi, fpreal t, int nestlevel=1) const |
fpreal | evalFloatInstT (const UT_StringRef &name, const int *inst, int vi, fpreal t, int thread, int nestlevel=1) const |
void | evalFloatsInst (const UT_StringRef &name, const int *inst, fpreal64 *v, fpreal t, int nestlevel=1) const |
void | evalFloatsInstT (const UT_StringRef &name, const int *inst, fpreal64 *v, fpreal t, int thread, int nestlevel=1) const |
void | evalStringInst (const UT_StringRef &name, const int *inst, UT_String &val, int vi, fpreal t, int nestlevel=1) const |
void | evalStringInst (const UT_StringRef &name, const int *inst, UT_StringHolder &val, int vi, fpreal t, int nestlevel=1) const |
void | evalStringInstT (const UT_StringRef &name, const int *inst, UT_String &val, int vi, fpreal t, int thread, int nestlevel=1) const |
void | evalStringInstT (const UT_StringRef &name, const int *inst, UT_StringHolder &val, int vi, fpreal t, int thread, int nestlevel=1) const |
void | evalStringInstRaw (const UT_StringRef &name, const int *inst, UT_String &val, int vi, fpreal t, int nestlevel=1) const |
void | evalStringInstRaw (const UT_StringRef &name, const int *inst, UT_StringHolder &val, int vi, fpreal t, int nestlevel=1) const |
void | evalStringInstRawT (const UT_StringRef &name, const int *inst, UT_String &val, int vi, fpreal t, int thread, int nestlevel=1) const |
void | evalStringInstRawT (const UT_StringRef &name, const int *inst, UT_StringHolder &val, int vi, fpreal t, int thread, int nestlevel=1) const |
PRM_DataItemHandle | evalDataInst (const UT_StringRef &name, const int *inst, int vi, fpreal t, int nestlevel=1) const |
PRM_DataItemHandle | evalDataInstT (const UT_StringRef &name, const int *inst, int vi, fpreal t, int thread, int nestlevel=1) const |
void | setIntInst (exint value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setFloatInst (fpreal value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setStringInst (const UT_StringRef &value, CH_StringMeaning meaning, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setDataInst (const PRM_DataItemHandle &value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
Property evaluation | |
Properties will be evaluated if the parameter is not found.
| |
bool | evalParameterOrProperty (const UT_StringRef &parm_name, int vec_index, fpreal now, int &value, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyT (const UT_StringRef &parm_name, int vec_index, fpreal now, int &value, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrProperty (const UT_StringRef &parm_name, int vec_index, fpreal now, fpreal &values, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyT (const UT_StringRef &parm_name, int vec_index, fpreal now, fpreal &values, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrProperty (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyT (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyRaw (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyRawT (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyExpr (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyExprT (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalVectorProperty (const UT_StringRef &parm_name, fpreal now, int *values, int vec_size, PRM_Parm **parmptr=NULL) const |
bool | evalVectorPropertyT (const UT_StringRef &parm_name, fpreal now, int *values, int vec_size, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalVectorProperty (const UT_StringRef &parm_name, fpreal now, fpreal *values, int vec_size, PRM_Parm **parmptr=NULL) const |
bool | evalVectorPropertyT (const UT_StringRef &parm_name, fpreal now, fpreal *values, int vec_size, int thread, PRM_Parm **parmptr=NULL) const |
Setting parameter values | |
| |
void | setInt (int parmi, int vectori, fpreal t, exint value) |
void | setInt (const char *parmname, int vectori, fpreal t, exint value) |
void | setInt (const char *parmname, int &parmi, int vectori, fpreal t, exint value) |
void | setFloat (int parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setFloat (const char *parmname, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setFloat (const char *parmname, int &parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setString (const UT_StringRef &val, CH_StringMeaning meaning, int parmi, int vectori, fpreal t) |
void | setString (const UT_StringRef &val, CH_StringMeaning meaning, const char *parmname, int vectori, fpreal t) |
void | setString (const UT_StringRef &val, CH_StringMeaning meaning, const char *parmname, int &parmi, int vectori, fpreal t) |
void | setData (int parmi, int vectori, fpreal t, const PRM_DataItemHandle &val) |
void | setData (const char *parmname, int vectori, fpreal t, const PRM_DataItemHandle &val) |
void | setData (const char *parmname, int &parmi, int vectori, fpreal t, const PRM_DataItemHandle &val) |
Setting parameter values, following channel references | |
These functions will follow simple channel references first, and then set the value on the destination parameter.
| |
void | setChRefInt (int pi, int vi, fpreal t, exint val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefInt (const char *pn, int vi, fpreal t, exint val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefFloat (int pi, int vi, fpreal t, fpreal val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefFloat (const char *pn, int vi, fpreal t, fpreal val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (const UT_StringRef &val, CH_StringMeaning meaning, int pi, int vi, fpreal t, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (int pi, int vi, fpreal t, const UT_StringRef &val, CH_StringMeaning meaning, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (const UT_StringRef &val, CH_StringMeaning meaning, const char *pn, int vi, fpreal t, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (const char *pn, int vi, fpreal t, const UT_StringRef &val, CH_StringMeaning meaning, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefData (int pi, int vi, fpreal t, const PRM_DataItemHandle &val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefData (const char *pn, int vi, fpreal t, const PRM_DataItemHandle &val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
Setting property values | |
The setParameterOrProperty methods will track down, not only channel references, but also property parameter references. The bool result indicates whether the parameter was actually set. Some possible causes of failure are:
Parameters:
| |
bool | setParameterOrProperty (const char *parm_name, int vec_index, fpreal now, int32 value, bool set_key=false, bool propagate=true) |
bool | setParameterOrProperty (const char *parm_name, int vec_index, fpreal now, int64 value, bool set_key=false, bool propagate=true) |
bool | setParameterOrProperty (const char *parm_name, int vec_index, fpreal now, fpreal value, bool set_key=false, bool propagate=true) |
bool | setParameterOrProperty (const char *parm_name, int vec_index, fpreal now, const char *value, CH_StringMeaning meaning, bool set_key=false, bool propagate=true) |
Setting parameter values silently | |
These methods do not trigger additional events to notify observers
| |
void | setSilentInt (int parmi, int vectori, fpreal t, exint value) |
void | setSilentInt (const char *parmname, int vectori, fpreal t, exint value) |
void | setSilentInt (const char *parmname, int &parmi, int vectori, fpreal t, exint value) |
void | setSilentFloat (int parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setSilentFloat (const char *parmname, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setSilentFloat (const char *parmname, int &parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setSilentString (const UT_StringRef &value, CH_StringMeaning meaning, int parmi, int vectori, fpreal t) |
void | setSilentString (const UT_StringRef &value, CH_StringMeaning meaning, const char *parmname, int vectori, fpreal t) |
void | setSilentString (const UT_StringRef &value, CH_StringMeaning meaning, const char *parmname, int &parmi, int vectori, fpreal t) |
void | setSilentData (int parmi, int vectori, fpreal t, const PRM_DataItemHandle &value) |
void | setSilentData (const char *parmname, int vectori, fpreal t, const PRM_DataItemHandle &value) |
void | setSilentData (const char *parmname, int &parmi, int vectori, fpreal t, const PRM_DataItemHandle &value) |
void | setSilentIntInst (exint value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setSilentFloatInst (fpreal value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setSilentStringInst (const UT_StringRef &value, CH_StringMeaning meaning, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setSilentDataInst (const PRM_DataItemHandle &value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setChRefInt (const char *parmname, int &pi, int vi, fpreal t, exint val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefFloat (const char *parmname, int &pi, int vi, fpreal t, fpreal val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (const UT_StringRef &val, CH_StringMeaning meaning, const char *parmname, int &pi, int vi, fpreal t, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefData (const char *parmname, int &pi, int vi, fpreal t, const PRM_DataItemHandle &val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
Public Member Functions inherited from PRM_ParmOwner | |
virtual OP_Node * | castToOPNode () |
virtual const OP_Node * | castToOPNode () const |
const char * | getFullPath (UT_String &str) const |
const char * | getFullPath (UT_WorkBuffer &str) const |
UT_StringHolder | getFullPath () const |
SYS_FORCE_INLINE PRM_ParmList * | getParmList () |
SYS_FORCE_INLINE const PRM_ParmList * | getParmList () const |
virtual bool | createSpareParametersForLoad (UT_StringArray &, PRM_ParmNameMap &, UT_String &) |
virtual void | executeCommand (const char *command, std::ostream *out, std::ostream *err) const =0 |
virtual SYS_NO_DISCARD_RESULT UT_UniquePtr < PRM_ParmOwnerContext > | pushAsPwd () const =0 |
bool | isPendingOverride () const |
virtual bool | isParmPendingOverride (const char *, int) const |
const char * | getPendingOverrideString () const |
void | setPendingOverrideString (const char *s) |
virtual UT_ErrorSeverity | prmCookOverrides (fpreal, int, const char *, int) |
virtual void | rebuildParmDependency (int parmidx)=0 |
virtual void | clearParmDependency (int parmidx)=0 |
virtual void | convertOpdefToAbsolutePath (UT_String &str) const =0 |
virtual void | spareParmRemoved (const char *parmname)=0 |
virtual PRM_ParmMicroNode * | createParmMicroNodes (PRM_Parm &parm) const |
virtual UT_StringHolder | evaluateDisableExpression (const PRM_Parm &prm, const UT_StringRef &function) const |
virtual const PRM_Parm * | traverseRef (int *sub_idx, fpreal time, int parm_idx, int vec_idx) const =0 |
Static Protected Member Functions | |
static bool | isReservedOpName (const char *name) |
Protected Attributes | |
OP_Channels * | myChannels |
OP_Stat | myStats |
Protected Attributes inherited from PRM_ParmOwner | |
PRM_ParmList * | myParmList |
Friends | |
class | OP_TakeParm |
class | OP_UndoParm |
class | OP_UndoSpareParm |
PRM_Parm * | getParmActivationControl (const UT_StringRef &parm_name) |
static UT_StringHolder | getParmActivationControlName (const UT_StringRef &parm_name) |
Definition at line 157 of file OP_Parameters.h.
|
protected |
|
protected |
|
overrideprotected |
CH_Channel* OP_Parameters::addChannel | ( | const char * | name | ) |
|
overridevirtual |
Implements PRM_ParmOwner.
void OP_Parameters::animate | ( | unsigned | idx | ) |
void OP_Parameters::animate | ( | const char * | name | ) |
|
inline |
appendError() adds a generic error directly to this node's error manager.
Definition at line 1427 of file OP_Parameters.h.
|
static |
|
inlineprotectedvirtual |
Reimplemented in OP_Node, OP_Network, SOP_CaptureLayerPaint, CHOP_Node, and SOP_CaptureOverride.
Definition at line 1770 of file OP_Parameters.h.
Definition at line 1573 of file OP_Parameters.h.
void OP_Parameters::cacheParmValues | ( | const OP_Context & | context | ) |
int OP_Parameters::canAccess | ( | unsigned | mask | ) | const |
bool OP_Parameters::canAccess | ( | unsigned | mask, |
const PRM_Parm * | parm | ||
) | const |
bool OP_Parameters::canAccessChannel | ( | uint | mask, |
const CH_Channel * | chp | ||
) | const |
|
static |
|
virtual |
Reimplemented in OP_Node, and OP_Director.
|
virtual |
Reimplemented in OP_Node, and SOP_CaptureBase.
void OP_Parameters::chChanged | ( | CH_Channel * | ch, |
CH_CHANGE_TYPE | reason | ||
) |
|
inlineprotectedvirtual |
Reimplemented in OP_Node, SOP_Muscle, and OBJ_Muscle.
Definition at line 1772 of file OP_Parameters.h.
|
inlineprotected |
Definition at line 1745 of file OP_Parameters.h.
|
inline |
Definition at line 1394 of file OP_Parameters.h.
|
inline |
Definition at line 1438 of file OP_Parameters.h.
|
inline |
Definition at line 1445 of file OP_Parameters.h.
void OP_Parameters::clearParmCache | ( | ) |
|
virtual |
Reimplemented in OP_Node, OP_Network, and OBJ_Node.
void OP_Parameters::commandParmCallback | ( | void * | data, |
fpreal | now, | ||
int | argc, | ||
char * | argv[], | ||
CMD_Args * | args | ||
) |
bool OP_Parameters::convertObsAnimatedToStringExpression | ( | PRM_ParmList * | obsolete_parms, |
const char * | pn, | ||
int | vi, | ||
fpreal | t, | ||
UT_String & | result, | ||
bool | reset_obs | ||
) |
void OP_Parameters::createChannelGroupsFromFolders | ( | CH_Group & | parent_group, |
bool | only_channels, | ||
bool | leaf_channels_only = false , |
||
bool | only_unlocked = true |
||
) |
This method will create channel groups and populate them with channels from this operator. The channel groups created will correspond to the folders in this operator's parameters. Unless only_channels is specified, all auto-scoped parms will get included.
|
overridevirtual |
Implements PRM_ParmOwner.
void OP_Parameters::createParmMicroNode | ( | const UT_StringRef & | pn, |
int * | pi | ||
) |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in OBJ_Node, OBJ_DopNet, and SHOP_Node.
void OP_Parameters::deAnimate | ( | unsigned | idx | ) |
void OP_Parameters::deAnimate | ( | const char * | name | ) |
void OP_Parameters::deleteAllSpareParms | ( | ) |
int OP_Parameters::destroyChannel | ( | const char * | name | ) |
|
protectedvirtual |
|
overrideprotectedvirtual |
Compute the full path of the node.
Implements PRM_ParmOwner.
bool OP_Parameters::enableParmInst | ( | const char * | name, |
const int * | inst, | ||
int | state, | ||
int | nestlevel = 1 , |
||
int | v = -1 |
||
) |
|
inlineprotectedvirtual |
Ensure that the node errors are up-to-date. This method gives our subclass a chance to insert any errors on-demand.
Reimplemented in VOP_Node.
Definition at line 1822 of file OP_Parameters.h.
|
inlineprotectedvirtual |
Ensure that the spare parameter templates are up-to-date. This method gives our subclass a chance to update the spare parameters on-the-fly before returning them.
Reimplemented in VOP_SubnetBase, VOP_SubnetScript, HDK_Sample::SOP_PrimVOP, and VOPNET_Node.
Definition at line 1827 of file OP_Parameters.h.
|
inlinevirtual |
Reimplemented in COP2_Node.
Definition at line 1462 of file OP_Parameters.h.
|
inlinevirtual |
Reimplemented in COP2_Node.
Definition at line 1483 of file OP_Parameters.h.
|
inline |
Definition at line 675 of file OP_Parameters.h.
|
inline |
Definition at line 678 of file OP_Parameters.h.
|
inline |
Definition at line 683 of file OP_Parameters.h.
|
inline |
Definition at line 688 of file OP_Parameters.h.
|
inline |
Definition at line 866 of file OP_Parameters.h.
PRM_DataItemHandle OP_Parameters::evalDataInstT | ( | const UT_StringRef & | name, |
const int * | inst, | ||
int | vi, | ||
fpreal | t, | ||
int | thread, | ||
int | nestlevel = 1 |
||
) | const |
PRM_DataItemHandle OP_Parameters::evalDataT | ( | int | pi, |
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
PRM_DataItemHandle OP_Parameters::evalDataT | ( | const UT_StringRef & | pn, |
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
PRM_DataItemHandle OP_Parameters::evalDataT | ( | const UT_StringRef & | pn, |
int * | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
PRM_DataItemHandle OP_Parameters::evalDataT | ( | const PRM_Parm * | parm, |
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
Definition at line 475 of file OP_Parameters.h.
|
inline |
Definition at line 478 of file OP_Parameters.h.
|
inline |
Definition at line 483 of file OP_Parameters.h.
Definition at line 488 of file OP_Parameters.h.
|
inline |
Definition at line 793 of file OP_Parameters.h.
fpreal OP_Parameters::evalFloatInstT | ( | const UT_StringRef & | name, |
const int * | inst, | ||
int | vi, | ||
fpreal | t, | ||
int | thread, | ||
int | nestlevel = 1 |
||
) | const |
Definition at line 494 of file OP_Parameters.h.
|
inline |
Definition at line 498 of file OP_Parameters.h.
|
inline |
Definition at line 503 of file OP_Parameters.h.
Definition at line 508 of file OP_Parameters.h.
Definition at line 517 of file OP_Parameters.h.
|
inline |
Definition at line 521 of file OP_Parameters.h.
|
inline |
Definition at line 526 of file OP_Parameters.h.
Definition at line 531 of file OP_Parameters.h.
void OP_Parameters::evalFloatsInst | ( | const UT_StringRef & | name, |
const int * | inst, | ||
fpreal32 * | v, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) | const |
|
inline |
Definition at line 804 of file OP_Parameters.h.
void OP_Parameters::evalFloatsInstT | ( | const UT_StringRef & | name, |
const int * | inst, | ||
fpreal64 * | v, | ||
fpreal | t, | ||
int | thread, | ||
int | nestlevel = 1 |
||
) | const |
void OP_Parameters::evalFloatsT | ( | const UT_StringRef & | pn, |
fpreal64 * | v, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalFloatsT | ( | const UT_StringRef & | pn, |
int * | pi, | ||
fpreal64 * | v, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalFloatsT | ( | const UT_StringRef & | pn, |
fpreal32 * | v, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalFloatsT | ( | const UT_StringRef & | pn, |
int * | pi, | ||
fpreal32 * | v, | ||
fpreal | t, | ||
int | thread | ||
) | const |
fpreal OP_Parameters::evalFloatT | ( | const UT_StringRef & | pn, |
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
fpreal OP_Parameters::evalFloatT | ( | const UT_StringRef & | pn, |
int * | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
Definition at line 458 of file OP_Parameters.h.
|
inline |
Definition at line 461 of file OP_Parameters.h.
|
inline |
Definition at line 465 of file OP_Parameters.h.
Definition at line 470 of file OP_Parameters.h.
|
inline |
Definition at line 782 of file OP_Parameters.h.
exint OP_Parameters::evalIntInstT | ( | const UT_StringRef & | name, |
const int * | inst, | ||
int | vi, | ||
fpreal | t, | ||
int | thread, | ||
int | nestlevel = 1 |
||
) | const |
exint OP_Parameters::evalIntT | ( | const UT_StringRef & | pn, |
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
exint OP_Parameters::evalIntT | ( | const UT_StringRef & | pn, |
int * | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
|
inline |
Definition at line 695 of file OP_Parameters.h.
|
inline |
Definition at line 701 of file OP_Parameters.h.
|
inline |
Definition at line 709 of file OP_Parameters.h.
|
inline |
Definition at line 720 of file OP_Parameters.h.
|
inline |
Definition at line 732 of file OP_Parameters.h.
|
inline |
Definition at line 740 of file OP_Parameters.h.
|
inline |
Definition at line 750 of file OP_Parameters.h.
|
inline |
Definition at line 761 of file OP_Parameters.h.
void OP_Parameters::evalJSONMapRawT | ( | UT_JSONValueMap & | val, |
int | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalJSONMapRawT | ( | UT_JSONValueMap & | val, |
const UT_StringRef & | pn, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalJSONMapRawT | ( | UT_JSONValueMap & | val, |
const UT_StringRef & | pn, | ||
int * | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalJSONMapRawT | ( | UT_JSONValueMap & | val, |
const PRM_Parm * | parm, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalJSONMapT | ( | UT_JSONValueMap & | val, |
int | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalJSONMapT | ( | UT_JSONValueMap & | val, |
const UT_StringRef & | pn, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalJSONMapT | ( | UT_JSONValueMap & | val, |
const UT_StringRef & | pn, | ||
int * | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalJSONMapT | ( | UT_JSONValueMap & | val, |
const PRM_Parm * | parm, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
|
inline |
Definition at line 889 of file OP_Parameters.h.
|
inline |
Definition at line 905 of file OP_Parameters.h.
|
inline |
Definition at line 920 of file OP_Parameters.h.
|
inline |
Definition at line 954 of file OP_Parameters.h.
bool OP_Parameters::evalParameterOrPropertyExprT | ( | const UT_StringRef & | parm_name, |
int | vec_index, | ||
fpreal | now, | ||
UT_String & | value, | ||
int | thread, | ||
PRM_Parm ** | parmptr = NULL |
||
) | const |
|
inline |
Definition at line 936 of file OP_Parameters.h.
bool OP_Parameters::evalParameterOrPropertyRawT | ( | const UT_StringRef & | parm_name, |
int | vec_index, | ||
fpreal | now, | ||
UT_String & | value, | ||
int | thread, | ||
PRM_Parm ** | parmptr = NULL |
||
) | const |
bool OP_Parameters::evalParameterOrPropertyT | ( | const UT_StringRef & | parm_name, |
int | vec_index, | ||
fpreal | now, | ||
int & | value, | ||
int | thread, | ||
PRM_Parm ** | parmptr = NULL |
||
) | const |
bool OP_Parameters::evalParameterOrPropertyT | ( | const UT_StringRef & | parm_name, |
int | vec_index, | ||
fpreal | now, | ||
fpreal & | values, | ||
int | thread, | ||
PRM_Parm ** | parmptr = NULL |
||
) | const |
bool OP_Parameters::evalParameterOrPropertyT | ( | const UT_StringRef & | parm_name, |
int | vec_index, | ||
fpreal | now, | ||
UT_String & | value, | ||
int | thread, | ||
PRM_Parm ** | parmptr = NULL |
||
) | const |
Definition at line 542 of file OP_Parameters.h.
|
inline |
Definition at line 545 of file OP_Parameters.h.
|
inline |
Definition at line 552 of file OP_Parameters.h.
|
inline |
Definition at line 556 of file OP_Parameters.h.
|
inline |
Definition at line 566 of file OP_Parameters.h.
|
inline |
Definition at line 573 of file OP_Parameters.h.
|
inline |
Definition at line 586 of file OP_Parameters.h.
|
inline |
Definition at line 592 of file OP_Parameters.h.
|
inline |
Definition at line 816 of file OP_Parameters.h.
|
inline |
Definition at line 824 of file OP_Parameters.h.
|
inline |
Definition at line 840 of file OP_Parameters.h.
|
inline |
Definition at line 848 of file OP_Parameters.h.
void OP_Parameters::evalStringInstRawT | ( | const UT_StringRef & | name, |
const int * | inst, | ||
UT_String & | val, | ||
int | vi, | ||
fpreal | t, | ||
int | thread, | ||
int | nestlevel = 1 |
||
) | const |
void OP_Parameters::evalStringInstRawT | ( | const UT_StringRef & | name, |
const int * | inst, | ||
UT_StringHolder & | val, | ||
int | vi, | ||
fpreal | t, | ||
int | thread, | ||
int | nestlevel = 1 |
||
) | const |
void OP_Parameters::evalStringInstT | ( | const UT_StringRef & | name, |
const int * | inst, | ||
UT_String & | val, | ||
int | vi, | ||
fpreal | t, | ||
int | thread, | ||
int | nestlevel = 1 |
||
) | const |
void OP_Parameters::evalStringInstT | ( | const UT_StringRef & | name, |
const int * | inst, | ||
UT_StringHolder & | val, | ||
int | vi, | ||
fpreal | t, | ||
int | thread, | ||
int | nestlevel = 1 |
||
) | const |
Definition at line 604 of file OP_Parameters.h.
|
inline |
Definition at line 610 of file OP_Parameters.h.
|
inline |
Definition at line 620 of file OP_Parameters.h.
|
inline |
Definition at line 627 of file OP_Parameters.h.
|
inline |
Definition at line 640 of file OP_Parameters.h.
|
inline |
Definition at line 646 of file OP_Parameters.h.
|
inline |
Definition at line 658 of file OP_Parameters.h.
|
inline |
Definition at line 664 of file OP_Parameters.h.
void OP_Parameters::evalStringRawT | ( | UT_StringHolder & | val, |
int | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringRawT | ( | UT_String & | val, |
const UT_StringRef & | pn, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringRawT | ( | UT_StringHolder & | val, |
const UT_StringRef & | pn, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringRawT | ( | UT_String & | val, |
const UT_StringRef & | pn, | ||
int * | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringRawT | ( | UT_StringHolder & | val, |
const UT_StringRef & | pn, | ||
int * | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringRawT | ( | UT_String & | val, |
const PRM_Parm * | parm, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringRawT | ( | UT_StringHolder & | val, |
const PRM_Parm * | parm, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringT | ( | UT_StringHolder & | val, |
int | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringT | ( | UT_String & | val, |
const UT_StringRef & | pn, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringT | ( | UT_StringHolder & | val, |
const UT_StringRef & | pn, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringT | ( | UT_String & | val, |
const UT_StringRef & | pn, | ||
int * | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringT | ( | UT_StringHolder & | val, |
const UT_StringRef & | pn, | ||
int * | pi, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringT | ( | UT_String & | val, |
const PRM_Parm * | parm, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
void OP_Parameters::evalStringT | ( | UT_StringHolder & | val, |
const PRM_Parm * | parm, | ||
int | vi, | ||
fpreal | t, | ||
int | thread | ||
) | const |
Reimplemented in COP2_Node, VOP_Node, ROP_Node, LOP_Node, OBJ_Node, SOP_Node, DOP_Node, SHOP_Node, CHOP_Channel, HDK_Sample::CHOP_Stair, OBJ_DopNet, SOP_UVTransform, HDK_Sample::CHOP_Spring, HDK_Sample::SOP_PrimVOP, ROP_Dop, SOP_MDD, VOPNET_Node, DOP_SubNet, and DOP_Auto.
Reimplemented in COP2_Node, VOP_Node, ROP_Node, LOP_Node, OBJ_Node, SOP_Node, DOP_Node, SHOP_Node, CHOP_Channel, OBJ_DopNet, HDK_Sample::CHOP_Stair, SOP_UVTransform, HDK_Sample::SOP_PrimVOP, HDK_Sample::CHOP_Spring, ROP_Dop, VOPNET_Node, DOP_SubNet, SOP_MDD, and DOP_Auto.
|
inline |
Definition at line 973 of file OP_Parameters.h.
|
inline |
Definition at line 989 of file OP_Parameters.h.
bool OP_Parameters::evalVectorPropertyT | ( | const UT_StringRef & | parm_name, |
fpreal | now, | ||
int * | values, | ||
int | vec_size, | ||
int | thread, | ||
PRM_Parm ** | parmptr = NULL |
||
) | const |
bool OP_Parameters::evalVectorPropertyT | ( | const UT_StringRef & | parm_name, |
fpreal | now, | ||
fpreal * | values, | ||
int | vec_size, | ||
int | thread, | ||
PRM_Parm ** | parmptr = NULL |
||
) | const |
bool OP_Parameters::expandString | ( | UT_String & | val, |
fpreal | t, | ||
int | thread, | ||
const char * | channel_name = 0 |
||
) |
Expand expressions within string value.
This method will expand backtick expressions and local/global variables by modifying the input string. Always use this method instead of calling CH_Manager::expandString() directly within node evaluation code paths in order to establish proper node dependencies.
channel_name | Channel name of the parameter from where val was obtained from. This is important for establishing data and time dependencies. |
Definition at line 1382 of file OP_Parameters.h.
|
virtual |
|
virtual |
Reimplemented in OP_Node.
|
inlinestatic |
Definition at line 370 of file OP_Parameters.h.
|
inlinestatic |
Definition at line 402 of file OP_Parameters.h.
|
inlinestatic |
Definition at line 356 of file OP_Parameters.h.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 379 of file OP_Parameters.h.
|
static |
|
inline |
Definition at line 1525 of file OP_Parameters.h.
bool OP_Parameters::getAutoScopedChannel | ( | PRM_Parm * | parm, |
int | vector_index, | ||
OP_GetAutoScopedOptions & | opts, | ||
CH_ChannelRef & | chref | ||
) |
Returns the scoped channel ref corresponding to a parameter.
void OP_Parameters::getAutoScopedChannels | ( | CH_ChannelRefList & | chlist, |
bool | follow_layer_overrides = true , |
||
bool | include_animated = false , |
||
bool | follow_channel_refs = true , |
||
bool | include_autoscope = true |
||
) |
Returns a list of the autoscopeable channels for this node. if follow_layer_overrides is true, the channel references are followed but only for animation layers. if include_animated is true, channels without the auto scope flag but with animation will also be returned.
void OP_Parameters::getAutoScopedChannels | ( | CH_ChannelRefList & | chlist, |
OP_GetAutoScopedOptions & | opts | ||
) |
Returns a list of the autoscopeable channels for this node. The options are passed as a OP_GetAutoScopedOptions
CH_Channel* OP_Parameters::getChannel | ( | const char * | name | ) |
const CH_Channel* OP_Parameters::getChannel | ( | const char * | name | ) | const |
|
inline |
Definition at line 225 of file OP_Parameters.h.
PRM_ChanState OP_Parameters::getChanState | ( | fpreal | t, |
bool | scoped_only | ||
) | const |
void OP_Parameters::getChopScopeChannels | ( | UT_WorkBuffer & | chopscope_cmd | ) |
unsigned OP_Parameters::getEnableState | ( | const char * | pn, |
int | v = -1 |
||
) |
unsigned OP_Parameters::getEnableStateInst | ( | const char * | name, |
const int * | inst, | ||
int | nestlevel = 1 , |
||
int | v = -1 |
||
) |
|
inline |
Definition at line 1368 of file OP_Parameters.h.
|
virtual |
Reimplemented in VOP_Node, OP_Network, and COP2_Node.
exint OP_Parameters::getErrorVersion | ( | ) |
|
overridevirtual |
Implements PRM_ParmOwner.
|
inlineprotectedvirtual |
Reimplemented in OP_Node.
Definition at line 1818 of file OP_Parameters.h.
const PRM_Template* OP_Parameters::getInterfaceParmTemplates | ( | ) | const |
|
inline |
Definition at line 291 of file OP_Parameters.h.
|
static |
|
inlineprotected |
Definition at line 1734 of file OP_Parameters.h.
|
overridevirtual |
Reimplemented from PRM_ParmOwner.
Reimplemented in SOP_Node.
OP_MultiparmInfo& OP_Parameters::getMultiparmInfo | ( | ) |
|
inline |
Definition at line 161 of file OP_Parameters.h.
|
inline |
Definition at line 244 of file OP_Parameters.h.
|
inline |
Definition at line 164 of file OP_Parameters.h.
|
virtual |
Track down the parameter associated with a given property
Reimplemented in VOP_Node, OBJ_Node, and VOP_Collect.
|
virtual |
Track down the parameter associated with a given property
Reimplemented in VOP_Node, OBJ_Node, and VOP_Collect.
|
inline |
This just calls getParameterOrProperty() with create_missing_multiparms=false and allows for const correctness.
Definition at line 336 of file OP_Parameters.h.
Definition at line 248 of file OP_Parameters.h.
Definition at line 254 of file OP_Parameters.h.
|
inline |
Definition at line 260 of file OP_Parameters.h.
|
inline |
Definition at line 266 of file OP_Parameters.h.
PRM_Parm* OP_Parameters::getParmActivationControl | ( | const UT_StringRef & | parm_name | ) |
Returns the parameter that controls the activation state of the parameter by the given name.
|
static |
Returns the parameter that controls the activation state of the parameter by the given name.
|
inline |
Definition at line 246 of file OP_Parameters.h.
bool OP_Parameters::getParmIsVisible | ( | const char * | parmname | ) |
|
inline |
Definition at line 274 of file OP_Parameters.h.
|
inline |
Definition at line 276 of file OP_Parameters.h.
const PRM_Parm* OP_Parameters::getParmPtrInst | ( | const char * | name, |
const int * | inst, | ||
int | nestlevel = 1 |
||
) | const |
Reimplemented in OP_Network.
OP_ERROR OP_Parameters::getSaveError | ( | ) |
const PRM_ScriptImports* OP_Parameters::getSpareParmLayoutTemplateImports | ( | ) | const |
const PRM_Template* OP_Parameters::getSpareParmLayoutTemplates | ( | ) | const |
const PRM_ScriptImports* OP_Parameters::getSpareParmTemplateImports | ( | ) | const |
const PRM_Template* OP_Parameters::getSpareParmTemplates | ( | ) | const |
int OP_Parameters::getSpareParmTemplatesId | ( | ) | const |
|
inline |
Definition at line 420 of file OP_Parameters.h.
|
inline |
Definition at line 421 of file OP_Parameters.h.
CH_StringMeaning OP_Parameters::getStringMeaning | ( | int | pi, |
int | vi, | ||
fpreal | t | ||
) | const |
CH_StringMeaning OP_Parameters::getStringMeaning | ( | const char * | pn, |
int | vi, | ||
fpreal | t | ||
) | const |
CH_StringMeaning OP_Parameters::getStringMeaningInst | ( | const char * | name, |
const int * | inst, | ||
int | vi, | ||
fpreal | t, | ||
int | nest_level = 1 |
||
) | const |
|
inline |
Definition at line 1575 of file OP_Parameters.h.
|
static |
|
static |
|
protected |
|
protected |
bool OP_Parameters::getVisibleState | ( | const char * | pn, |
int | v = -1 |
||
) |
|
inline |
Definition at line 1456 of file OP_Parameters.h.
|
inline |
Definition at line 1481 of file OP_Parameters.h.
|
inline |
Definition at line 1502 of file OP_Parameters.h.
bool OP_Parameters::hasMultiparmInfo | ( | ) | const |
|
inline |
Definition at line 272 of file OP_Parameters.h.
|
protected |
|
overridevirtual |
Implements PRM_ParmOwner.
|
inline |
Definition at line 220 of file OP_Parameters.h.
|
inline |
Definition at line 1507 of file OP_Parameters.h.
|
static |
bool OP_Parameters::isObsoleteChannel | ( | const char * | name | ) | const |
bool OP_Parameters::isParmDirty | ( | const char * | n, |
fpreal | t | ||
) |
bool OP_Parameters::isParmDirtyInst | ( | const char * | name, |
const int * | inst, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) |
Query if a parameter is time dependent, by parm index. If comp == -1, any vector component that is time dependent will return true for the parm.
bool OP_Parameters::isParmTimeDependent | ( | const char * | name, |
int | comp = -1 |
||
) | const |
Query if a parameter is time dependent, by parm name. If comp == -1, any vector component that is time dependent will return true for the parm.
bool OP_Parameters::isPending | ( | fpreal | t | ) |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
int OP_Parameters::loadParmCommand | ( | int | argc, |
const char *const | argv[], | ||
int | docallbacks, | ||
void * | data, | ||
fpreal | now, | ||
bool | followchrefs, | ||
CMD_Args * | args | ||
) |
|
overridevirtual |
Implements PRM_ParmOwner.
int OP_Parameters::numSpareInputs | ( | ) | const |
The number of potential spare inputs created by spare parameters. These are spare_input0 and onwards. There may be holes.
|
protectedpure virtual |
void OP_Parameters::operatorDeleted | ( | ) |
Definition at line 1404 of file OP_Parameters.h.
Definition at line 1406 of file OP_Parameters.h.
|
inline |
Definition at line 1419 of file OP_Parameters.h.
Definition at line 1409 of file OP_Parameters.h.
Definition at line 1414 of file OP_Parameters.h.
Definition at line 1400 of file OP_Parameters.h.
Definition at line 1402 of file OP_Parameters.h.
|
protectedvirtual |
Reimplemented in OP_Node.
|
inlineprotectedvirtual |
Reimplemented in VOP_Node.
Definition at line 1724 of file OP_Parameters.h.
|
virtual |
|
virtual |
Reference a single parameter from the from
node. This builds a channel reference for the given parameter index. If the relative_path
isn't specified, it will be computed as
Reimplemented in ROP_Node.
Definition at line 1388 of file OP_Parameters.h.
|
protectedvirtual |
|
protected |
|
overridevirtual |
Implements PRM_ParmOwner.
|
inlinevirtual |
Reimplemented in SOP_Edit, OBJ_Node, OBJ_Fetch, SOP_UVTransform, OBJ_Blend, OBJ_Light, VOPNET_Node, OBJ_Microphone, OBJ_Sound, SOP_CaptureBase, OBJ_Handle, OBJ_Geometry, DOP_Auto, and SOP_CaptureRegion.
Definition at line 305 of file OP_Parameters.h.
|
protected |
|
virtual |
void OP_Parameters::saveMultiParmInstanceCommand | ( | std::ostream & | os, |
const char * | opname, | ||
bool | spareparms | ||
) | const |
|
protected |
void OP_Parameters::saveParmCommand | ( | std::ostream & | os, |
int | values = 0 , |
||
int | defaultstoo = 1 , |
||
bool | spareparms = true |
||
) | const |
|
virtual |
|
overridevirtual |
Implements PRM_ParmOwner.
|
static |
void OP_Parameters::setChRefData | ( | int | pi, |
int | vi, | ||
fpreal | t, | ||
const PRM_DataItemHandle & | val, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setChRefData | ( | const char * | pn, |
int | vi, | ||
fpreal | t, | ||
const PRM_DataItemHandle & | val, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setChRefData | ( | const char * | parmname, |
int & | pi, | ||
int | vi, | ||
fpreal | t, | ||
const PRM_DataItemHandle & | val, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setChRefFloat | ( | int | pi, |
int | vi, | ||
fpreal | t, | ||
fpreal | val, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setChRefFloat | ( | const char * | pn, |
int | vi, | ||
fpreal | t, | ||
fpreal | val, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setChRefFloat | ( | const char * | parmname, |
int & | pi, | ||
int | vi, | ||
fpreal | t, | ||
fpreal | val, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setChRefInt | ( | int | pi, |
int | vi, | ||
fpreal | t, | ||
exint | val, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setChRefInt | ( | const char * | pn, |
int | vi, | ||
fpreal | t, | ||
exint | val, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setChRefInt | ( | const char * | parmname, |
int & | pi, | ||
int | vi, | ||
fpreal | t, | ||
exint | val, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setChRefString | ( | const UT_StringRef & | val, |
CH_StringMeaning | meaning, | ||
int | pi, | ||
int | vi, | ||
fpreal | t, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
|
inline |
Definition at line 1093 of file OP_Parameters.h.
void OP_Parameters::setChRefString | ( | const UT_StringRef & | val, |
CH_StringMeaning | meaning, | ||
const char * | pn, | ||
int | vi, | ||
fpreal | t, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
|
inline |
Definition at line 1111 of file OP_Parameters.h.
void OP_Parameters::setChRefString | ( | const UT_StringRef & | val, |
CH_StringMeaning | meaning, | ||
const char * | parmname, | ||
int & | pi, | ||
int | vi, | ||
fpreal | t, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setData | ( | int | parmi, |
int | vectori, | ||
fpreal | t, | ||
const PRM_DataItemHandle & | val | ||
) |
void OP_Parameters::setData | ( | const char * | parmname, |
int | vectori, | ||
fpreal | t, | ||
const PRM_DataItemHandle & | val | ||
) |
void OP_Parameters::setData | ( | const char * | parmname, |
int & | parmi, | ||
int | vectori, | ||
fpreal | t, | ||
const PRM_DataItemHandle & | val | ||
) |
void OP_Parameters::setDataInst | ( | const PRM_DataItemHandle & | value, |
const char * | parmname, | ||
const int * | inst, | ||
int | vectori, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) |
void OP_Parameters::setExprLanguage | ( | CH_ExprLanguage | language | ) |
void OP_Parameters::setFloat | ( | int | parmi, |
int | vectori, | ||
fpreal | t, | ||
fpreal | value, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING |
||
) |
void OP_Parameters::setFloat | ( | const char * | parmname, |
int | vectori, | ||
fpreal | t, | ||
fpreal | value, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING |
||
) |
void OP_Parameters::setFloat | ( | const char * | parmname, |
int & | parmi, | ||
int | vectori, | ||
fpreal | t, | ||
fpreal | value, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING |
||
) |
void OP_Parameters::setFloatInst | ( | fpreal | value, |
const char * | parmname, | ||
const int * | inst, | ||
int | vectori, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) |
void OP_Parameters::setInt | ( | const char * | parmname, |
int & | parmi, | ||
int | vectori, | ||
fpreal | t, | ||
exint | value | ||
) |
void OP_Parameters::setIntInst | ( | exint | value, |
const char * | parmname, | ||
const int * | inst, | ||
int | vectori, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) |
bool OP_Parameters::setParameterOrProperty | ( | const char * | parm_name, |
int | vec_index, | ||
fpreal | now, | ||
int32 | value, | ||
bool | set_key = false , |
||
bool | propagate = true |
||
) |
bool OP_Parameters::setParameterOrProperty | ( | const char * | parm_name, |
int | vec_index, | ||
fpreal | now, | ||
int64 | value, | ||
bool | set_key = false , |
||
bool | propagate = true |
||
) |
bool OP_Parameters::setParameterOrProperty | ( | const char * | parm_name, |
int | vec_index, | ||
fpreal | now, | ||
fpreal | value, | ||
bool | set_key = false , |
||
bool | propagate = true |
||
) |
bool OP_Parameters::setParameterOrProperty | ( | const char * | parm_name, |
int | vec_index, | ||
fpreal | now, | ||
const char * | value, | ||
CH_StringMeaning | meaning, | ||
bool | set_key = false , |
||
bool | propagate = true |
||
) |
void OP_Parameters::setSilentData | ( | int | parmi, |
int | vectori, | ||
fpreal | t, | ||
const PRM_DataItemHandle & | value | ||
) |
void OP_Parameters::setSilentData | ( | const char * | parmname, |
int | vectori, | ||
fpreal | t, | ||
const PRM_DataItemHandle & | value | ||
) |
void OP_Parameters::setSilentData | ( | const char * | parmname, |
int & | parmi, | ||
int | vectori, | ||
fpreal | t, | ||
const PRM_DataItemHandle & | value | ||
) |
void OP_Parameters::setSilentDataInst | ( | const PRM_DataItemHandle & | value, |
const char * | parmname, | ||
const int * | inst, | ||
int | vectori, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) |
void OP_Parameters::setSilentFloat | ( | int | parmi, |
int | vectori, | ||
fpreal | t, | ||
fpreal | value, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING |
||
) |
void OP_Parameters::setSilentFloat | ( | const char * | parmname, |
int | vectori, | ||
fpreal | t, | ||
fpreal | value, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING |
||
) |
void OP_Parameters::setSilentFloat | ( | const char * | parmname, |
int & | parmi, | ||
int | vectori, | ||
fpreal | t, | ||
fpreal | value, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING |
||
) |
void OP_Parameters::setSilentFloatInst | ( | fpreal | value, |
const char * | parmname, | ||
const int * | inst, | ||
int | vectori, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) |
void OP_Parameters::setSilentInt | ( | const char * | parmname, |
int & | parmi, | ||
int | vectori, | ||
fpreal | t, | ||
exint | value | ||
) |
void OP_Parameters::setSilentIntInst | ( | exint | value, |
const char * | parmname, | ||
const int * | inst, | ||
int | vectori, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) |
void OP_Parameters::setSilentString | ( | const UT_StringRef & | value, |
CH_StringMeaning | meaning, | ||
int | parmi, | ||
int | vectori, | ||
fpreal | t | ||
) |
void OP_Parameters::setSilentString | ( | const UT_StringRef & | value, |
CH_StringMeaning | meaning, | ||
const char * | parmname, | ||
int | vectori, | ||
fpreal | t | ||
) |
void OP_Parameters::setSilentString | ( | const UT_StringRef & | value, |
CH_StringMeaning | meaning, | ||
const char * | parmname, | ||
int & | parmi, | ||
int | vectori, | ||
fpreal | t | ||
) |
void OP_Parameters::setSilentStringInst | ( | const UT_StringRef & | value, |
CH_StringMeaning | meaning, | ||
const char * | parmname, | ||
const int * | inst, | ||
int | vectori, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) |
void OP_Parameters::setString | ( | const UT_StringRef & | val, |
CH_StringMeaning | meaning, | ||
int | parmi, | ||
int | vectori, | ||
fpreal | t | ||
) |
void OP_Parameters::setString | ( | const UT_StringRef & | val, |
CH_StringMeaning | meaning, | ||
const char * | parmname, | ||
int | vectori, | ||
fpreal | t | ||
) |
void OP_Parameters::setString | ( | const UT_StringRef & | val, |
CH_StringMeaning | meaning, | ||
const char * | parmname, | ||
int & | parmi, | ||
int | vectori, | ||
fpreal | t | ||
) |
void OP_Parameters::setStringInst | ( | const UT_StringRef & | value, |
CH_StringMeaning | meaning, | ||
const char * | parmname, | ||
const int * | inst, | ||
int | vectori, | ||
fpreal | t, | ||
int | nestlevel = 1 |
||
) |
bool OP_Parameters::setVisibleState | ( | const char * | pn, |
bool | state, | ||
int | v = -1 |
||
) |
bool OP_Parameters::setVisibleStateInst | ( | const char * | name, |
const int * | inst, | ||
int | state, | ||
int | nestlevel = 1 , |
||
int | v = -1 |
||
) |
void OP_Parameters::stealErrors | ( | UT_ErrorManager & | src, |
bool | borrow_only = false |
||
) |
|
protected |
|
protected |
|
inlinevirtual |
Sync the node assuming that it is currently at old_version to the current_version.
Reimplemented in OP_Node, SOP_Edit, DOP_Auto, OBJ_Null, SOP_UVFlatten, SOP_UVLayout, SOP_Cache, SOP_AttribComp, SOP_BlendShapes2, SOP_Circle, and SOP_PolyExtrude2.
Definition at line 310 of file OP_Parameters.h.
void OP_Parameters::takeActivateParm | ( | const char * | name, |
bool | enable = true |
||
) |
Implements PRM_ParmOwner.
Definition at line 202 of file OP_Parameters.h.
|
inline |
Definition at line 204 of file OP_Parameters.h.
Definition at line 206 of file OP_Parameters.h.
bool OP_Parameters::takeIsActiveParm | ( | uint | idx | ) |
bool OP_Parameters::takeIsActiveParm | ( | const char * | name | ) |
bool OP_Parameters::takeIsActiveParm | ( | const PRM_Parm * | parm | ) |
|
protectedvirtual |
This is a helper method to the setChannelScope method. It traverses the node's parameters and sets the scope on them according to the given pattern.
Reimplemented in OP_Network.
void OP_Parameters::triggerOPChanged | ( | OP_EventType | reason, |
int | index | ||
) |
|
pure virtual |
Implemented in OP_Node.
void OP_Parameters::updateMultiParmFromRamp | ( | fpreal | t, |
const UT_Ramp & | ramp, | ||
PRM_Parm & | m, | ||
bool | add_wrap, | ||
PRM_AddKeyType | add_key = PRM_AK_MARK_PENDING |
||
) |
updateMultiParmFromRamp() will follow simple channel references as necessary
|
protected |
|
protected |
|
protected |
bool OP_Parameters::updateParmsAndSpareParmsFlags | ( | ) |
|
inlineprotectedvirtual |
Reimplemented in VOP_Node, OBJ_Node, CHOP_Node, SHOP_Node, OBJ_DopNet, SOP_Edit, DOP_OpenCLMergeVDB, ROP_Node, COP2_Generator, DOP_Auto, DOP_OpenCLEnforceBoundary, OBJ_Null, SOP_CaptureLayerPaint, OBJ_Fetch, SOP_Muscle, SOP_BlockEndFor, OBJ_Muscle, OBJ_Handle, VOP_ScriptNode, VOP_Parameter, SOP_Paint, SOP_SlideModifierPaint, OBJ_Rivet, SOP_UVBrush, VOP_Visualize, SOP_Comb, VOP_OutputVar, VOP_SubnetBase, VOP_Bind, SOP_UVEdit, OBJ_Blend, COP2_MaskOp, VOP_SubnetConnector, OBJ_Microphone, SOP_UVTransform, HDK_Sample::CHOP_Stair, OBJ_Sound, SOP_Capture, SOP_UVPelt2, HDK_Sample::CHOP_Spring, COP2_ColorCurve, ROP_Dop, SOP_Stroke, SOP_UVFlatten, COP2_PixelBase, SOP_UVPelt, SOP_UVLayout, HDK_Sample::SOP_Flatten, VOP_Properties, HDK_Sample::CHOP_Blend, SOP_Cache, HDK_Sample::SOP_CopRaster, COP2_PixelOp, SOP_AttribComp, SOP_CaptureOverride, VOP_Constant, HDK_Sample::VOP_Switch, VOP_GenericShader, COP2_LumaKey, COP2_Ramp, HDK_Sample::SOP_HDKObject, CHOP_Channel, SOP_Lattice, COP2_RotoShape, SOP_UVFuse, SOP_BlendShapes2, DOP_SubNetOutput, SOP_PolyBridge, SOP_BlendShapes, DOP_AutoRelType, DOP_AutoSolver, SOP_PolyKnit, SOP_ForEach, SOP_BlockBeginFor, and SOP_Each.
Definition at line 1723 of file OP_Parameters.h.
void OP_Parameters::updateRampFromMultiParm | ( | fpreal | t, |
const PRM_Parm & | m, | ||
UT_Ramp & | ramp, | ||
bool * | time_dep = NULL , |
||
DEP_MicroNode * | depnode = NULL |
||
) | const |
void OP_Parameters::updateUserMask | ( | ) |
|
friend |
Definition at line 1952 of file OP_Parameters.h.
|
friend |
Definition at line 1953 of file OP_Parameters.h.
|
friend |
Definition at line 1954 of file OP_Parameters.h.
|
protected |
Definition at line 1829 of file OP_Parameters.h.
|
protected |
Definition at line 1830 of file OP_Parameters.h.