Marine systems simulation
DeadFish.h
1#pragma once
2
9#include <stdio.h>
10#include <string>
11#include "ISimObjectCreator.h"
12
13namespace Netcage {
14
15class DeadFish:public SimObject
16{
17public:
18 DeadFish(const string simobjectname, ISimObjectCreator* const creator);
19 ~DeadFish();
20
21 const double* outPosition(const double T, const double* const X);
22
23 void OdeFcn(const double T, const double* const X, double* const XDot, const bool bIsMajorTimeStep);
24
25#ifdef FH_VISUALIZATION
26 void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator);
27 void RenderUpdate( const double T, const double* const X);
28#endif
29
30protected:
31
32 double m_DeadFishMass;
33 ISignalPort* m_InputForce; // Velocity of net structure bottom node
34
35 int m_StateVelocity;
36 int m_StatePosition;
37
38 double m_Mass;
39 double m_Weigth[3];
40 double m_Radius;
41 double m_Position[3];
42};
43
44} // namespace
Definition: DeadFish.h:16
Class modelling a Net cage.
Definition: CBottomRing.h:35