80#include "IBasicBottom.h"
84 CCenterWeight(std::string sSimObjectName, ISimObjectCreator* pCreator);
87 virtual void OdeFcn(
const double dT,
const double*
const adX,
88 double*
const adXDot,
const bool bIsMajorTimeStep);
89#ifdef FH_VISUALIZATION
91 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
93 void RenderUpdate(
const double T,
const double*
const X);
95 void FinalSetup(
const double dT,
const double *
const adX, ISimObjectCreator*
const pCreator);
96 virtual const double* Position(
const double dT,
const double*
const adX);
97 virtual const double* Velocity(
const double dT,
const double*
const adX);
108 double m_dVisualizationScale;
113#ifdef FH_VISUALIZATION
114 std::string m_sMaterial;
115 std::string m_sMeshName;
117 Ogre::Entity* m_pRenderEntity;
118 Ogre::SceneNode* m_pRenderNode;
119 Ogre::SceneManager* m_pSceneMgr;
Definition: CCenterWeight.h:82
int m_IStateVel
The index of the velocity state.
Definition: CCenterWeight.h:104
int m_IStatePos
The index of the position state.
Definition: CCenterWeight.h:103
virtual void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
IBasicBottom ** m_ppBottom
The bottom object.
Definition: CCenterWeight.h:111
ISignalPort * m_pInForce2
A pointer to the input force 2.
Definition: CCenterWeight.h:101
ISignalPort * m_pInForce1
A pointer to the input force 1.
Definition: CCenterWeight.h:100
ISignalPort * m_pInForce3
A pointer to the input force 3.
Definition: CCenterWeight.h:102
Interface for calculating the bottom force on various objects.
Definition: IBasicBottom.h:23