68#ifdef FH_VISUALIZATION
73# pragma warning(disable : 4251)
74# pragma warning(disable : 4267)
75# include "sfh/ogre/CScreenshotManager.h"
78# include <OgreResourceGroupManager.h>
80# include "sfh/timers/StopWatch.h"
91 CCameraShot(std::string sSimObjectName, ISimObjectCreator* pCreator);
94 virtual void OdeFcn(
const double dT,
const double*
const adX,
95 double*
const adXDot,
const bool bIsMajorTimeStep);
97#ifdef FH_VISUALIZATION
99 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
102 void RenderUpdate(
const double T,
const double*
const X);
106 std::string GetTimestring();
108#ifdef FH_VISUALIZATION
109 std::string m_sFilename;
115 double m_dVideoStopTime;
116 double m_dVideoStartTime;
117 unsigned int m_iCounter;
118 bool m_bHasTakenShot;
121 enum FRAMERATE_CONTROL
124 MAJOR_TIMESTEP_PER_FRAME
126 FRAMERATE_CONTROL m_framerateControl;
129 sfh::timers::StopWatch StopWatch;
132 CFhCamera* m_pFhCamera;
133 Ogre::Camera* m_pCamera;
134 CScreenshotManager* m_pScreenshotManager;
Definition: CCameraShot.h:88
virtual void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
CCameraShot(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.