Fhsim
Marine systems simulation
ITrawlCable.h
1
9
#ifndef ITRAWLCABLE_H
10
#define ITRAWLCABLE_H
11
12
#include "ICommonComputation.h"
13
#include "eigen_matrix_defs.h"
14
#include "TrawlCableConstraintSets.h"
15
16
class
ITrawlCable
17
{
18
public
:
19
virtual
void
Compute(
const
double
T,
const
double
*
const
X) = 0;
20
virtual
void
AddDependency(ICommonComputation* dependecy) = 0;
21
virtual
double
getRegulatorTimeConstant() = 0;
22
virtual
CoRiBoDynamics::ConstraintSolver
* GetConstraintSolver() = 0;
23
virtual
CoRiBoDynamics::TrawlCableCollisionManager
*
GetCollisionManager
() = 0;
24
virtual
CoRiBoDynamics::TrawlCableJointConstraint
*
GetJointConstraint
() = 0;
25
virtual
CoRiBoDynamics::EnvironmentForces
*
GetEnvironmentForces
() = 0;
26
27
/*
28
virtual int addSphereGeometry(double radius, double gamma, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
29
virtual int addCapsuleGeometry(double radius, double length, double gamma, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
30
virtual int addTorusGeometry(double majorRadius, double minorRadius, double gamma, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
31
virtual int addChamferGeometry(double majorRadius, double minorRadius, double gamma, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
32
virtual int addPlateGeometry(double lengthX, double lengthY, double thickness, double gamma, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
33
34
virtual int addSphereGeometry(double radius, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
35
virtual int addCapsuleGeometry(double radius, double length, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
36
virtual int addTorusGeometry(double majorRadius, double minorRadius, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
37
virtual int addChamferGeometry(double majorRadius, double minorRadius, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
38
virtual int addPlateGeometry(double lengthX, double lengthY, double thickness, double frictionCoefficient, ICommonComputation* geometryUpdater) = 0;
39
40
virtual void updateGeometry(int index, const double* Position, const double* Velocity, const double* Orientation, const double* AngularVelocity) = 0;
41
virtual CoRiBoDynamics::vec6 getGeometryForce(int index, const double T, const double* const X) = 0;*/
42
};
43
#endif
CoRiBoDynamics::ConstraintSolver
Definition:
ConstraintSolver.h:31
CoRiBoDynamics::EnvironmentForces
Definition:
TrawlCableConstraintSets.h:116
CoRiBoDynamics::TrawlCableCollisionManager
Definition:
TrawlCableConstraintSets.h:70
CoRiBoDynamics::TrawlCableJointConstraint
Definition:
TrawlCableConstraintSets.h:10
ITrawlCable
Definition:
ITrawlCable.h:17
ITrawlCable::GetCollisionManager
virtual CoRiBoDynamics::TrawlCableCollisionManager * GetCollisionManager()=0
6dof rigid body constrained dynamic solver
ITrawlCable::GetEnvironmentForces
virtual CoRiBoDynamics::EnvironmentForces * GetEnvironmentForces()=0
structural joint constraints
ITrawlCable::GetJointConstraint
virtual CoRiBoDynamics::TrawlCableJointConstraint * GetJointConstraint()=0
collision constraints
reloadrepos
fhsim_extras
src
trawl_mooring_interaction
ITrawlCable.h
Generated by
1.9.4