VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgRenderer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <vrvOsg/DtSceneRoot.h>
17 
18 #include <vrvCore/DtRenderer.h>
19 
20 #include <osg/ref_ptr>
21 #include <osg/Group>
22 
23 #include <vector>
24 #include <string>
25 #include <unordered_map>
26 
27 namespace osg
28 {
29  class Group;
30  class Node;
31  class Camera;
32  class Operation;
33  class TextureObjectManager;
34 }
35 
36 namespace osgUtil
37 {
38  class RenderBin;
39 }
40 
41 namespace osgViewer
42 {
43  class Viewer;
44  class CompositeViewer;
45  class View;
46  class ViewerBase;
47 }
48 
49 namespace osgShadow
50 {
51  class ShadowedScene;
52 }
53 
54 namespace osgEarth
55 {
56  class MapNode;
57 }
58 
59 namespace makVrv
60 {
61  class DtStatsSet;
62  class DtChannel;
63  class DtGlDebugger;
64  class DtOsgChannel;
65  class DtEffectManager;
66  class DtOsgWindowManager;
67  class DtOsgProfilerOverlay;
68  class DtOsgPerformanceStatsOverlay;
69  class DtFastMatrixTransform;
70  class DtSceneGraph;
71  class DtOsgGlobalShaderComponent;
72  class DtOsgCullVisitor;
73  class DtShadowSettingsObject;
74  class DtTaxiwaySignManager;
75  class DtRunwayMarkingManager;
76  class DtGLFontManager;
77  class DtLightIndicatorManager;
78  class DtGpuArena;
79  class DtImGuiLoaderStatsData;
80  class DtImguiHelper;
81  class DtMultiViewData;
82  class DtOsgWaterRipplesManager;
83  enum class DtModelSetId;
84 
85 
93  {
94  public:
95  friend class DtSceneGraph;
96  friend class DtOsgRendererCreator;
97  friend class DtSceneGraphTreeLogic;
98 
99  //Render bin definitions.
100  const static int SKY_RENDERBIN = -10;
101  const static int DEFAULT_RENDERBIN = 0;
102  const static int DEPTH_ONLY_RENDERBIN = 5;
103  const static int OCEAN_RENDERBIN = 6;
104  const static int LIGHTPOINT_RENDERBIN = 7;
105  const static int CLOUD_RENDERBIN = 8;
106  const static int DEFAULT_TRANSPARENT_RENDERBIN = 10; // this has to be 10 otherwise everything goes south, the rest are more flexible
107  const static int COCKPIT_RENDERBIN = 25;
108 
109  //Render bin names
110  static const std::string AlphaToCoverageBin;
111  static const std::string SkyBin;
112  static const std::string DepthOnlyBin;
113  static const std::string OceanBin;
114  static const std::string LightPointBin;
115  static const std::string CloudBin;
116  static const std::string CockpitBin;
117 
122  static DtOsgRenderer* findInstance(DtDe& de);
123 
125  virtual ~DtOsgRenderer();
126 
129  virtual void createManagers() override;
130 
133  virtual void cleanup() override;
134 
136  virtual void update();
137 
139  virtual void render();
140 
142  virtual bool viewExists() const;
143 
145  virtual void resetSceneGraph();
146 
149  virtual void removeChannelRoot(DtChannel* channel);
150 
156  virtual bool isSceneRootEmpty(const DtSceneRoot& sr);
157 
159  virtual void addNodeToRoot(osg::Node* node, const DtSceneRoot& sr, bool createOnAccess = true);
160 
162  virtual void addSceneRootToRoot(const DtSceneRoot& childRoot, const DtSceneRoot& parentRoot, bool createOnAccess = true);
163 
165  virtual bool removeNodeFromRoot(osg::Node* node, const DtSceneRoot& sr);
166 
169  virtual void removeSceneRootFromRoot(const DtSceneRoot& childRoot, const DtSceneRoot& parentRoot);
170 
172  virtual void traverseRoot(osg::NodeVisitor& nv, const DtSceneRoot& sr);
173 
175  virtual void setSceneRootNodeMask(const DtSceneRoot& sr,
176  osg::Node::NodeMask nodemask);
177 
179  virtual osg::Node::NodeMask sceneRootNodeMask(const DtSceneRoot& sr);
180 
182  virtual osg::BoundingSphere sceneRootBound(const DtSceneRoot& sr);
183 
185  virtual osg::BoundingSphere sceneRootListBound(const DtSceneRootList& srList);
186 
188  virtual void addChannelToModelSetRoot(DtModelSetId modelSetId,
189  DtChannel* channel);
190 
192  virtual void removeChannelFromModelSetRoot(DtModelSetId modelSetId,
193  DtChannel* channel);
194 
196  virtual void addChannelToVisualizerRoot(DtModelSetId modelSetId,
197  int visualizerType, DtChannel* channel);
198 
200  virtual void removeChannelFromVisualizerRoot(DtModelSetId modelSetId,
201  int visualizerType, DtChannel* channel);
202 
204  virtual void setSceneDataToRenderRoot(osgViewer::View& view);
205 
207  virtual void addSceneToCamera(osg::Camera* camera);
208 
213  virtual void addSceneRootToNode(const DtSceneRoot& sr,
214  osg::Group* node, bool createOnAccess = true);
215 
223  virtual osg::Group* findSceneRootChildByName(const DtSceneRoot& parent,
224  const std::string& rootName, bool subString = false);
225 
227  virtual bool matchesSceneRoot(const DtSceneRoot& sr, osg::Group* group);
228 
230  virtual void releaseResources()
231  {
232  releaseResources(0);
233  }
234 
236  virtual void releaseResources(osg::State* state);
237 
239  virtual void resetGlobalState();
240 
243  void setRootNode(osg::Group*, bool copyChildrenFromOldRoot);
244 
246  void resetRoot();
247 
250  void registerPagedLODs(osg::Node* node);
251 
254  void clearPagedLODs();
255 
257  virtual void setWireframeRendering(bool enabled);
258 
260  virtual void setDdsFlip(bool flip);
261 
263  virtual bool wireframeRendering() const;
264 
266  virtual void setShadowState(bool enabled);
267 
269  virtual bool shadowsEnabled() const;
270 
271  // ! Get global multiview vr mode
272  virtual bool multiViewVrEnabled() const;
273 
274  // ! Set global multiview vr mode, doesn't actually enable it, just indicates it is enabled
275  virtual void setMultiViewVrEnabled(bool enabled);
276 
277  // ! Get reference to multiview data for specific camera
278  // ! PPP: TO DO MULTI. This function is *not* thread safe
279  virtual DtMultiViewData& getOrCreateMultiViewData(const osg::Camera* camera);
280 
281  // ! Clear all multiview data
282  void clearMultiViewData();
283 
285  void setTerrainScalingEnabled(bool enabled);
286 
288  void setTerrainScaleFactor(double scaleFactor);
289 
292  virtual bool makeContextCurrent();
293 
295  virtual DtFontManagerInterface& fontManager();
296  virtual const DtFontManagerInterface& fontManager() const;
297 
299  DtEffectManager& effectManager();
300  const DtEffectManager& effectManager() const;
301 
302  boost::signalslib::signal< void(DtModelSetId modelSet, int visualType) > signal_visualizerRootAdded;
303  boost::signalslib::signal< void(DtChannel*) > signal_channelRootAdded;
304 
305  boost::signalslib::signal< void(bool active) > signal_treeProfilingChanged;
306  boost::signalslib::signal< void(bool active) > signal_diguyProfilingChanged;
307  boost::signalslib::signal< void(bool active) > signal_sensorProfilingChanged;
308  boost::signalslib::signal< void(bool active) > signal_sensorDebuggingChanged;
309 
310  boost::signalslib::signal< void() > signal_shadowsRemoved;
311 
314  boost::signalslib::signal<void(DtOsgCullVisitor* cullVisitor)> signal_preCull;
315 
317  virtual void debugDrawBox(const osg::Vec3& center, const osg::Vec3& extents);
318 
320  virtual void debugDrawBox(const osg::Vec3& center, const osg::Vec3& extents, const osg::Quat& orientation);
321 
323  virtual void setChannelShadowState(DtOsgChannel* osgChannel, bool enable);
324 
326  virtual bool channelShadowSettings(DtOsgChannel* osgChannel, DtShadowSettingsObject** shadowSettingObject, bool* isPlanView) const;
327 
329  osg::StateSet* sgRenderRootStateSet();
330 
332  // structure to expedite culling. We need to clear any memory
333  // that this structure caches to decrement reference count of
334  // StateSets (and hence drawables, textures, etc) when scene
335  // changes completely (e.g. on post processor turned off/on)
336  // so that memory can be reclaimed
337  // This helper function accomplishes that
338  void clearStateGraphForAllChannels(void);
339 
343  virtual void preCull(DtOsgCullVisitor* cullVisitor);
344 
346  virtual void addParallelThreadCullJob(osg::Operation * opp);
347 
349  virtual void removeParallelThreadCullJob(osg::Operation* opp);
350 
352  virtual void launchPreCullTasks(DtOsgCullVisitor* cv);
353 
355  virtual int alphaToCoverageRenderBin();
356 
358  virtual void setNewProfilerState(int value);
360  virtual int newProfilerState();
361 
363  virtual bool isLightBin(osg::RenderInfo& renderInfo);
364 
366  virtual bool isDepthBin(osg::RenderInfo& renderInfo);
367 
369  virtual bool isShadowPass(osg::RenderInfo& renderInfo);
370 
375  virtual bool addDebuggerReference();
376 
379  virtual void removeDebuggerReference();
380 
382  virtual void updateChannel(DtOsgChannel* channel, const osg::Vec3d& cameraPos);
383 
384  public:
386  //@ {
387  static DtSceneRoot renderRoot();
388  static DtSceneRoot environmentRoot();
389  static DtSceneRoot terrainRoot();
390  static DtSceneRoot minimapTerrainRoot();
391  static DtSceneRoot minimapFallbackTerrainRoot();
392  static DtSceneRoot propRoot();
393  static DtSceneRoot intersectOnlyPropRoot();
394  static DtSceneRoot oceanRoot();
396  {
398  }
399  static DtSceneRoot normalizedOverlayRoot();
401  {
402  return DtSceneRoot(modelSet);
403  }
404  static DtSceneRoot visualizerTypeRoot(DtModelSetId modelSet, int visualizerType)
405  {
406  return DtSceneRoot(modelSet, visualizerType);
407  }
408  static DtSceneRoot channelRoot(DtModelSetId modelSet, DtChannel* channel)
409  {
410  return DtSceneRoot(modelSet, channel);
411  }
412  //@ }
413 
414  static const std::string& shadowedSceneName(void)
415  {
416  return theShadowedSceneName;
417  }
418 
419 
422  osg::Group* sgRenderRoot();
423 
426  osg::Group* sgEnvironmentRoot();
427 
429  osg::Group* sgPropsRoot();
430 
432  osg::Group* sgIntersectoOnlyPropsRoot();
433 
435  osg::Group* sgTerrainRoot();
436 
438  osg::Group* sgScaledTerrainRoot();
439 
441  osg::Group* sgScaledPropsRoot();
442 
444  osg::Group* sgMinimapTerrainRoot();
445 
447  osg::Group* sgMinimapFallbackTerrainRoot(bool createOnAccess);
448 
450  osg::Group* sgNormalizedOverlayRoot();
451 
453  osg::Group* sgStatic3dDebugRoot();
454 
456  osg::Group* sgOceanRoot();
457 
459  virtual osg::Group* modelSetSpecificShadowRoot(DtModelSetId modelSet);
460 
462  virtual osgShadow::ShadowedScene*
463  modelSetSpecificShadowScene(DtModelSetId modelSet);
464 
467  osg::Group* sgIntersectOnlyRoot(DtModelSetId modelSet);
468 
473  virtual osgViewer::ViewerBase& viewer();
474 
477  virtual void gpuArenaDeleted();
478 
480  virtual const DtGpuArena* gpuArena() const;
481 
483  virtual DtGpuArena* gpuArena();
484 
486  virtual DtImGuiLoaderStatsData* imGuiLoaderStatsData();
487 
489  virtual DtImguiHelper* imGuiHelper();
490 
491 
492 
495  virtual void addIntStat(const std::string& name, int value);
498  virtual void addFloatStat(const std::string& name, float value);
499 
502  virtual void addIntStat(const std::string& subsystem, const std::string& name, int value);
505  virtual void addFloatStat(const std::string& subsystem, const std::string& name, float value);
506 
508  virtual unsigned int numActiveThreads() const;
509 
511  void advanceTime();
512 
515  static const DtOsgGlTextureListener& osgGlTextureListener(void);
516  protected:
517 
519  virtual void moveRootToShadowRoot(const DtSceneRoot& targetRoot,
520  osg::Group* shadowRoot, osg::Group* modelSetRoot);
521 
522 
525  DtOsgRenderer(DtDe& de);
526 
527  DtOsgRenderer() = delete;
528  DtOsgRenderer(const DtOsgRenderer& rhs) = delete;
529  DtOsgRenderer& operator=(const DtOsgRenderer& rhs) = delete;
530 
531 
537  osg::Group* sgModelSetRoot(DtModelSetId modelSet);
538 
544  osg::Group* sgVisualizerRoot(DtModelSetId modelSet, int visualizerType,
545  bool createOnAccess = true);
546 
552  osg::Group* sgChannelRoot(DtModelSetId modelSet,
553  DtChannel* channel, bool createOnAccess = true);
554 
556  void slot_onViewCreated();
557 
560  void slot_onViewToBeDestroyed();
561 
563  void slot_onWireframeModeChanged(bool mode);
564 
566  void slot_onDdsFlipChanged(bool flip);
567 
569  void slot_onShadowStateChanged(bool shadowMode);
570 
572  void slot_onTerrainScalingEnabledChanged(bool enabled);
573 
575  void slot_onTerrainScaleFactorChanged(double scaleFactor);
576 
578  void slot_onCoordinateSystemChanged(const std::string& coordinateSystemType);
579 
580  void updateSceneGraph();
581 
584  void clearEmptyWindows();
585 
593  void performPerRenderChannelOperations();
594 
597  virtual void removeShadows();
598 
600  virtual void createShadowRoots();
601 
605  virtual bool exportTerrainAndProps(const std::string&);
606 
607  virtual osg::Group* createModelSetRoot(DtModelSetId modelSet);
608  virtual osg::Group* createVisualizerRoot(DtModelSetId modelSet,
609  int visualizer);
610 
612  virtual osg::Group* createChannelRoot(DtModelSetId modelSet, DtChannel*);
613 
615  virtual osgShadow::ShadowedScene*
616  createModelSetSpecificShadowRootAndScene(DtModelSetId modelSet);
617 
618  virtual void updateTerrainScaling();
619 
620  virtual void initAerodromeManagers();
621  virtual void updateAerodrome();
622 
623  // replace currentChild in all its parents with newChild
624  void swapChildren(osg::Node* currentChild, osg::Node* newChild);
625 
628  void postInitialize();
629 
631  virtual void slot_reloadShader();
632 
637  void slot_onFadeDistancesChanged(double startDistance, double endDistance);
638 
640  void setupAtcVirtualProgram();
641 
643  virtual void processBackgroundLoaderIcoTasksIfNecessary(void);
644 
648  virtual int numDatabasePagerThreads(osgViewer::CompositeViewer& viewer) const;
649 
652  virtual bool isNahimicServiceRunning() const;
653 
655  virtual bool isNsightRunning(void) const;
656 
658  virtual DtGpuArena* createGpuArena();
659 
661  virtual void freeOpenglDebugger();
662 
663  protected:
665 
668 
670 
672 
679 
680  // This the top of the render graph
682 
685 
688 
691 
694 
697 
698  // This goes directly below the root, and sets the environment (such as sky)
700 
701  // attached under each modelset root except the minimap modelset root, terrains are placed here
703 
704  // attached under each minimap modelset root, minimap terrains are placed here
706 
707  // attached under each minimap terrain root, terrain/props/ocean root is placed her for when
708  // a minimap terrain patch isn't included in a terrain definition
710 
711  // attached under each modelset root, props are placed here
713 
714  //root for props that should only be intersected and not rendered (indirected)
716 
717  // root for triton
719 
720  // when terrain scaling is enabled, this is placed above the
721  // terrain root
723 
724  // when terrain scaling is enabled, this is placed above the
725  // props root
727 
728  osg::Matrix myScaleMatrix;
729 
730  // shadows and visual type roots are done one per model set
731  typedef std::unordered_map<DtModelSetId, osg::ref_ptr<osg::Group> > RootMap;
732  typedef std::unordered_map<DtModelSetId, osg::ref_ptr<osgShadow::ShadowedScene> > ShadowedSceneMap;
733 
734  typedef int VisualizerType;
735 
736  // There is one group for each model set, which is either an osg::Group
737  // or a DtChannelSpecificGroup
738  typedef std::unordered_map < DtModelSetId, osg::ref_ptr<osg::Group> >
740 
741  typedef std::unordered_map < VisualizerType, osg::ref_ptr<osg::Group> >
743 
747  typedef std::unordered_map < DtModelSetId, VisualizerTypeRootMap >
749 
750 
751  // This is a map of the model set roots. CWhen a channel uses a model set
752  // (or more correctly, when a channel's observer uses a model set) the
753  // channel subscribes to the appropriate one of these
755 
756  //Map to roots that are intersect only on a per model set basis
758 
759 
760  // Under each model set root is a root for each visualizer type. This map
761  // provides another map, by model set, of the roots for each visual type
763 
764  // This is a map of channel roots by model set. Each channel root is a unique
771  typedef std::unordered_map < DtChannel*, ModelSetRootMap >
773 
777 
785 
788 
790  std::map<const osg::Camera*, DtMultiViewData*> myMultiViewData;
791 
795 
801 
804 
808 
810  unsigned int myActiveThreads;
811 
813 
815 
816  protected:
826 
827  static std::string theShadowedSceneName;
828 
830 
832 
834  typedef std::vector<OperationRef> OperationVector;
835 
837 
838  boost::signalslib::connection myPostInitalizeConnection;
839 
841 
842  protected:
846  };
847 
851  {
852  public:
853 
855  virtual DtRenderer* create(DtDe& de);
856  };
857 }
static const std::string LightPointBin
Definition: DtOsgRenderer.h:114
ModelSetRootMap myIntersectOnlyRootMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:757
static DtSceneRoot channelRoot(DtModelSetId modelSet, DtChannel *channel)
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:408
static DtSceneRoot thePropRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:822
static DtSceneRoot visualizerTypeRoot(DtModelSetId modelSet, int visualizerType)
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:404
Definition: DtTaxiwaySignManager.h:41
static const std::string SkyBin
Definition: DtOsgRenderer.h:111
bool myAtLeastOneChannelAcceptsExternalInput
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:671
osg::ref_ptr< osg::Group > myDebugRoot
Group for drawing debug graphics, cleared after each frame.
Definition: DtOsgRenderer.h:684
The DtRunwayMarkingManager processes aerodrome data that is streamed in from osgEarth. It uses that data to create and place runway lighting and set up runway selector objects. Most of the lighting implementation may be found in DtOsgRunwayMarkingManager. You can use this base class definition to lookup runway selectors and their associated data by element id (as provided by the DtSelectionManager).
Definition: DtRunwayMarkingManager.h:42
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:92
osg::ref_ptr< osgViewer::Viewer > myDefaultViewer
This viewer exists so that when there are no displays, windows, or channels, the scene can be updated...
Definition: DtOsgRenderer.h:678
boost::signalslib::signal< void(bool active) > signal_treeProfilingChanged
Definition: DtOsgRenderer.h:305
RootMap myShadowRootMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:776
Definition: DtShadowSettingsObject.h:24
static DtSceneRoot theNormalizedOverlayRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:825
std::vector< DtSceneRoot > DtSceneRootList
A list of DtOsgRenderer::SceneRoots.
Definition: DtSceneRoot.h:135
osg::ref_ptr< osgUtil::RenderBin > mySkyBin
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:779
ShadowedSceneMap myShadowedSceneMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:775
std::unordered_map< DtModelSetId, VisualizerTypeRootMap > ModelSetVisualizerTypeRootMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:748
std::vector< OperationRef > OperationVector
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:834
bool myTerrainScaleFactorChanged
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:797
osg::ref_ptr< osg::Group > myRenderRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:681
virtual void releaseResources()
Release all openGL objects in the scene graph.
Definition: DtOsgRenderer.h:230
int VisualizerType
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:734
static DtSceneRoot theTerrainRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:819
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
osg::ref_ptr< osgUtil::RenderBin > myOceanBin
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:781
ChannelRootMap myChannelRootMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:774
osg::ref_ptr< osgUtil::RenderBin > myDepthOnlyBin
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:780
DtGpuArena * myGpuArena
system for doing work during cull
Definition: DtOsgRenderer.h:806
DtGlDebugger * myOpenglDebugger
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:812
Contains makVrv::DtRenderer class.
DtOsgWindowManager * myOsgWindowManager
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:669
boost::signalslib::signal< void() > signal_shadowsRemoved
Definition: DtOsgRenderer.h:310
static DtOsgGlTextureListener theOsgGlTextureListener
this is purposely static. osg textures can get deleted way after the DtOsgRenderer/DtDe has been dele...
Definition: DtOsgRenderer.h:845
osg::ref_ptr< osg::Group > myMinimapFallbackTerrainRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:709
bool myTerrainScalingEnabled
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:798
osg::ref_ptr< osg::Geode > myDebugBox
Shared geometry for debug boxes.
Definition: DtOsgRenderer.h:693
boost::signalslib::signal< void(bool active) > signal_sensorProfilingChanged
Definition: DtOsgRenderer.h:307
Definition: DtImGuiHelper.h:36
static bool theOsgTextureTrackingInitialized
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:840
std::unordered_map< DtModelSetId, osg::ref_ptr< osgShadow::ShadowedScene > > ShadowedSceneMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:732
DtTaxiwaySignManager * myTaxiwaySignManager
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:792
boost::signalslib::signal< void(DtModelSetId modelSet, int visualType) > signal_visualizerRootAdded
Definition: DtOsgRenderer.h:302
DtRunwayMarkingManager * myRunwayMarkingManager
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:793
osg::ref_ptr< DtOsgGlobalShaderComponent > myGlobalShaderComponent
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:831
osg::ref_ptr< DtFastMatrixTransform > myScaledPropsRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:726
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:58
Manages instances of fonts, the font will be kept in memory unless the manager is cleared...
Definition: DtFontManagerInterface.h:25
bool myInitializedInRender
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:809
bool myWireframeOn
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:786
ModelSetVisualizerTypeRootMap myVisualizerRootMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:762
Manages instances of fonts, the font will be kept in memory unless the manager is cleared...
Definition: DtGLFontManager.h:26
osg::ref_ptr< osgUtil::RenderBin > myAlphaToCoverageBin
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:778
class that gathers per frame stats and puts up UI
Definition: DtImGuiLoaderStatsData.h:45
Definition: DtLightIndicatorManager.h:36
static DtSceneRoot theMinimapFallbackTerrainRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:821
unsigned int myActiveThreads
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:810
DtOsgCullVisitor will inspect the camera to see which visual mode is active. If the visual mode is a ...
Definition: DtOsgCullVisitor.h:27
static DtSceneRoot theEnvironmentRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:818
static const std::string OceanBin
Definition: DtOsgRenderer.h:113
std::unordered_map< VisualizerType, osg::ref_ptr< osg::Group > > VisualizerTypeRootMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:742
The abstract Channel Class.
Definition: DtChannel.h:35
static DtSceneRoot theRenderRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:817
Abstract index into the scene graph. This is used as an argument to functions which interact with dif...
Definition: DtSceneRoot.h:24
bool myTerrainScalingEnabledChanged
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:799
static const std::string & shadowedSceneName(void)
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:414
std::unordered_map< DtChannel *, ModelSetRootMap > ChannelRootMap
DtChannelSpecificGroup that contains only the channel it represents. This will allow for osg nodes to...
Definition: DtOsgRenderer.h:772
osg::ref_ptr< osg::Group > myTerrainRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:702
static DtSceneRoot modelSetRoot(DtModelSetId modelSet)
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:400
boost::signalslib::signal< void(DtChannel *) > signal_channelRootAdded
Definition: DtOsgRenderer.h:303
static DtSceneRoot theOceanRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:823
Definition: DtGlDebugger.h:28
Logic for scene graph tree display widget.
Definition: DtSceneGraphTreeLogic.h:234
std::unordered_map< DtModelSetId, osg::ref_ptr< osg::Group > > RootMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:731
osg::ref_ptr< osg::Group > myStatic3dDebugRoot
Group for drawing debug graphics left alone each frame.
Definition: DtOsgRenderer.h:690
This is a concret implementation of osg::GlTextureListener.
Definition: DtOsgGlTextureListener.h:26
osg::ref_ptr< osgUtil::RenderBin > myCockpitBin
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:784
static const std::string AlphaToCoverageBin
Definition: DtOsgRenderer.h:110
DtImguiHelper * myImGuiHelper
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:829
The effect manager provides a way of creating and sharing effects.
Definition: DtEffectManager.h:18
static DtSceneRoot theIntersectOnlyPropRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:824
boost::signalslib::signal< void(bool active) > signal_sensorDebuggingChanged
Definition: DtOsgRenderer.h:308
Abstract creator base class.
Definition: DtOsgRenderer.h:850
DtGLFontManager * myFontManager
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:666
std::unordered_map< DtModelSetId, osg::ref_ptr< osg::Group > > ModelSetRootMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:739
simple class to encapsulate the different views in a multiview vr setup
Definition: DtMultiViewData.h:23
osg::Matrix myScaleMatrix
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:728
osg::ref_ptr< osgUtil::RenderBin > myLightPointBin
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:782
Top-level pre-draw osg::Operation registered on the OSG viewer that coordinates all GPU work requirin...
Definition: DtGpuArena.h:79
Owns and manages OpenSceneGraph windows.
Definition: DtOsgWindowManager.h:34
DtLightIndicatorManager * myLightIndicatorManager
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:794
The DtRenderer is the component responsible for rendering 3D images onto the screen.
Definition: DtRenderer.h:49
std::map< const osg::Camera *, DtMultiViewData * > myMultiViewData
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:790
double myTerrainScaleFactor
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:796
OperationVector myParallelCullJobs
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:836
osg::ref_ptr< osg::Group > myEnvironmentRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:699
int myNewProfilerState
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:803
static DtSceneRoot theMinimapTerrainRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:820
static const std::string DepthOnlyBin
Definition: DtOsgRenderer.h:112
Contains makVrv::DtSceneRoot class.
Base class to provide boost signal/slot management.
Abstract creator base class.
Definition: DtRenderer.h:187
osg::ref_ptr< osg::Operation > OperationRef
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:833
Contains the DtOsgGlTextureListener class declaration.
bool myMultiViewVrEnabled
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:789
osg::ref_ptr< osg::Group > myMinimapTerrainRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:705
const char int mode
Definition: ioapi.h:38
bool myResourcesReleased
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:800
boost::signalslib::signal< void(bool active) > signal_diguyProfilingChanged
Definition: DtOsgRenderer.h:306
ModelSetRootMap myModelSetMap
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:754
static const std::string CloudBin
Definition: DtOsgRenderer.h:115
osg::ref_ptr< osg::Group > myOceanRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:718
Contains DLL export macros.
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:76
osg::ref_ptr< DtFastMatrixTransform > myScaledTerrainRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:722
boost::signalslib::signal< void(DtOsgCullVisitor *cullVisitor)> signal_preCull
Signal used to prepare systems for culling. This signal will only be called from the main thread...
Definition: DtOsgRenderer.h:314
static DtSceneRoot intersectOnlyRoot(DtModelSetId modelSet)
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:395
static std::string theShadowedSceneName
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:827
The DtOsgWaterRipplesManager class provides a manager for managing water ripple effects for water bod...
Definition: DtOsgWaterRipplesManager.h:56
DtModelSetId
Definition: DtModelSetEnums.h:19
DtEffectManager * myEffectManager
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:667
osg::ref_ptr< osg::Group > myPropsRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:712
osg::ref_ptr< osg::Group > myIntersectOnlyPropsRoot
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:715
bool myReAddGpuArena
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:807
osg::ref_ptr< osg::Group > myComponentSystemRoot
Group for drawing component systems.
Definition: DtOsgRenderer.h:696
static const std::string CockpitBin
Definition: DtOsgRenderer.h:116
int myAlphaToCoverageRenderBin
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:802
osg::ref_ptr< osgUtil::RenderBin > myCloudBin
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:783
osg::ref_ptr< osg::Group > myNormalizedOverlayRoot
Group for drawing debug graphics left alone each frame.
Definition: DtOsgRenderer.h:687
bool myShadowsEnabled
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:787
Abstraction over the OSG scene graph.
Definition: DtSceneGraph.h:22
DtSceneGraph * mySceneGraph
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:664
boost::signalslib::connection myPostInitalizeConnection
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:838
DtOsgWaterRipplesManager * myWaterRipplesManager
Under each model set group is another channel group for each visualizer type. So we have a map of vis...
Definition: DtOsgRenderer.h:814

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)