HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_WindingNumberVerb Class Reference
+ Inheritance diagram for SOP_WindingNumberVerb:

Public Member Functions

virtual SOP_NodeParmsallocParms () const
 
virtual SOP_NodeCacheallocCache () const
 
virtual UT_StringHolder name () const
 
virtual CookMode cookMode (const SOP_NodeParms *parms) const
 
virtual void cook (const CookParms &cookparms) const
 This is the function that does the actual work. More...
 
- Public Member Functions inherited from SOP_NodeVerb
 SOP_NodeVerb ()
 
OP_NodeCachebaseAllocCache () const overridefinal
 
OP_NodeParmsbaseAllocParms () const overridefinal
 
OP_OpTypeId category () const override
 
virtual bool doPartialInputCook () const
 
virtual bool doExprInputCook () const
 
virtual bool cookInputs (const InputParms &parms) const
 
virtual void setupLocalVariables (SOP_Node *sop, const UT_Array< GU_ConstDetailHandle > &inputs) const
 
virtual void resetLocalVariables (SOP_Node *sop) const
 
virtual bool evaluatesParametersDuringCook () const
 
virtual bool requiresCEFlush () const
 
virtual bool usesCE () const
 
void notifyGroupParmListeners (SOP_Node *oldsop, int groupparm_idx, int grouptype_idx, const GU_Detail *gdp, const GA_Group *group) const
 
- Public Member Functions inherited from OP_NodeVerb
 OP_NodeVerb ()
 
virtual ~OP_NodeVerb ()
 
 OP_NodeVerb (const OP_NodeVerb &)=delete
 
OP_NodeVerboperator= (const OP_NodeVerb &)=delete
 

Static Public Attributes

static const UT_StringHolder theSOPTypeName
 
static const
SOP_NodeVerb::Register
< SOP_WindingNumberVerb
theVerb
 
static const char *const theDsFile
 This is the parameter interface string, below. More...
 

Additional Inherited Members

- Public Types inherited from SOP_NodeVerb
enum  CookMode {
  COOK_INPLACE, COOK_DUPLICATE, COOK_GENERATOR, COOK_INSTANCE,
  COOK_GENERIC, COOK_PASSTHROUGH
}
 
typedef UT_Map< const OP_Node
*, NodeExecuteInfo
ForbiddenNodeMap
 
- Static Public Member Functions inherited from SOP_NodeVerb
static const SOP_NodeVerblookupVerb (const UT_StringRef &name)
 Finds a verb which matches the given name. More...
 
static void listVerbs (UT_StringArray &verbnames)
 
static const ForbiddenNodeMapforbiddenNodes ()
 
static const ForbiddenNodeMapforbiddenNodes (int thread)
 
- Static Public Member Functions inherited from OP_NodeVerb
static const OP_NodeVerblookupCategoryVerb (OP_OpTypeId cat, const UT_StringRef &name)
 Finds a verb which matches the given name. More...
 
static void listCategoryVerbs (OP_OpTypeId cat, UT_StringArray &verbnames)
 
static void registerVerb (OP_NodeVerb *verb)
 
static void unregisterVerb (OP_NodeVerb *verb)
 

Detailed Description

Definition at line 319 of file SOP_WindingNumber.C.

Member Function Documentation

virtual SOP_NodeCache* SOP_WindingNumberVerb::allocCache ( ) const
inlinevirtual

Reimplemented from SOP_NodeVerb.

Definition at line 323 of file SOP_WindingNumber.C.

virtual SOP_NodeParms* SOP_WindingNumberVerb::allocParms ( ) const
inlinevirtual

Implements SOP_NodeVerb.

Definition at line 322 of file SOP_WindingNumber.C.

void SOP_WindingNumberVerb::cook ( const CookParms cookparms) const
virtual

This is the function that does the actual work.

Implements SOP_NodeVerb.

Definition at line 1352 of file SOP_WindingNumber.C.

virtual CookMode SOP_WindingNumberVerb::cookMode ( const SOP_NodeParms parms) const
inlinevirtual

This SOP wouldn't get any benefit from the results of the previous cook, (except for what's stored in SOP_WindingNumberCache), and it would always duplicate its input at the start of the cook anyway, so it might as well use COOK_INPLACE, (which always either steals the first input's detail for the output detail or duplicates it into the output detail), instead of COOK_GENERIC, (which would let us have an output detail that's separate from the input detail and might be the same output detail as on a previous cook).

Reimplemented from SOP_NodeVerb.

Definition at line 334 of file SOP_WindingNumber.C.

virtual UT_StringHolder SOP_WindingNumberVerb::name ( void  ) const
inlinevirtual

Implements OP_NodeVerb.

Definition at line 324 of file SOP_WindingNumber.C.

Member Data Documentation

const char *const SOP_WindingNumberVerb::theDsFile
static

This is the parameter interface string, below.

This is a multi-line raw string specifying the parameter interface for this SOP.

Definition at line 347 of file SOP_WindingNumber.C.

const UT_StringHolder SOP_WindingNumberVerb::theSOPTypeName
static

This is the internal name of the SOP type. It isn't allowed to be the same as any other SOP's type name.

Definition at line 340 of file SOP_WindingNumber.C.

const SOP_NodeVerb::Register< SOP_WindingNumberVerb > SOP_WindingNumberVerb::theVerb
static

This static data member automatically registers this verb class at library load time.

Definition at line 344 of file SOP_WindingNumber.C.


The documentation for this class was generated from the following file: