3#include "LineStructureGravityHydro.h"
7 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
13 void InitialConditionSetup(
double *
const states, std::vector<CoRiBoDynamics::RigidElement*>& plates,
const Eigen::Quaterniond& plate_null_angle);
15 void SetAnchorAPos(
const Eigen::Vector3d& P){m_anchorA_P = P;}
16 void SetAnchorBPos(
const Eigen::Vector3d& P){m_anchorB_P = P;}
17 std::vector<CoRiBoDynamics::RigidElement*> GetPlateConnections();
21 void SetPlateRadius(
double R){m_plate_radius = R;}
25#ifdef FH_VISUALIZATION
26 virtual void RenderInit(Ogre::Root*
const ogreRoot);
27 virtual void RenderUpdate(
const double T,
const double*
const X);
31 std::vector<CoRiBoDynamics::RigidElement*> m_elements;
35 int m_num_frame_elements;
36 double m_frameLineLength;
38 int m_num_anchor_elements;
39 double m_anchorLineLength;
41 double m_frameDiameter;
42 double m_anchorDiameter;
44 double m_anchorDensity;
45 double m_frameDensity;
47 int m_num_plate_elements;
48 double m_plate_radius;
53 Eigen::Vector3d m_anchorA_P;
54 Eigen::Vector3d m_anchorB_P;
65#ifdef FH_VISUALIZATION
66 std::unique_ptr<C3DLine> m_line;
Definition: CEnvironment.h:10
Definition: CollisionManager.h:135
Definition: ConstraintSolver.h:31
Definition: JointConstraint.h:17
Definition: ShipContact.h:7
Definition: FrameCable.h:5
Eigen::Vector3d m_Ca
Tangential drag coefficient.
Definition: FrameCable.h:63
void ComputeConstraints(const double T, const double *const X)
double m_Cd_t
Normal drag coefficient.
Definition: FrameCable.h:62
Definition: JointConstraint.h:125