8#ifndef CVisualTrajectory_H
9#define CVisualTrajectory_H
23#include "sfh/math/math.h"
24#include "sfh/sim/kinematics.h"
25#include "sfh/constants.h"
27#ifdef FH_VISUALIZATION
28#include "sfh/ogre/C3DLine.h"
31namespace Visualization {
37typedef Eigen::Matrix<double, 3, 1> vec3;
38typedef Eigen::Matrix<int, 3, 1> vec3i;
39typedef Eigen::Matrix<int, 2, 1> vec2i;
40typedef Eigen::Quaternion<double> quat;
45 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
51 virtual void OdeFcn(
const double dT,
const double*
const adX,
double*
const adXDot,
const bool bIsMajorTimeStep) {};
53#ifdef FH_VISUALIZATION
55 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const pCreator);
58 virtual void RenderUpdate(
const double dT,
const double*
const adX);
64 std::vector<vec3> m_NodePos;
80 virtual const double* OutputPar(
const double dT,
const double*
const adX);
82#ifdef FH_VISUALIZATION
83 Ogre::SceneNode* m_RenderNode;
84 Ogre::SceneManager* m_SceneMgr;
85 Ogre::ManualObject* m_Manual;
Definition: CVisualTrajectory.h:43
virtual void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculate the state derivatives.
Definition: CVisualTrajectory.h:51