58#pragma warning( disable : 4996)
59#include <unsupported/Eigen/SparseExtra>
63#ifdef FH_VISUALIZATION
64 #include "sfh/ogre/C3DLine.h"
72 CCollision(
const string& simObjectName, ISimObjectCreator*
const creator);
74 void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool bIsMajorTimeStep);
77 const double* energy(
const double T,
const double*
const X);
78 const double* momentum(
const double T,
const double*
const X);
80#ifdef FH_VISUALIZATION
81 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
82 void RenderUpdate(
const double T,
const double*
const X);
86 typedef Eigen::Matrix<double,3,3> mat3;
87 typedef Eigen::Matrix<double,3,1> vec3;
105 double m_systemEnergy[3];
106 double m_systemMomentum[3];
112#ifdef FH_VISUALIZATION
113 Ogre::SceneNode** m_ManualObjectNodes;
Definition: CCollision.h:70
CCollision(const string &simObjectName, ISimObjectCreator *const creator)
reads parameters, registers states, output and intput ports.
Definition: CCollision.h:102