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