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

#include <SIM_ConRel.h>

Public Member Functions

 ConRelData (const SIM_Data *op, const GA_RWHandleV3 &cd)
 
virtual ~ConRelData ()
 
virtual bool getDataB (const UT_StringRef &name) const
 
virtual int getDataI (const UT_StringRef &name) const
 
virtual fpreal getDataF (const UT_StringRef &name) const
 
virtual UT_Vector3 getDataV3 (const UT_StringRef &name) const
 
virtual UT_Quaternion getDataQ (const UT_StringRef &name) const
 
virtual UT_Vector2 getDataV2 (const UT_StringRef &name) const
 
const GA_RWHandleV3getColorAttrib () const
 

Protected Attributes

const SIM_OptionsUsermyOptions
 
GA_RWHandleV3 color_attrib
 

Detailed Description

A utility class for getting values of the constraint options. An instance of this class is passed as an argument to buildConRelGude(..) so that rendering of the constraint guide geometry can be done accuratly depending on who calls it. The diffuse attribute (color_attrib) is passed in for efficiency reasons, so that each call of buildConRelGuide does not need to call addDiffuseAttribute on its own

Definition at line 46 of file SIM_ConRel.h.

Constructor & Destructor Documentation

SIM_ConRel::ConRelData::ConRelData ( const SIM_Data op,
const GA_RWHandleV3 cd 
)
inline

Definition at line 49 of file SIM_ConRel.h.

virtual SIM_ConRel::ConRelData::~ConRelData ( )
inlinevirtual

Definition at line 54 of file SIM_ConRel.h.

Member Function Documentation

const GA_RWHandleV3& SIM_ConRel::ConRelData::getColorAttrib ( ) const
inline

Definition at line 79 of file SIM_ConRel.h.

virtual bool SIM_ConRel::ConRelData::getDataB ( const UT_StringRef name) const
inlinevirtual

Definition at line 55 of file SIM_ConRel.h.

virtual fpreal SIM_ConRel::ConRelData::getDataF ( const UT_StringRef name) const
inlinevirtual

Definition at line 63 of file SIM_ConRel.h.

virtual int SIM_ConRel::ConRelData::getDataI ( const UT_StringRef name) const
inlinevirtual

Definition at line 59 of file SIM_ConRel.h.

virtual UT_Quaternion SIM_ConRel::ConRelData::getDataQ ( const UT_StringRef name) const
inlinevirtual

Definition at line 71 of file SIM_ConRel.h.

virtual UT_Vector2 SIM_ConRel::ConRelData::getDataV2 ( const UT_StringRef name) const
inlinevirtual

Definition at line 75 of file SIM_ConRel.h.

virtual UT_Vector3 SIM_ConRel::ConRelData::getDataV3 ( const UT_StringRef name) const
inlinevirtual

Definition at line 67 of file SIM_ConRel.h.

Member Data Documentation

GA_RWHandleV3 SIM_ConRel::ConRelData::color_attrib
protected

Definition at line 82 of file SIM_ConRel.h.

const SIM_OptionsUser* SIM_ConRel::ConRelData::myOptions
protected

Definition at line 81 of file SIM_ConRel.h.


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