14#ifndef CVisualRBOGRE_H
15#define CVisualRBOGRE_H
29#include "sfh/math/math.h"
30#include "sfh/sim/kinematics.h"
31#include "sfh/constants.h"
33namespace Visualization {
35typedef Eigen::Matrix<double, 3, 1> vec3;
36typedef Eigen::Matrix<int, 3, 1> vec3i;
37typedef Eigen::Quaternion<double> quat;
42 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
45 CVisualRBOGRE(std::string sSimObjectName, ISimObjectCreator* pCreator);
48 virtual void OdeFcn(
const double dT,
const double*
const adX,
double*
const adXDot,
const bool bIsMajorTimeStep) {};
50#ifdef FH_VISUALIZATION
52 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const pCreator);
55 virtual void RenderUpdate(
const double dT,
const double*
const adX);
63 std::vector<int> m_DOFIndex;
72#ifdef FH_VISUALIZATION
73 Ogre::SceneNode* m_RenderNode;
74 Ogre::SceneManager* m_SceneMgr;
Definition: CVisualRBOGRE.h:40
virtual void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculate the state derivatives.
Definition: CVisualRBOGRE.h:48