HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_ConstraintNetwork::ConstraintAccessor Class Referenceabstract

#include <SIM_ConstraintNetworkIterator.h>

+ Inheritance diagram for SIM_ConstraintNetwork::ConstraintAccessor:

Public Member Functions

virtual ~ConstraintAccessor ()
 
virtual void init (const GU_Detail *gdp, exint num_constraint_types)=0
 
virtual bool acceptConstraint (const SIM_Data &constraint_data, exint idx)=0
 

Detailed Description

Implements filtering of the constraint types that are recognized by the caller, as well as caching / reading those constraint's parameter values. See GenericConstraintAccessor for the default implementation.

Definition at line 74 of file SIM_ConstraintNetworkIterator.h.

Constructor & Destructor Documentation

virtual SIM_ConstraintNetwork::ConstraintAccessor::~ConstraintAccessor ( )
inlinevirtual

Definition at line 77 of file SIM_ConstraintNetworkIterator.h.

Member Function Documentation

virtual bool SIM_ConstraintNetwork::ConstraintAccessor::acceptConstraint ( const SIM_Data constraint_data,
exint  idx 
)
pure virtual

Returns whether the constraint type should be included when iterating over the constraint network, and performs any necessary caching with the constraint data and its index.

Implemented in SIM_ConstraintNetwork::GenericConstraintAccessor.

virtual void SIM_ConstraintNetwork::ConstraintAccessor::init ( const GU_Detail gdp,
exint  num_constraint_types 
)
pure virtual

Initialize with the constraint network's GU_Detail, and the number of constraint types referenced by the geometry (from the 'constraint_name' primitive attribute).

Implemented in SIM_ConstraintNetwork::GenericConstraintAccessor.


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