VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTritonImGuiHelper.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 
13 #include <vector>
14 
15 #include <vrvTriton/vrvTriton.h>
16 #include <osg/ref_ptr>
17 
18 namespace osg
19 {
20  class StateSet;
21  class RenderInfo;
22  class Camera;
23  class Texture;
24 }
25 
26 namespace makVrv
27 {
28  class DtDe;
29  class DtTritonDrawable;
30  class DtTritonManager;
31  class DtHeightMapSuperManager;
32 
34  {
35  public:
39  virtual ~DtTritonImGuiHelper();
40 
42  DtTritonImGuiHelper() = delete;
44  DtTritonImGuiHelper(const DtTritonImGuiHelper& rhs) = delete;
46  DtTritonImGuiHelper& operator=(const DtTritonImGuiHelper& rhs) = delete;
47  public:
49  virtual void updateImguiAndConstantsOffOfImgui(DtTritonManager& tritonManager, bool heightMapEnabled);
50 
52  virtual void updateImguiHeightMapDebugOverlay(osg::RenderInfo& renderInfo);
53 
54  protected:
56 
57  std::vector<osg::ref_ptr<osg::Camera> > myDebugVisualsCameras;
58  std::vector<osg::ref_ptr<const osg::Texture> > myDebugVisualsTextures;
62 
64  };
65 
66 }
std::vector< osg::ref_ptr< const osg::Texture > > myDebugVisualsTextures
Definition: DtTritonImGuiHelper.h:58
osg::ref_ptr< osg::Texture > myDebugHeightMapVisualTexture
Definition: DtTritonImGuiHelper.h:60
DtHeightMapSuperManager & myHeightMapSuperManager
Definition: DtTritonImGuiHelper.h:63
Contains DLL export macros.
DtDe & myDe
Definition: DtTritonImGuiHelper.h:55
#define DT_DLL_VRVTRITON
Definition: vrvTriton.h:19
bool myShowDebugHeightMapOverlay
Definition: DtTritonImGuiHelper.h:61
Definition: DtTritonManager.h:49
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
std::vector< osg::ref_ptr< osg::Camera > > myDebugVisualsCameras
Definition: DtTritonImGuiHelper.h:57
Definition: DtTritonImGuiHelper.h:33
osg::ref_ptr< osg::Camera > myDebugHeightMapCamera
Definition: DtTritonImGuiHelper.h:59
A class to manage multiple DtHeightMapManager(s) (one per camera)
Definition: DtHeightMapSuperManager.h:55

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)