Fhsim
Marine systems simulation
CRigidPolyplate.h
1
#ifndef C_RigidPolyplate_H
2
#define C_RigidPolyplate_H
3
4
#include "CRigidBody.h"
5
#include "PolyplateSpec.h"
6
7
namespace
rigidbody
8
{
9
class
CRigidPolyplate
:
public
CRigidBody
10
{
11
public
:
12
virtual
~CRigidPolyplate
();
13
CRigidPolyplate
(
PolyplateSpec
& plateSpec);
14
mat6 GetInertiaMatrix(
const
vec3& r,
double
time,
const
double
* states,
CEnvironment
* environment);
15
vec6 GetInternalForces(
const
vec6& dX,
const
vec3& r,
const
quat& q,
CEnvironment
* environment,
double
time,
const
double
* states);
16
17
18
#ifdef FH_VISUALIZATION
19
void
DrawBody(Ogre::SceneNode* renderNode, Ogre::SceneManager* sceneMgr);
20
#endif
21
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
22
protected
:
23
PolyplateSpec
m_spec
;
24
};
25
};
// namespace rigidbody
26
#endif
CEnvironment
Definition:
CEnvironment.h:10
rigidbody::CRigidBody
Definition:
CRigidBody.h:18
rigidbody::CRigidPolyplate
Definition:
CRigidPolyplate.h:10
rigidbody::CRigidPolyplate::m_spec
PolyplateSpec m_spec
The specification of the plate.
Definition:
CRigidPolyplate.h:23
rigidbody::PolyplateSpec
Definition:
PolyplateSpec.h:8
reloadrepos
fhsim_base
src
rigidbody
CRigidPolyplate.h
Generated by
1.9.4