Marine systems simulation
FrameTransform.h
1#ifndef FrameTransform_h__
2#define FrameTransform_h__
24#include <ISimObjectCreator.h>
25
26namespace Ship{
27 class FrameTransform: public SimObject
28 {
29 public:
30
31 FrameTransform( const string simObjectName, ISimObjectCreator* const creator);
33
34 virtual void OdeFcn(const double T, const double* const X, double* const XDot, const bool bIsMajorTimeStep);
35
36 #ifdef FH_VISUALIZATION
37 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator);
38 virtual void RenderUpdate( const double T, const double* const X );
39 #endif
40 public:
42 const double * FromFrame(const double T, const double * const X);
44 const double * ToFrame(const double T, const double * const X);
45 private:
46 double BufferFrom[3];
47 double BufferTo[3];
49 ISignalPort *m_InQuaternion;
51 ISignalPort *m_InVector;
52 };
53}
54#endif // FrameTransform_h__
Definition: FrameTransform.h:28
const double * FromFrame(const double T, const double *const X)
const double * ToFrame(const double T, const double *const X)
Simple waypoint object.
Definition: CableAttach.h:16