15#include "ISimObjectCreator.h"
21const double m_PI = 3.1415926;
28 CToCollar(
const string& simobjectname, ISimObjectCreator*
const creator);
34 virtual void OdeFcn(
const double T,
const double *
const X,
double *
const XDot,
const bool bIsMajorTimeStep);
38 const double* outputCentrePos(
const double T,
const double*
const X);
40#ifdef FH_VISUALIZATION
43 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
46 virtual void RenderUpdate(
const double T,
const double*
const X);
53 double** m_NetConnectPosGlobal;
54 double m_CentrePos[3];
62#ifdef FH_VISUALIZATION
63 Ogre::Entity* m_RenderMass;
64 Ogre::SceneNode* m_RenderNode;
65 Ogre::Quaternion m_InitOrientation;
67 std::string m_MeshName;
Definition: CToCollar.h:24
~CToCollar()
The destructor cleans up.
virtual void OdeFcn(const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
double ** m_NetConnectPos
holds pointers to all net connection pos arrays
Definition: CToCollar.h:52
const double * outputConnectorPos(const double T, const double *const X, const int index)
Writes to the output ports.
CToCollar(const string &simobjectname, ISimObjectCreator *const creator)
The constructor sets the pointer to the output object and the parser object.
int m_IStatePos
Centre position of ring.
Definition: CToCollar.h:57
Class modelling a Net cage.
Definition: CBottomRing.h:35