Marine systems simulation
CBox Class Reference
+ Inheritance diagram for CBox:
+ Collaboration diagram for CBox:

Public Member Functions

 CBox (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 

Static Public Member Functions

static Eigen::Vector4f getQuaternion (double *eulerAnglesRad)
 
static Eigen::Vector4f normalizeQuaternion (const Eigen::Vector4f &q)
 

Protected Member Functions

virtual const double * Position (const double dT, const double *const adX)
 
virtual const double * Velocity (const double dT, const double *const adX)
 
virtual const double * Rotation (const double dT, const double *const adX)
 

Protected Attributes

int m_IStatePos
 The index of the position state.
 
int m_IStateVel
 The index of the velocity state.
 
int m_IStateRot
 The index of the rotation state.
 
double m_dBoxDim [3]
 The dimensions of the box.
 

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