Marine systems simulation
CSmoothTrajectory.h
1
62#ifndef CSmoothTrajectory_H
63#define CSmoothTrajectory_H
64
65#include "SimObject.h"
66
67#include <string>
68
69class CSmoothTrajectory : public SimObject
70{
71 public:
73 CSmoothTrajectory(std::string sSimObjectName, ISimObjectCreator* pCreator);
74
76 void OdeFcn(const double dT, const double* const adX, double* const adXDot, const bool bIsMajorTimeStep){};
77
78 const double* Out(const double T, const double* const X);
79
80
81#ifdef FH_VISUALIZATION
83 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator) { }
84
86 virtual void RenderUpdate(const double T, const double* const X) { }
87#endif
88
89 protected:
90 int m_portWidth;
91 double* m_output;
92 double* m_tStart;
93 double* m_tStop;
94 double* m_amplitude;
95 double* m_bias;
96 double* m_phase;
97 double* m_period;
98};
99#endif
Definition: CSmoothTrajectory.h:70
CSmoothTrajectory(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.