|
HDK
|
#include <SOP_NodeVerb.h>
Public Member Functions | |
| CookParms (GU_DetailHandle &destgdh, const UT_Array< GU_ConstDetailHandle > &inputs, OP_CookEngine cookengine, const OP_GraphProxy *graphproxy, OP_GraphProxy::NodeOrIdx nodeoridx, const OP_Context &context, const SOP_NodeParms *parms, SOP_NodeCache *cache, UT_ErrorManager *error, DEP_MicroNode *depnode) | |
| void | setPseudoPath (const UT_StringHolder &path) |
| void | setExprInputs (const UT_Array< GU_ConstDetailHandle > &exprinputs) |
| virtual | ~CookParms () |
| GU_DetailHandle & | gdh () const |
| The initial state of gdh depends on the cookMode() More... | |
| SOP_Node * | getNode () const |
| OP_GraphProxy::NodeIdx | getNodeIdx () const |
| OP_GraphProxy::NodeOrIdx | getNodeOrIdx () const |
| const OP_GraphProxy * | graphProxy () const |
| template<typename T > | |
| T * | getCookNode () const |
| OP_Node * | getSrcNode () const |
| The node that generated this verb, if any... More... | |
| OP_Node * | getCwd () const |
| The getCwd() should be used to evaluate relative paths. More... | |
| UT_StringHolder | getFullPathForDisplay () const |
| const OP_Context & | getContext () const |
| fpreal | getCookTime () const |
| exint | nInputs () const |
| bool | hasInput (exint idx) const |
| const GU_Detail * | inputGeo (exint idx) const |
| GU_ConstDetailHandle | inputGeoHandle (exint idx) const |
| exint | numSpareInputs () const |
| bool | hasSpareInput (exint idx) const |
| const GU_Detail * | spareInputGeo (exint idx) const |
| GU_ConstDetailHandle | spareInputGeoHandle (exint idx) const |
| template<typename T > | |
| const T & | parms () const |
| SOP_NodeCache * | cache () const |
| UT_ErrorManager * | error () const |
| DEP_MicroNode * | depnode () const |
| UT_LockedRawPtr < UT_ErrorManager, OP_Lock > | getLockedErrorManager () const |
| void | addExplicitInput (DEP_MicroNode &inp, bool check_dup=true) const |
| Methods to wire directly to the optional depnode. More... | |
| UT_ErrorSeverity | addMessage (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) const |
| Methods to add directly to any present error manager. More... | |
| UT_ErrorSeverity | addWarning (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) const |
| UT_ErrorSeverity | addError (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) const |
| UT_ErrorSeverity | addMessageFmt (const char *fmt) const |
| UT_ErrorSeverity | addMessageFmt (const char *fmt, std::initializer_list< UT::Format::ArgValue > args) const |
| template<typename... Args> | |
| UT_ErrorSeverity | addMessageFmt (const char *fmt, const Args &...args) const |
| UT_ErrorSeverity | addWarningFmt (const char *fmt) const |
| UT_ErrorSeverity | addWarningFmt (const char *fmt, std::initializer_list< UT::Format::ArgValue > args) const |
| template<typename... Args> | |
| UT_ErrorSeverity | addWarningFmt (const char *fmt, const Args &...args) const |
| UT_ErrorSeverity | addErrorFmt (const char *fmt) const |
| UT_ErrorSeverity | addErrorFmt (const char *fmt, std::initializer_list< UT::Format::ArgValue > args) const |
| template<typename... Args> | |
| UT_ErrorSeverity | addErrorFmt (const char *fmt, const Args &...args) const |
| UT_ErrorSeverity | sopAddMessage (int code, const char *msg=0, const UT_SourceLocation *loc=0) const |
| UT_ErrorSeverity | sopAddWarning (int code, const char *msg=0, const UT_SourceLocation *loc=0) const |
| UT_ErrorSeverity | sopAddError (int code, const char *msg=0, const UT_SourceLocation *loc=0) const |
| void | addTransformError (const OP_Node &node, const char *label=0) const |
| void | stealErrors (UT_ErrorManager &src, bool borrow_only=false) const |
| void | select (GA_GroupType gtype=GA_GROUP_PRIMITIVE) const |
| void | select (GU_SelectionHandle selection, bool add_to_sel=false) const |
| void | select (const GA_Group &group, bool use_gtype=true, bool add_to_sel=false) const |
| void | select (const GEO_Primitive &prim, bool sel_prim=true, bool add_to_sel=false) const |
| void | selectPrimitive (GA_Offset primoff, bool prim_sel=true, bool add_to_sel=false) const |
| void | selectPoint (GA_Offset ptoff, bool point_sel=true, bool add_to_sel=false) const |
| void | selectFrom (const GEO_Primitive &prim, bool sel_prim=true, bool add_to_sel=false) const |
| void | selectPointsFrom (GA_Offset ptoff, bool point_sel=true, bool add_to_sel=false) const |
| void | select (const GA_Range &range, bool use_rtype=true, bool add_to_sel=false) const |
| void | selectInputGroup (const GA_Group *group, GA_GroupType grouptype) const |
| void | clearSelection () const |
| void | clearSelection (GA_GroupType gtype) const |
| bool | destroySelection () const |
| bool | selectionEnabled () const |
| bool | setupLocalVars () const |
| Shims for local variables. More... | |
| void | resetLocalVarRefs () const |
| void | setCurGdh (int index, const GU_DetailHandle &gdh) const |
| void | clearCurGdh (int index) const |
| void | setCurPoint (int index, GA_Offset off) const |
| void | clearCurPoint (int index) const |
| void | setCurVertex (int index, GA_Offset off) const |
| void | clearCurVertex (int index) const |
| void | setCurPrim (int index, GA_Offset off) const |
| void | clearCurPrim (int index) const |
| void | setCurVertexNum (int index, exint num) const |
| void | clearCurVertexNum (int index) const |
| void | setVariableOrder (int detail, int prim, int pt, int vtx) const |
| void | resetLocalVariableAccessed () const |
| Tracks if any local variables were accessed by op functions. More... | |
| bool | wasLocalVariableAccessed () const |
Protected Member Functions | |
| UT_StringHolder | formatError (const char *msg) const |
| Prefix errors so we can get sensible results. More... | |
Protected Attributes | |
| OP_CookEngine | myCookEngine |
| GU_DetailHandle & | myDestGdh |
| const UT_Array < GU_ConstDetailHandle > & | myInputs |
| const UT_Array < GU_ConstDetailHandle > * | myExprInputs |
| const OP_GraphProxy * | myGraphProxy |
| OP_GraphProxy::NodeOrIdx | myNode |
| OP_GraphProxy::NodeOrIdx | myOpNode |
| UT_StringHolder | myPseudoPath |
| const OP_Context & | myContext |
| const SOP_NodeParms * | myParms |
| SOP_NodeCache * | myCache |
| UT_ErrorManager * | myError |
| DEP_MicroNode * | myDepNode |
| UT_Lock | myErrorLock |
Definition at line 364 of file SOP_NodeVerb.h.
|
inline |
Definition at line 367 of file SOP_NodeVerb.h.
|
inlinevirtual |
Definition at line 393 of file SOP_NodeVerb.h.
|
inline |
Definition at line 516 of file SOP_NodeVerb.h.
|
inline |
Definition at line 546 of file SOP_NodeVerb.h.
|
inline |
Definition at line 548 of file SOP_NodeVerb.h.
|
inline |
Definition at line 555 of file SOP_NodeVerb.h.
|
inline |
Methods to wire directly to the optional depnode.
Definition at line 504 of file SOP_NodeVerb.h.
|
inline |
Methods to add directly to any present error manager.
Definition at line 508 of file SOP_NodeVerb.h.
|
inline |
Definition at line 522 of file SOP_NodeVerb.h.
|
inline |
Definition at line 524 of file SOP_NodeVerb.h.
|
inline |
Definition at line 531 of file SOP_NodeVerb.h.
|
inline |
Definition at line 584 of file SOP_NodeVerb.h.
|
inline |
Definition at line 512 of file SOP_NodeVerb.h.
|
inline |
Definition at line 534 of file SOP_NodeVerb.h.
|
inline |
Definition at line 536 of file SOP_NodeVerb.h.
|
inline |
Definition at line 543 of file SOP_NodeVerb.h.
|
inline |
Cache may, or may not, persist between cooks. But it is guaranteed this is the only thread using the cache.
Definition at line 488 of file SOP_NodeVerb.h.
Definition at line 684 of file SOP_NodeVerb.h.
Definition at line 688 of file SOP_NodeVerb.h.
Definition at line 696 of file SOP_NodeVerb.h.
Definition at line 692 of file SOP_NodeVerb.h.
Definition at line 700 of file SOP_NodeVerb.h.
|
inline |
Definition at line 649 of file SOP_NodeVerb.h.
|
inline |
If the cook selection group is not of the given type, create an empty cook selection group of that type. Otherwise, clear the existing cook selection group.
Definition at line 656 of file SOP_NodeVerb.h.
|
inline |
Definition at line 493 of file SOP_NodeVerb.h.
|
inline |
Definition at line 663 of file SOP_NodeVerb.h.
|
inline |
Error managers are not locked, so do not pass this to something that forks.
Definition at line 492 of file SOP_NodeVerb.h.
|
inlineprotected |
Prefix errors so we can get sensible results.
Definition at line 716 of file SOP_NodeVerb.h.
|
inline |
The initial state of gdh depends on the cookMode()
Definition at line 397 of file SOP_NodeVerb.h.
|
inline |
Definition at line 430 of file SOP_NodeVerb.h.
|
inline |
Definition at line 410 of file SOP_NodeVerb.h.
|
inline |
Definition at line 432 of file SOP_NodeVerb.h.
|
inline |
The getCwd() should be used to evaluate relative paths.
Definition at line 418 of file SOP_NodeVerb.h.
|
inline |
Returns a full path for display purposes, this will be the node path if it is presnet, otherwise the "pseudopath", otherwise <internal>
Definition at line 422 of file SOP_NodeVerb.h.
|
inline |
Definition at line 497 of file SOP_NodeVerb.h.
|
inline |
The currently cooking SOP. This is only non-null if in the old cook path. When executing compiled nodes it will be null as the verb is supposed to operate independently of the original SOP.
Definition at line 403 of file SOP_NodeVerb.h.
|
inline |
Definition at line 405 of file SOP_NodeVerb.h.
|
inline |
Definition at line 406 of file SOP_NodeVerb.h.
|
inline |
The node that generated this verb, if any...
Definition at line 416 of file SOP_NodeVerb.h.
|
inline |
Definition at line 407 of file SOP_NodeVerb.h.
|
inline |
Definition at line 441 of file SOP_NodeVerb.h.
|
inline |
Definition at line 465 of file SOP_NodeVerb.h.
Definition at line 447 of file SOP_NodeVerb.h.
|
inline |
Definition at line 452 of file SOP_NodeVerb.h.
|
inline |
Accessors designed to simplify porting from old cook code. Just becaues you have nInputs does not mean all are wired or cooked. But, the number demanded by your OP_Operator shall be present. Inputs have been locked & preserve request set
Definition at line 440 of file SOP_NodeVerb.h.
|
inline |
Accessors to get to the expression, ie, spare, inputs index is the positive index for the spare input.
Definition at line 460 of file SOP_NodeVerb.h.
|
inline |
Definition at line 483 of file SOP_NodeVerb.h.
|
inline |
Tracks if any local variables were accessed by op functions.
Definition at line 707 of file SOP_NodeVerb.h.
|
inline |
Definition at line 680 of file SOP_NodeVerb.h.
|
inline |
Definition at line 599 of file SOP_NodeVerb.h.
|
inline |
Definition at line 603 of file SOP_NodeVerb.h.
|
inline |
Definition at line 609 of file SOP_NodeVerb.h.
|
inline |
Definition at line 614 of file SOP_NodeVerb.h.
|
inline |
Definition at line 634 of file SOP_NodeVerb.h.
|
inline |
Definition at line 626 of file SOP_NodeVerb.h.
|
inline |
Definition at line 642 of file SOP_NodeVerb.h.
|
inline |
Definition at line 670 of file SOP_NodeVerb.h.
|
inline |
Definition at line 622 of file SOP_NodeVerb.h.
|
inline |
Definition at line 630 of file SOP_NodeVerb.h.
|
inline |
Definition at line 618 of file SOP_NodeVerb.h.
|
inline |
Definition at line 682 of file SOP_NodeVerb.h.
Definition at line 686 of file SOP_NodeVerb.h.
Definition at line 694 of file SOP_NodeVerb.h.
Definition at line 690 of file SOP_NodeVerb.h.
Definition at line 698 of file SOP_NodeVerb.h.
|
inline |
Definition at line 391 of file SOP_NodeVerb.h.
|
inline |
Definition at line 390 of file SOP_NodeVerb.h.
|
inline |
Shims for local variables.
Definition at line 678 of file SOP_NodeVerb.h.
|
inline |
Definition at line 702 of file SOP_NodeVerb.h.
|
inline |
Definition at line 576 of file SOP_NodeVerb.h.
|
inline |
Definition at line 562 of file SOP_NodeVerb.h.
|
inline |
Definition at line 569 of file SOP_NodeVerb.h.
Definition at line 471 of file SOP_NodeVerb.h.
|
inline |
Definition at line 476 of file SOP_NodeVerb.h.
|
inline |
Definition at line 595 of file SOP_NodeVerb.h.
|
inline |
Definition at line 709 of file SOP_NodeVerb.h.
|
protected |
Definition at line 743 of file SOP_NodeVerb.h.
|
protected |
Definition at line 741 of file SOP_NodeVerb.h.
|
protected |
Definition at line 733 of file SOP_NodeVerb.h.
|
protected |
Definition at line 745 of file SOP_NodeVerb.h.
|
protected |
Definition at line 734 of file SOP_NodeVerb.h.
|
protected |
Definition at line 744 of file SOP_NodeVerb.h.
|
mutableprotected |
Definition at line 746 of file SOP_NodeVerb.h.
|
protected |
Definition at line 736 of file SOP_NodeVerb.h.
|
protected |
Definition at line 737 of file SOP_NodeVerb.h.
|
protected |
Definition at line 735 of file SOP_NodeVerb.h.
|
protected |
Definition at line 738 of file SOP_NodeVerb.h.
|
protected |
Definition at line 739 of file SOP_NodeVerb.h.
|
protected |
Definition at line 742 of file SOP_NodeVerb.h.
|
protected |
Definition at line 740 of file SOP_NodeVerb.h.