92#include <fhsim/simobject/SimObject.h>
93#ifdef FH_VISUALIZATION
94#include "sfh/ogre/CDynamicLines.h"
98#include "subroutines/RBCEngine.h"
113#ifdef FH_VISUALIZATION
115 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
119 void RenderUpdate(
const double T,
const double*
const X);
125 void OdeFcn(
const double T,
const double*
const X,
126 double*
const XDot)
const;
130 const double*
const ForceA(
const double T,
const double*
const X);
131 const double*
const ForceB(
const double T,
const double*
const X);
132 const double*
const PosR(
const double T,
const double*
const X,
134 const double*
const VelR(
const double T,
const double*
const X,
138 void InitialConditionSetup(
const double T,
139 const double *
const currentIC,
140 double*
const updatedIC,
141 ISimObjectCreator*
const creator);
153#ifdef FH_VISUALIZATION
154 Ogre::Entity* m_RenderSpring;
155 Ogre::SceneNode* m_RenderNode;
157 CDynamicLines* m_lines =
nullptr;
174 int m_NofBarElements;
Class containing a Rigid Bar Cable (RBC) calculation engine.
Definition RBCEngine.h:20
Definition RigidBarCable.h:103
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.