VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtImGuiHelper.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #include <vrvOsg/vrvOsg.h>
11 
12 #include <osg/Group>
13 
14 #include <string>
15 
16 #include <osg/Texture>
17 
18 namespace osgViewer
19 {
20  class CompositeViewer;
21 }
22 namespace makVrv
23 {
24  class DtImGuiLoaderStatsData;
25  class DtDe;
26  class DtOsgRenderer;
27 
29  {
30  public:
31  DtImguiHelper(DtDe& de);
32  virtual ~DtImguiHelper();
33 
34  virtual void releaseResources(osg::State* state);
35 
36  virtual void updateLoaderStats(DtOsgRenderer& renderer,
37  const osg::ref_ptr<osg::Group>& renderRoot,
38  osgViewer::CompositeViewer &viewer, osg::Texture::TextureObjectManager* tom);
39 
40  virtual DtImGuiLoaderStatsData* loaderStatsData(void);
41 
43  virtual void createProfilerUI(osg::RenderInfo& renderInfo);
44 
46  virtual int numMultiSamples();
47 
48  protected:
56  };
57 
58 }
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:125
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: DtImGuiHelper.h:28
class that gathers per frame stats and puts up UI
Definition: DtImGuiLoaderStatsData.h:36
int myNumMultiSamples
Definition: DtImGuiHelper.h:51
bool myMultiSampleOverriden
Definition: DtImGuiHelper.h:54
Contains DLL export macros.
DtImGuiLoaderStatsData * myLoaderStatsData
data for the loader stats ui
Definition: DtImGuiHelper.h:50
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtDe & myDe
Definition: DtImGuiHelper.h:55
int mySwapInterval
used for VSync setting
Definition: DtImGuiHelper.h:53

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)