SIM_ConAnchorObjRotational Class Reference

#include <SIM_ConAnchorObjRotational.h>

Inheritance diagram for SIM_ConAnchorObjRotational:

SIM_ConAnchorRotational SIM_ConAnchor SIM_Data SIM_OptionsUser SIM_ConAnchorObjPointRot SIM_ConAnchorObjSpaceRot SIM_ConAnchorObjPointIdRot SIM_ConAnchorObjPointNumRot

List of all members.

Public Member Functions

 GETSET_DATA_FUNCS_S (SIM_NAME_OBJECT, ObjectName)
 GETSET_DATA_FUNCS_B (SIM_NAME_USEWORLDSPACEPOS, UseWorldSpacePosition)
 GETSET_DATA_FUNCS_V3 (SIM_NAME_WORLDSPACEPOS, WorldSpacePosition)
 Retrieve the world-space position for the guide geometry.

Protected Member Functions

 SIM_ConAnchorObjRotational (const SIM_DataFactory *f)
virtual ~SIM_ConAnchorObjRotational ()
virtual bool getNeedsInitSubclass () const
virtual void initAnchorSubclass (const SIM_Object *object)
virtual bool getObjectSpecificationSubclass (UT_String &str) const
 Implements the real functionality of getObjectSpecification.
void initParmsFromWorldSpacePosition (const UT_Vector3 &worldspacepos, const SIM_Object *object)
virtual void initParmsFromWorldSpacePositionSubclass (const UT_Vector3 &worldspacepos, const SIM_Object *object)=0
virtual UT_Quaternion getOrientationSubclass (const SIM_Time &time) const
virtual UT_Vector3 getAngularVelocitySubclass (const SIM_Time &time) const


Detailed Description

Base class for constraint anchors that specify a rotation in the space of a particular object.

Definition at line 23 of file SIM_ConAnchorObjRotational.h.


Constructor & Destructor Documentation

SIM_ConAnchorObjRotational::SIM_ConAnchorObjRotational ( const SIM_DataFactory f  )  [explicit, protected]

virtual SIM_ConAnchorObjRotational::~SIM_ConAnchorObjRotational (  )  [protected, virtual]


Member Function Documentation

virtual UT_Vector3 SIM_ConAnchorObjRotational::getAngularVelocitySubclass ( const SIM_Time time  )  const [protected, virtual]

Implements SIM_ConAnchorRotational.

Reimplemented in SIM_ConAnchorObjPointRot.

virtual bool SIM_ConAnchorObjRotational::getNeedsInitSubclass (  )  const [protected, virtual]

Returns true if the anchor needs to have initAnchor() called. The default implementation returns false.

Reimplemented from SIM_ConAnchor.

virtual bool SIM_ConAnchorObjRotational::getObjectSpecificationSubclass ( UT_String str  )  const [protected, virtual]

Implements the real functionality of getObjectSpecification.

Reimplemented from SIM_ConAnchor.

virtual UT_Quaternion SIM_ConAnchorObjRotational::getOrientationSubclass ( const SIM_Time time  )  const [protected, virtual]

SIM_ConAnchorObjRotational::GETSET_DATA_FUNCS_B ( SIM_NAME_USEWORLDSPACEPOS  ,
UseWorldSpacePosition   
)

This value must be true to force the constraint to initialize itself from the provided world space position. Otherwise the constraint-specific parameters are used directly.

SIM_ConAnchorObjRotational::GETSET_DATA_FUNCS_S ( SIM_NAME_OBJECT  ,
ObjectName   
)

SIM_ConAnchorObjRotational::GETSET_DATA_FUNCS_V3 ( SIM_NAME_WORLDSPACEPOS  ,
WorldSpacePosition   
)

Retrieve the world-space position for the guide geometry.

virtual void SIM_ConAnchorObjRotational::initAnchorSubclass ( const SIM_Object object  )  [protected, virtual]

Initializes the anchor for use by a solver. The default implementation does nothing.

Reimplemented from SIM_ConAnchor.

void SIM_ConAnchorObjRotational::initParmsFromWorldSpacePosition ( const UT_Vector3 worldspacepos,
const SIM_Object object 
) [protected]

virtual void SIM_ConAnchorObjRotational::initParmsFromWorldSpacePositionSubclass ( const UT_Vector3 worldspacepos,
const SIM_Object object 
) [protected, pure virtual]


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

Generated on Mon Jan 28 00:29:52 2013 for HDK by  doxygen 1.5.9