|
const UT_String & | getName () const |
|
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 | evalStringRawT (UT_String &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 | evalStringRawT (UT_String &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 | evalStringRawT (UT_String &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 | evalStringRawT (UT_String &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) |
|
virtual OP_ERROR | error () |
|
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) |
|
|
- int pi
Parameter index
- const char *pn
Parameter name token
- int *pi
Parameter index passed by reference, looked up using 'pn'
- PRM_Parm *parm
Parameter by reference
- int vi
Component index of a parameter
- fpreal t
Evaluation time
- int thread
Thread id (ie. return value from SYSgetSTID())
|
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 |
|
|
- name
Parameter name token
- inst
Array of instance indices to evaluate at
- vectori
Component index of a parameter
- t
Evaluation time
- nestlevel
Number of entries in 'inst'
- value
Value to set
|
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 | evalStringInstRawT (const UT_StringRef &name, const int *inst, UT_String &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) |
|
|
Properties will be evaluated if the parameter is not found.
- parm_name
Parameter name token
- vec_index
Component index of a parameter
- now
Evaluation time
- thread
Thread id (ie. return value from SYSgetSTID())
- parmptr
optional source parameter return value
|
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 |
|
|
- parmi
Parameter index
- parmname
Parameter name string
- vectori
Component index of a parameter
- t
Evaluation time
- value
Value to set
- h
If true, it will set a keyframe if the parameter has a channel. If false, then the value will need to committed first.
|
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) |
|
|
These functions will follow simple channel references first, and then set the value on the destination parameter.
- pi
Parameter index
- pn
Parameter name string
- vi
Component index of a parameter
- t
Time at which to set the value
- val
Value to set
- add_key
If PRM_AK_SET_KEY, it will set a keyframe if the parameter has a channel and the current value differs. If PRM_AK_FORCE_KEY, it will set a keyframe if the parameter has a channel regardless of the current value. If PRM_AK_MARK_PENDING, then the value will need to be committed first.
- propagate
If true, it notify observers
- thread
Thread id (ie. return value from SYSgetSTID())
|
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) |
|
|
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:
- Parameter or property not found
- Permissions error
- Locked parameter
- Out of bounds vector index
Parameters:
- parm_name
Parameter name string
- vec_index
Component index of a parameter
- now
Time at which to set the value
- val
Value to set
- set_key
If true, it will set a keyframe if the parameter has a channel. If false, then the value will need to committed first.
- propagate
If true, it notify observers
|
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) |
|
|
These methods do not trigger additional events to notify observers
- int pi
Parameter index
- const char *pn
Parameter name string
- int &pi
Parameter index, returned from 'pn' lookup
- int vi
Component index of a parameter
- fpreal t
Time at which to set the value
- value
Value to set
|
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) |
|
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 void | pushAsPwdAndRunPython (PY_CompiledCode &compiled_code, PY_Result::Type desired_result_type, PY_Result &result, PY_EvaluationContext *context=NULL) 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 |
|