HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_NodeVerb::PreCookedNodeInputs Class Reference

#include <SOP_NodeVerb.h>

+ Inheritance diagram for SOP_NodeVerb::PreCookedNodeInputs:

Public Member Functions

 PreCookedNodeInputs (const UT_Array< GU_ConstDetailHandle > &gdps)
 
 ~PreCookedNodeInputs () override
 
exint nInputs () const override
 
bool hasInput (exint idx) const override
 Returns if the input is wired. More...
 
bool cookInput (exint idx) override
 
GU_DetailHandle inputGeo (exint idx) override
 Returns an invalid handle if the input isn't wired or not yet cooked. More...
 
GU_DetailHandle unloadInput (exint idx, bool flushce) override
 
void markInputUnused (exint idx) override
 
- Public Member Functions inherited from SOP_NodeVerb::NodeInputs
 NodeInputs ()
 
virtual ~NodeInputs ()
 

Protected Attributes

const UT_Array
< GU_ConstDetailHandle > & 
myGdps
 

Detailed Description

Definition at line 611 of file SOP_NodeVerb.h.

Constructor & Destructor Documentation

SOP_NodeVerb::PreCookedNodeInputs::PreCookedNodeInputs ( const UT_Array< GU_ConstDetailHandle > &  gdps)
inline

Definition at line 614 of file SOP_NodeVerb.h.

SOP_NodeVerb::PreCookedNodeInputs::~PreCookedNodeInputs ( )
inlineoverride

Definition at line 617 of file SOP_NodeVerb.h.

Member Function Documentation

bool SOP_NodeVerb::PreCookedNodeInputs::cookInput ( exint  idx)
inlineoverridevirtual

Demands the input be cooked. After this, the inputGeo() will return the contents. Returns false if the cook failed for some reason.

Implements SOP_NodeVerb::NodeInputs.

Definition at line 627 of file SOP_NodeVerb.h.

bool SOP_NodeVerb::PreCookedNodeInputs::hasInput ( exint  idx) const
inlineoverridevirtual

Returns if the input is wired.

Implements SOP_NodeVerb::NodeInputs.

Definition at line 620 of file SOP_NodeVerb.h.

GU_DetailHandle SOP_NodeVerb::PreCookedNodeInputs::inputGeo ( exint  idx)
inlineoverridevirtual

Returns an invalid handle if the input isn't wired or not yet cooked.

Implements SOP_NodeVerb::NodeInputs.

Definition at line 633 of file SOP_NodeVerb.h.

void SOP_NodeVerb::PreCookedNodeInputs::markInputUnused ( exint  idx)
inlineoverridevirtual

Marks the given input used. Needed if the input isn't cooked, as unload will not mark it unused (as it must be marked such ASAP to free up earlier nodes)

Implements SOP_NodeVerb::NodeInputs.

Definition at line 647 of file SOP_NodeVerb.h.

exint SOP_NodeVerb::PreCookedNodeInputs::nInputs ( ) const
inlineoverridevirtual

Implements SOP_NodeVerb::NodeInputs.

Definition at line 619 of file SOP_NodeVerb.h.

GU_DetailHandle SOP_NodeVerb::PreCookedNodeInputs::unloadInput ( exint  idx,
bool  flushce 
)
inlineoverridevirtual

Unlocks/forgets the given input. Returns an invalid handle if not wired or not cooked.

Implements SOP_NodeVerb::NodeInputs.

Definition at line 640 of file SOP_NodeVerb.h.

Member Data Documentation

const UT_Array<GU_ConstDetailHandle>& SOP_NodeVerb::PreCookedNodeInputs::myGdps
protected

Definition at line 649 of file SOP_NodeVerb.h.


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