SIM_PointPosition Class Reference

#include <SIM_PointPosition.h>

Inheritance diagram for SIM_PointPosition:

SIM_Motion SIM_PositionSimple SIM_Position SIM_OptionsUser SIM_Data

List of all members.

Public Member Functions

 GETSET_DATA_FUNCS_F (SIM_NAME_TIME, Time)
 Access functions for our specific data.
 GETSET_DATA_FUNCS_S (SIM_NAME_SOPPATH, SopPath)
 GETSET_DATA_FUNCS_B (SIM_NAME_USETRANSFORM, UseTransform)
 GETSET_DATA_FUNCS_S (SIM_NAME_POINTGROUP, PointGroup)
 GETSET_DATA_FUNCS_I (SIM_NAME_POINTINDEX, PointIndex)
 GETSET_DATA_FUNCS_S (SIM_NAME_EXTRAATTRIBUTES, ExtraAttributes)
 GETSET_DATA_FUNCS_B (SIM_NAME_ROTATETONORMAL, RotateToNormal)
void calculateValuesFromPoint (const UT_Vector3 &prevpos, const UT_Quaternion &prevrot, fpreal prevtime)

Protected Member Functions

 SIM_PointPosition (const SIM_DataFactory *factory)
virtual ~SIM_PointPosition ()
virtual void initializeSubclass ()
virtual void setParametersSubclass (const SIM_Options &parms)


Detailed Description

This SIM_Motion implementation gets position information from a point in a SOP. The velocity is calculated automatically.

Definition at line 24 of file SIM_PointPosition.h.


Constructor & Destructor Documentation

SIM_PointPosition::SIM_PointPosition ( const SIM_DataFactory factory  )  [explicit, protected]

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


Member Function Documentation

void SIM_PointPosition::calculateValuesFromPoint ( const UT_Vector3 prevpos,
const UT_Quaternion prevrot,
fpreal  prevtime 
)

Force this data to update its position information from it's point information. This function is called automatically by setParametersSubclass(), but not when calling the set functions listed above.

SIM_PointPosition::GETSET_DATA_FUNCS_B ( SIM_NAME_ROTATETONORMAL  ,
RotateToNormal   
)

SIM_PointPosition::GETSET_DATA_FUNCS_B ( SIM_NAME_USETRANSFORM  ,
UseTransform   
)

SIM_PointPosition::GETSET_DATA_FUNCS_F ( SIM_NAME_TIME  ,
Time   
)

Access functions for our specific data.

SIM_PointPosition::GETSET_DATA_FUNCS_I ( SIM_NAME_POINTINDEX  ,
PointIndex   
)

SIM_PointPosition::GETSET_DATA_FUNCS_S ( SIM_NAME_EXTRAATTRIBUTES  ,
ExtraAttributes   
)

SIM_PointPosition::GETSET_DATA_FUNCS_S ( SIM_NAME_POINTGROUP  ,
PointGroup   
)

SIM_PointPosition::GETSET_DATA_FUNCS_S ( SIM_NAME_SOPPATH  ,
SopPath   
)

virtual void SIM_PointPosition::initializeSubclass (  )  [protected, virtual]

Override this method to set this data to its default empty state. Remember to call the base class implementation. The default implementation clears all subdata, and if the data is a subclass of SIM_OptionsUser, calls initializeFromParmDefaults().

Reimplemented from SIM_Data.

virtual void SIM_PointPosition::setParametersSubclass ( const SIM_Options parms  )  [protected, virtual]

Override this method to process our DOP node parameter values. Automatically created DOP nodes turn their parameter values into SIM_Options entries, which are passed to this function. This function can also be used to help load data from a stream if it is stored in a SIM_Options. Remember to call the base class implementation.

Reimplemented from SIM_Data.


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

Generated on Fri May 25 00:10:40 2012 for HDK by  doxygen 1.5.9