27#include "sfh/math/math.h"
28#include "sfh/sim/kinematics.h"
29#include "sfh/constants.h"
31#ifdef FH_VISUALIZATION
32#include "sfh/ogre/C3DArrow.h"
35namespace 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
48 CVisualArrow(std::string sSimObjectName, ISimObjectCreator* pCreator);
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);
68 ISignalPort* m_InVector;
69 ISignalPort* m_InScale;
71 ISignalPort* m_InVecNor;
74#ifdef FH_VISUALIZATION
75 Ogre::SceneManager* m_SceneMgr;
Definition: CVisualArrow.h:43
virtual void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculate the state derivatives.
Definition: CVisualArrow.h:51