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

#include <SOP_BlockEndFor.h>

Public Member Functions

 ForStateIterator (const OP_GraphProxy *graph, exint forsopidx, SOP_Node *error_sink, fpreal t, GU_DetailHandle iterationgeo)
 
 ForStateIterator (const ForStateIterator &iter)
 
 ~ForStateIterator ()
 
ForStateIteratoroperator= (const ForStateIterator &iter)
 
GU_DetailHandle getPieceGeo ()
 
GU_DetailHandle getFeedbackGeo ()
 
GU_DetailHandle getMetadataGeo ()
 
GU_DetailHandle getIterationGeo ()
 
exint getCurrentCookPass () const
 
exint getExpectedIterations () const
 
exint getFullPassIterations () const
 
exint getStartPass () const
 
void setPass (exint pass, GU_DetailHandle feedback)
 
bool hasPieceGeo () const
 
void clearFeedbackGeo ()
 
void clearPieceExtractor ()
 

Protected Attributes

GU_DetailHandle myFeedbackGeo
 
GU_DetailHandle myIterationGeo
 
GU_DetailHandle myPieceGeo
 
GU_DetailHandle myMetadataGeo
 Likewise, the cached metadata. More...
 
sop_PieceExtractor * myPieceExtractor
 Functor object to extract a subset of the iteration geo. More...
 
exint myCurrentCookPass
 
exint myStartPass
 
exint myExpectedIterations
 
exint myFullPassIterations
 
bool myUseTemplate
 
fpreal64 myStartValue
 
fpreal64 myIncrement
 
bool myUseAttrib
 
UT_StringHolder myAttrib
 
GA_AttributeOwner myClass
 

Detailed Description

Definition at line 26 of file SOP_BlockEndFor.h.

Constructor & Destructor Documentation

SOP_BlockEndFor::ForStateIterator::ForStateIterator ( const OP_GraphProxy graph,
exint  forsopidx,
SOP_Node error_sink,
fpreal  t,
GU_DetailHandle  iterationgeo 
)
SOP_BlockEndFor::ForStateIterator::ForStateIterator ( const ForStateIterator iter)
inline

Definition at line 30 of file SOP_BlockEndFor.h.

SOP_BlockEndFor::ForStateIterator::~ForStateIterator ( )

Member Function Documentation

void SOP_BlockEndFor::ForStateIterator::clearFeedbackGeo ( )
inline

Allows one to reduce the reference count when all inputs have extracted the feedback for inplace operations.

Definition at line 60 of file SOP_BlockEndFor.h.

void SOP_BlockEndFor::ForStateIterator::clearPieceExtractor ( )

Erases the piece extractor as it holds hard references to geometry

exint SOP_BlockEndFor::ForStateIterator::getCurrentCookPass ( ) const
inline

Definition at line 43 of file SOP_BlockEndFor.h.

exint SOP_BlockEndFor::ForStateIterator::getExpectedIterations ( ) const
inline

Definition at line 45 of file SOP_BlockEndFor.h.

GU_DetailHandle SOP_BlockEndFor::ForStateIterator::getFeedbackGeo ( )
exint SOP_BlockEndFor::ForStateIterator::getFullPassIterations ( ) const
inline

Definition at line 49 of file SOP_BlockEndFor.h.

GU_DetailHandle SOP_BlockEndFor::ForStateIterator::getIterationGeo ( )
inline

Definition at line 42 of file SOP_BlockEndFor.h.

GU_DetailHandle SOP_BlockEndFor::ForStateIterator::getMetadataGeo ( )
GU_DetailHandle SOP_BlockEndFor::ForStateIterator::getPieceGeo ( )
exint SOP_BlockEndFor::ForStateIterator::getStartPass ( ) const
inline

Definition at line 50 of file SOP_BlockEndFor.h.

bool SOP_BlockEndFor::ForStateIterator::hasPieceGeo ( ) const
inline

Definition at line 55 of file SOP_BlockEndFor.h.

ForStateIterator& SOP_BlockEndFor::ForStateIterator::operator= ( const ForStateIterator iter)
void SOP_BlockEndFor::ForStateIterator::setPass ( exint  pass,
GU_DetailHandle  feedback 
)

Member Data Documentation

UT_StringHolder SOP_BlockEndFor::ForStateIterator::myAttrib
protected

Definition at line 103 of file SOP_BlockEndFor.h.

GA_AttributeOwner SOP_BlockEndFor::ForStateIterator::myClass
protected

Definition at line 104 of file SOP_BlockEndFor.h.

exint SOP_BlockEndFor::ForStateIterator::myCurrentCookPass
protected

Used to dynamically recompute piece geo and provide info.

Definition at line 94 of file SOP_BlockEndFor.h.

exint SOP_BlockEndFor::ForStateIterator::myExpectedIterations
protected

Definition at line 96 of file SOP_BlockEndFor.h.

GU_DetailHandle SOP_BlockEndFor::ForStateIterator::myFeedbackGeo
protected

myFeedbackGeo is the last fed-back version of the geometry going through the system.

Definition at line 74 of file SOP_BlockEndFor.h.

exint SOP_BlockEndFor::ForStateIterator::myFullPassIterations
protected

Definition at line 97 of file SOP_BlockEndFor.h.

fpreal64 SOP_BlockEndFor::ForStateIterator::myIncrement
protected

Definition at line 100 of file SOP_BlockEndFor.h.

GU_DetailHandle SOP_BlockEndFor::ForStateIterator::myIterationGeo
protected

myIterationGeo is the second input, it is kept here so we can extract the pieces just-in-time and unlock the second input.

Definition at line 79 of file SOP_BlockEndFor.h.

GU_DetailHandle SOP_BlockEndFor::ForStateIterator::myMetadataGeo
protected

Likewise, the cached metadata.

Definition at line 87 of file SOP_BlockEndFor.h.

sop_PieceExtractor* SOP_BlockEndFor::ForStateIterator::myPieceExtractor
protected

Functor object to extract a subset of the iteration geo.

Definition at line 90 of file SOP_BlockEndFor.h.

GU_DetailHandle SOP_BlockEndFor::ForStateIterator::myPieceGeo
protected

The most recently extracted piece of the myIterationGeo. We cache it in case there are multiple next sops grabbing it, or for when we are done and the user is manually cooking the chain.

Definition at line 84 of file SOP_BlockEndFor.h.

exint SOP_BlockEndFor::ForStateIterator::myStartPass
protected

Definition at line 95 of file SOP_BlockEndFor.h.

fpreal64 SOP_BlockEndFor::ForStateIterator::myStartValue
protected

Definition at line 100 of file SOP_BlockEndFor.h.

bool SOP_BlockEndFor::ForStateIterator::myUseAttrib
protected

Definition at line 102 of file SOP_BlockEndFor.h.

bool SOP_BlockEndFor::ForStateIterator::myUseTemplate
protected

Definition at line 99 of file SOP_BlockEndFor.h.


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