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

 ConstraintAccessor ()=default
virtual ~ConstraintAccessor ()=default
 UT_NON_COPYABLE (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 103 of file SIM_ConstraintNetworkIterator.h.

Constructor & Destructor Documentation

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

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.

SIM_ConstraintNetwork::ConstraintAccessor::UT_NON_COPYABLE ( ConstraintAccessor  )

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