FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
SeafloorMesh.h
1#pragma once
2
3#include "EnvironmentSettings.h"
4#ifdef FH_VISUALIZATION
5# include <Ogre.h>
6# include <fhsim/visual/renderer/FhCamera.h>
7namespace visual
8{
9
21class SeafloorMesh
22{
23public:
31 SeafloorMesh(Ogre::Root* const ogreRoot, FhCamera* fhCamera, std::shared_ptr<EnvironmentSettings> settings, ISimObjectCreator* creator);
32
38 void Update(const double T, const double* const X);
39
40private:
41 std::shared_ptr<EnvironmentSettings> m_settings;
42 Ogre::SceneNode* m_renderNode = nullptr;
43 Ogre::ManualObject* m_renderObj = nullptr;
44 FhCamera* m_fhCamera = nullptr;
45 double m_minDepth = 0.0;
46 double m_maxDepth = 0.0;
47};
48} // namespace visual
49#endif
Visualization utilities.
Definition EnvironmentSettings.h:14