45#include "LineStructure.h"
46#include "SupergridCable.h"
47#include "SupergridWinchCable.h"
48#include "ConstraintSolver.h"
53 WinchableCable(
const string& simObjectName, ISimObjectCreator*
const creator);
55 void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool bIsMajorTimeStep);
57 void setWinchOrientation(
const double T);
59 void InitialConditionSetup(
const double T,
const double *
const currentIC,
double*
const updatedIC, ISimObjectCreator*
const creator);
60 void FinalSetup(
const double T,
const double *
const X, ISimObjectCreator*
const creator);
62#ifdef FH_VISUALIZATION
63 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
64 void RenderUpdate(
const double T,
const double*
const X);
71 struct cable_segment {
double weight;
double length;
double diameter;
double EA;
double EI;
double length_position;};
72 std::vector<cable_segment> m_cable_spec;
76 const double* EndForce(
const double T,
const double*
const X );
87 virtual CoRiBoDynamics::vec3 Current(
double T,
const double* X,
const double* Position)
89 return CoRiBoDynamics::vec3(0,1.5,0);
92 virtual double OceanSurfaceElevation(
double T,
const double* X,
const double* Position)
97 virtual double SeaDepth(
const double* Position)
102 virtual void CurrentQuery(
double T,
const double* X,
const CoRiBoDynamics::vec3& Position, CoRiBoDynamics::vec3& current,
double& surface_elevation,
double& density){
103 current = CoRiBoDynamics::vec3(0,1.5,0);
104 surface_elevation = 0;
105 density = 1025 * (Position.z()>0);
Definition: ConstraintSolver.h:31
Definition: SupergridLineStructure.h:15
Definition: SupergridWinchCable.h:27
Definition: WinchableCable.h:85
Definition: WinchableCable.h:51
Definition: WinchableCable.h:71