90#include <fhsim/simobject/SimObject.h>
91#ifdef FH_VISUALIZATION
92#include "sfh/ogre/CDynamicLines.h"
96#include "subroutines/RBCEngine.h"
111#ifdef FH_VISUALIZATION
113 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
117 void RenderUpdate(
const double T,
const double*
const X);
123 void OdeFcn(
const double T,
const double*
const X,
124 double*
const XDot)
const;
128 const double*
const ForceA(
const double T,
const double*
const X);
129 const double*
const ForceB(
const double T,
const double*
const X);
130 const double*
const PosR(
const double T,
const double*
const X,
132 const double*
const VelR(
const double T,
const double*
const X,
136 void InitialConditionSetup(
const double T,
137 const double *
const currentIC,
138 double*
const updatedIC,
139 ISimObjectCreator*
const creator);
151#ifdef FH_VISUALIZATION
152 Ogre::Entity* m_RenderSpring;
153 Ogre::SceneNode* m_RenderNode;
155 CDynamicLines* m_lines =
nullptr;
172 int m_NofBarElements;
Class containing a Rigid Bar Cable (RBC) calculation engine.
Definition RBCEngine.h:20
Definition RigidBarCable.h:101
void OdeFcn(const double T, const double *const X, double *const XDot) const
Calculates the time derivative of the state vector.
RigidBarCable(std::string simObjectName, ISimObjectCreator *creator)
The constructor sets the pointer to the output object and the parser object.
~RigidBarCable()
The destructor cleans up dynamically allocated memory.