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

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_CopyPackedVerb
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 78 of file SOP_CopyPacked.C.

Member Function Documentation

virtual SOP_NodeCache* HDK_Sample::SOP_CopyPackedVerb::allocCache ( ) const
inlinevirtual

Reimplemented from SOP_NodeVerb.

Definition at line 82 of file SOP_CopyPacked.C.

virtual SOP_NodeParms* HDK_Sample::SOP_CopyPackedVerb::allocParms ( ) const
inlinevirtual

Implements SOP_NodeVerb.

Definition at line 81 of file SOP_CopyPacked.C.

void HDK_Sample::SOP_CopyPackedVerb::cook ( const CookParms cookparms) const
virtual

This is the function that does the actual work.

Implements SOP_NodeVerb.

Definition at line 275 of file SOP_CopyPacked.C.

virtual CookMode HDK_Sample::SOP_CopyPackedVerb::cookMode ( const SOP_NodeParms parms) const
inlinevirtual

Reimplemented from SOP_NodeVerb.

Definition at line 85 of file SOP_CopyPacked.C.

virtual UT_StringHolder HDK_Sample::SOP_CopyPackedVerb::name ( void  ) const
inlinevirtual

Implements OP_NodeVerb.

Definition at line 83 of file SOP_CopyPacked.C.

Member Data Documentation

const char *const HDK_Sample::SOP_CopyPackedVerb::theDsFile
static
Initial value:
= R"THEDSFILE(
{
name parameters
parm {
name "pointgroup"
cppname "PointGroup"
label "Point Group"
type string
default { "" }
parmtag { "script_action" "import soputils\nkwargs['geometrytype'] = (hou.geometryType.Points,)\nkwargs['inputindex'] = 1\nsoputils.selectGroupParm(kwargs)" }
parmtag { "script_action_help" "Select geometry from an available viewport.\nShift-click to turn on Select Groups." }
parmtag { "script_action_icon" "BUTTONS_reselect" }
parmtag { "sop_input" "1" }
}
}
)THEDSFILE"

This is the parameter interface string, below.

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

Definition at line 98 of file SOP_CopyPacked.C.

const UT_StringHolder HDK_Sample::SOP_CopyPackedVerb::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 91 of file SOP_CopyPacked.C.

const SOP_NodeVerb::Register< SOP_CopyPackedVerb > HDK_Sample::SOP_CopyPackedVerb::theVerb
static

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

Definition at line 95 of file SOP_CopyPacked.C.


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