1#ifndef ForceReceiver_h__
2#define ForceReceiver_h__
8#include <ISimObjectCreator.h>
10#ifdef FH_VISUALIZATION
11#include "sfh/ogre/CMovableText.h"
12#include "sfh/ogre/C3DArrow.h"
21 ForceReceiver(
const string simObjectName, ISimObjectCreator*
const creator);
25 virtual void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool bIsMajorTimeStep);
27 #ifdef FH_VISUALIZATION
30 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
33 virtual void RenderUpdate(
const double T,
const double*
const X);
36 const double* Force(
const double T,
const double*
const X);
37 const double* Torque(
const double T,
const double*
const X);
42 ISignalPort *m_InTargetPosition;
43 ISignalPort *m_InForcePosition;
44 ISignalPort *m_InForce;
50 Eigen::Matrix<double,3,1> m_TargetPosition;
51 Eigen::Matrix<double,3,1> m_ForcePosition;
54 #ifdef FH_VISUALIZATION
55 std::string m_sMaterial;
58 Ogre::Entity* m_RenderMass;
59 Ogre::SceneNode* m_RenderNode;
61 C3DArrow *m_ForceArrow;
62 Ogre::CMovableText *m_TextDisplay;
Definition: ForceReceiver.h:19
virtual void OdeFcn(const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
Method for calculating the derivative of the object states, which must be implemented in the individu...
Simple waypoint object.
Definition: CableAttach.h:16