8 #ifndef __SIM_ConRel_h__
9 #define __SIM_ConRel_h__
57 return myOptions ? myOptions->getOptions().getOptionB(name) : 0;
61 return myOptions ? myOptions->getOptions().getOptionI(name) : 0;
65 return myOptions ? myOptions->getOptions().getOptionF(name) : 0;
69 return myOptions ? myOptions->getOptions().getOptionV3(name) :
UT_Vector3D(0,0,0);
73 return myOptions ? myOptions->getOptions().getOptionQ(name) :
UT_QuaternionD(0,0,0,1);
77 return myOptions ? myOptions->getOptions().getOptionV2(name) :
UT_Vector2D(0,0);
93 fpreal getStateForce()
const;
95 fpreal getStateDistance()
const;
103 void buildConRelGuideGeometry(
109 virtual void buildConRelGuide(
130 *getConstSubConRelSubclass()
const;
131 virtual void makeStateTransitionSubclass(
const SIM_Time &
time);
133 virtual fpreal getStateForceSubclass()
const;
135 virtual fpreal getStateDistanceSubclass()
const;
136 virtual void buildConRelGuideGeometrySubclass(
148 bool myMakingStateTransition;
151 mutable bool myGettingConRel;
virtual void makeEqualSubclass(const SIM_Data *source)
#define DECLARE_STANDARD_GETCASTTOTYPE()
#define DECLARE_CLASSNAME(DataClass, SuperClass)
virtual bool loadSubclass(UT_IStream &is)
SIM_ConRelError
This enumeration defines the error codes that can be set on a SIM_ConRel.
GT_API const UT_StringHolder time
virtual SIM_Query * createQueryObjectSubclass() const
UT_Vector2T< fpreal64 > UT_Vector2D
virtual int getDataI(const UT_StringRef &name) const
GA_RWHandleV3 color_attrib
virtual fpreal getDataF(const UT_StringRef &name) const
ConRelData(const SIM_Data *op, const GA_RWHandleV3 &cd)
UT_QuaternionT< fpreal64 > UT_QuaternionD
GLsizei GLsizei GLchar * source
const SIM_OptionsUser * myOptions
virtual void saveSubclass(std::ostream &os) const
UT_Vector3T< fpreal64 > UT_Vector3D
virtual bool getDataB(const UT_StringRef &name) const
GLuint const GLchar * name
virtual UT_Vector3 getDataV3(const UT_StringRef &name) const
SIM_API const UT_StringHolder force
virtual UT_Vector2 getDataV2(const UT_StringRef &name) const
const GA_RWHandleV3 & getColorAttrib() const
SIM_API const UT_StringHolder distance
virtual void initializeSubclass()
virtual UT_Quaternion getDataQ(const UT_StringRef &name) const