|
| ~OP_ScriptOperator () override |
|
bool | hasLoadedParmTemplates () const override |
|
int | updateParmTemplates () override |
|
void | forceUpdateParmTemplates () override |
|
void | getScriptName (UT_String &name, bool forvex, bool for_python=false, const char *section_name=NULL) const |
|
void | getScriptFunctionName (UT_String &name) const |
|
virtual UT_StringArray | getScriptSignatureFunctions () const |
|
void | getScriptSecondaryFunctionsNames (UT_StringMap< UT_StringHolder > &functions) const |
|
bool | hasExplicitScriptSection (VEX_ContextType context_type) |
|
bool | hasCachedCode () |
| Returns true if the operator has cached code. More...
|
|
void | resetTemplate (OP_TemplatePair *pair) |
|
int | buildVexCommand (UT_String &result, OP_Node *node, fpreal now) |
|
void | buildIndexEntry (UT_String &result, const UT_String &dsloc) |
|
int | traverseCommand (OP_Node *node, OP_ScriptParmFunc traverseFunc, void *data, fpreal now) |
|
virtual int | handleUnknownToken (DS_Stream &is, UT_String &token) |
|
UT_String & | getScriptHelp () |
|
const char * | getOperatorShortHelpString () override |
|
void | getOperatorSpecificInfoText (int verbose, UT_WorkBuffer &text) override |
|
void | fillInfoTreeOperatorSpecific (UT_InfoTree &tree, const OP_NodeInfoTreeParms &parms) override |
|
void | editScriptFile (const char *pathprefix, const char *context="surface", const char *extension=".vfl", const char *title="VEX Function", const char **obj_extensions=0, int localdir=1) |
|
PY_CompiledCode * | getCachedCompiledPythonCookCode () |
|
bool | isCompiledPythonCookCodeCached () |
|
void | clearOTLIndexFile () override |
|
void | dirtyParmTemplates () |
|
fpreal | getUnitLength () const |
|
fpreal | getUnitMass () const |
|
| OP_Operator (const char *name, const char *english, OP_Constructor construct, PRM_Template *templates, unsigned min_sources, unsigned max_sources=9999, CH_LocalVariable *variables=0, unsigned flags=0, const char **inputlabels=0, int maxoutputs=1, const char *tab_submenu_path=0) |
| Note: The 'inputlabels' array is expected to be null-terminated. More...
|
|
| OP_Operator (const char *name, const char *english, OP_Constructor construct, OP_TemplatePair *template_pair, unsigned min_sources, unsigned max_sources=9999, OP_VariablePair *variable_pair=0, unsigned flags=0, const char **inputlabels=0, int maxoutputs=1, const char *tab_submenu_path=0) |
|
| OP_Operator (const char *name, const char *english, OP_Constructor construct, PRM_Template *templates, const char *child_table_name, unsigned min_sources, unsigned max_sources=9999, CH_LocalVariable *variables=0, unsigned flags=0, const char **inputlabels=0, int maxoutputs=1, const char *tab_submenu_path=0) |
|
| OP_Operator (const char *name, const char *english, OP_Constructor construct, OP_TemplatePair *template_pair, const char *child_table_name, unsigned min_sources, unsigned max_sources=9999, OP_VariablePair *variable_pair=0, unsigned flags=0, const char **inputlabels=0, int maxoutputs=1, const char *tab_submenu_path=0) |
|
virtual | ~OP_Operator () |
|
OP_Node * | constructNode (OP_Network *net, const char *name) |
|
int | getNumActiveNodes () const |
|
OP_Node * | getActiveNode (int i) const |
|
void | nodeDestroyed (OP_Node *node) |
|
virtual OP_SpecificData * | getOpSpecificData () |
|
virtual const OP_SpecificData * | getOpSpecificData () const |
|
const UT_StringHolder & | getOriginalName () const |
|
void | getOriginalTableAndName (UT_WorkBuffer &name) const |
|
void | getOriginalTableAndName (UT_String &name) const |
|
const UT_StringHolder & | getName () const |
|
void | getTableAndName (UT_WorkBuffer &name) const |
|
void | getTableAndName (UT_String &name) const |
|
const UT_StringHolder & | getEnglish () const |
|
virtual UT_Color | getDefaultColor () const |
|
virtual const UT_StringHolder & | getDefaultShape () const |
|
virtual bool | getHDKHelp (UT_String &) const |
|
virtual bool | getOpHelpURL (UT_String &url) |
|
virtual bool | getOpTabSubMenuPath (UT_String &tab_submenu_path) |
|
void | setOpTabSubMenuPath (const char *tab_submenu_path) |
|
bool | getOTLHelp (UT_String &str) |
|
bool | hasPotentialEditableSubNodes () |
|
void | getEditableSubNodes (UT_String &pattern) |
|
const UT_StringHolder & | getMessageSubNodes () const |
|
void | getDiveTarget (UT_String &divetarget) |
|
void | getDescriptiveParmName (UT_String &descrparm) |
|
void | getDefaultState (UT_String &statename) |
|
void | getFunctionName (UT_String &function_name) |
|
void | getSecondaryFunctionsNames (UT_StringMap< UT_StringHolder > &functions) |
|
void | getComment (UT_String &comment) |
|
virtual bool | getVersion (UT_String &version) |
|
void | getHelpFileDirAndName (UT_String &script_dir, UT_String &name) |
|
void | getDefinitionSource (UT_String &defsource) const |
|
OP_Node * | getDefiningNetwork () const |
|
const UT_StringHolder & | getIndexPath () const |
|
const UT_StringHolder & | getIndexFile () const |
|
bool | getScriptIsSubnet () const |
|
bool | getScriptIsVex () const |
|
bool | getScriptIsRsl () const |
|
VEX_ContextType | getVexContextType () const |
|
RSL_ContextType | getRslContextType () const |
|
time_t | getModTime () const |
|
bool | getIsDummyDefinition () const |
|
bool | getScriptIsPython () const |
|
void | setScriptIsPython (bool is_python) |
|
const UT_StringHolder & | getExtraInfo () const |
|
const OP_ExtraInfoBuffer & | getExtraInfoBuffer () const |
|
void | setOTLDefinition (const OP_OTLDefinition &definition) |
|
const OP_OTLDefinition & | getOTLDefinition () const |
|
void | setOTLLibrary (OP_OTLLibrary *library) |
|
OP_OTLLibrary * | getOTLLibrary () |
|
virtual bool | getSectionData (const UT_StringRef &name, UT_StringHolder &value) const |
|
virtual bool | hasSectionData (const UT_StringRef &name) const |
|
bool | hasContentsSection () |
|
FS_IndexFile * | getOTLIndexFile (bool check_timestamp=true) |
|
FS_IndexFileHandle | getOTLIndexFilePtr (bool check_timestamp=true) |
|
UT_StringHolder | getContentsSection () |
|
FS_IndexFile * | createDefaultOTLIndexFile () const |
|
FS_IndexFile * | createOTLIndexFile (bool reservedsectionsonly, UT_StringArray *externalfiles) |
|
void | getDefinitionSectionName (UT_String §name) const |
|
void | listContainedOperators (UT_StringSet &contents_list) |
| List all operators found in the contents section. More...
|
|
const char * | getIconName () const |
|
void | setIconName (const char *name) |
|
void | setDefaultIconName () |
|
unsigned | minInputs () const |
|
unsigned | maxInputs () const |
|
virtual unsigned | maxOutputs () |
|
OP_SpareParms * | loadSpareParms (UT_IStream &is) |
|
PRM_Template * | getParmTemplates () |
|
PRM_ScriptImports * | getParmTemplateImports () |
|
PRM_Template * | getLayoutParmTemplates () |
|
PRM_ScriptImports * | getLayoutParmTemplateImports () |
|
virtual const PRM_Template * | getBaseParmTemplates () |
|
PRM_Template * | getBaseOverrideLayoutParmTemplates () |
|
virtual PRM_Template * | getObsoleteTemplates () |
|
void | setObsoleteTemplates (PRM_Template *tmpl) |
|
bool | getOverrideLayoutParmTemplateFile (UT_String &ds_path) const |
|
CH_LocalVariable * | getVariable (int i) const |
|
CH_LocalVariable * | getVariable (const char *name) const |
|
CH_LocalVariable * | getVariables () const |
|
int | getVariableCount () const |
|
void | resetVariables (OP_VariablePair *variable_pair) |
|
bool | isNetwork () const |
|
bool | isGenerator () const |
|
bool | isScriptedOp () const |
|
bool | isCustomDSO () const |
|
bool | unorderedInputs () const |
|
bool | isManagementOp () const |
|
bool | isOutputOp () const |
|
bool | hasEditableInputData () const |
|
bool | getIsPrimarySubnetType () const |
|
bool | isCreatingNode () const |
|
bool | isChangingParmTemplates () const |
|
bool | hasNodeLoadingContentsSection () const |
|
void | beginLoadingContentsSectionForNode () |
|
void | endLoadingContentsSectionForNode () |
|
bool | shouldPreserve () const |
|
virtual int | compareOperator (const OP_Operator *other, int method) const |
|
void | changeParmTemplate (PRM_Template *tp) |
|
unsigned | getPermissionMask () const |
|
virtual void | getRefreshPICommands (OP_Node *, std::ostream &) |
|
virtual bool | wantsParametersAnimatable () const |
|
virtual bool | wantsInputEditor () const |
|
virtual bool | wantsParmOrderEditor () const |
|
virtual bool | wantsOutputNameEditor () const |
|
virtual bool | wantsParentInputs () const |
|
const OP_InputDataEditorConfigEx & | getInputDataEditorConfigEx () const |
|
void | setInputDataEditorConfigEx (const OP_InputDataEditorConfigEx &config) |
|
void | setInputDataEditorConfig (const OP_InputDataEditorConfig &config) |
|
void | fillInfoTree (UT_InfoTree &tree, const OP_NodeInfoTreeParms &parms) |
|
const char * | getTableName () const |
|
OP_OperatorTable * | getTable () const |
|
const UT_StringHolder & | getChildTableName () const |
|
OP_OperatorTable * | getChildOperatorTable () const |
|
OP_OTLLicenseType | getLicense () |
|
void | setDefinition (const char *def) |
|
void | setEnglish (const char *english) |
|
void | informOfTabMenuFlagChange () |
|
virtual void | setName (const char *name) |
|
void | setMinInputs (int inputs) |
|
void | setMaxInputs (int inputs) |
|
void | setIsGenerator (bool isgen) |
|
void | updatePresetInfo () |
|
PRM_PresetInfo * | getPresetInfo () |
|
bool | runEventScript (const char *event, OP_Node *node_arg=nullptr, bool full_path=false, UT_Options *extra_args=nullptr, bool *node_deleted_by_script=nullptr) |
|
PY_EvaluationContext * | getPythonModuleDicts () |
|
bool | hasLoadedPythonModuleSection () const |
|
void | loadPythonModuleSection (bool force=false) |
|
PY_EvaluationContext * | getViewerStateModuleDicts () |
|
bool | hasLoadedViewerStateModuleSection () const |
|
void | loadViewerStateModuleSection (bool force=false) |
|
PY_EvaluationContext * | getViewerHandleModuleDicts () |
|
bool | hasLoadedViewerHandleModuleSection () const |
|
void | loadViewerHandleModuleSection (bool force=false) |
|
void | clearEventScriptPathCache () |
|
void | getCachedEventScriptPaths (UT_StringArray &events, UT_StringArray &paths, bool only_nonempty) const |
|
bool | isThreadSafe () const |
|
void | setIsThreadSafe (bool is_safe) |
|
bool | isCompiled () |
|
bool | isBlackBoxed () |
| Returns true if this operator is black boxed, and false otherwise. More...
|
|
void | constructIndexFileSectionPath (UT_String &path, const char *opdef_or_oplib, const char *section_name) const |
|
void | constructIndexFileSectionPath (UT_String &path, const char *opdef_or_oplib, const UT_StringArray §ion_names) const |
|
void | setNumOrderedInputs (int inputs) |
|
int | numOrderedInputs () const |
|
void | setLegacyInputsMap (const char *map) |
|
void | getLegacyInputsMap (UT_String &map) const |
|
const UT_StringArray * | getLegacyInputsIndexMap () const |
|
const UT_StringHolder & | getInputName (int idx) const |
| Accessing operator inputs name, label, and reference flag. More...
|
|
const UT_StringArray & | getInputNames () const |
| Accessing operator inputs name, label, and reference flag. More...
|
|
const UT_StringHolder & | getInputLabel (int idx) const |
| Accessing operator inputs name, label, and reference flag. More...
|
|
const UT_StringArray & | getInputLabels () const |
| Accessing operator inputs name, label, and reference flag. More...
|
|
bool | getInputIsReference (int idx) const |
| Accessing operator inputs name, label, and reference flag. More...
|
|
const UT_Array< bool > & | getInputAreReferences () const |
| Accessing operator inputs name, label, and reference flag. More...
|
|
virtual bool | allowsInputNameEditing () const |
| Accessing operator inputs name, label, and reference flag. More...
|
|
const UT_StringHolder & | getOutputLabel (int idx) const |
|
const UT_StringArray & | getOutputLabels () const |
|
void | getOpBasedFileName (UT_String &filename) |
|
void | getOpBasedFileName (UT_WorkBuffer &filename) |
|