VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions
DtVrfSingletonRenderer Class Reference

Override to provide minimal renderer functionality.

Inheritance diagram for DtVrfSingletonRenderer:
Inheritance graph
[legend]

Classes

class  Creator
 

Public Member Functions

osg::Node * terrainNode ()
 
osg::Node * propNode ()
 
 DtVrfSingletonRenderer (makVrv::DtDe &)
 
- Public Member Functions inherited from makVrv::DtOsgRenderer
virtual ~DtOsgRenderer ()
 
virtual void createManagers () override
 
virtual void cleanup () override
 
virtual void update ()
 
virtual void render ()
 
virtual bool viewExists () const
 
virtual void resetSceneGraph ()
 
virtual void removeChannelRoot (DtChannel *channel)
 
virtual bool isSceneRootEmpty (const DtSceneRoot &sr)
 
virtual void addNodeToRoot (osg::Node *node, const DtSceneRoot &sr, bool createOnAccess=true)
 
virtual void addSceneRootToRoot (const DtSceneRoot &childRoot, const DtSceneRoot &parentRoot, bool createOnAccess=true)
 
virtual bool removeNodeFromRoot (osg::Node *node, const DtSceneRoot &sr)
 
virtual void removeSceneRootFromRoot (const DtSceneRoot &childRoot, const DtSceneRoot &parentRoot)
 
virtual void traverseRoot (osg::NodeVisitor &nv, const DtSceneRoot &sr)
 
virtual void setSceneRootNodeMask (const DtSceneRoot &sr, osg::Node::NodeMask nodemask)
 
virtual osg::Node::NodeMask sceneRootNodeMask (const DtSceneRoot &sr)
 
virtual osg::BoundingSphere sceneRootBound (const DtSceneRoot &sr)
 
virtual osg::BoundingSphere sceneRootListBound (const DtSceneRootList &srList)
 
virtual void addChannelToModelSetRoot (DtModelSetId modelSetId, DtChannel *channel)
 
virtual void removeChannelFromModelSetRoot (DtModelSetId modelSetId, DtChannel *channel)
 
virtual void addChannelToVisualizerRoot (DtModelSetId modelSetId, int visualizerType, DtChannel *channel)
 
virtual void removeChannelFromVisualizerRoot (DtModelSetId modelSetId, int visualizerType, DtChannel *channel)
 
virtual void setSceneDataToRenderRoot (osgViewer::View &view)
 
virtual void addSceneToCamera (osg::Camera *camera)
 
virtual void addSceneRootToNode (const DtSceneRoot &sr, osg::Group *node, bool createOnAccess=true)
 
virtual osg::Group * findSceneRootChildByName (const DtSceneRoot &parent, const std::string &rootName, bool subString=false)
 
virtual bool matchesSceneRoot (const DtSceneRoot &sr, osg::Group *group)
 
virtual void releaseResources ()
 
virtual void releaseResources (osg::State *state)
 
virtual void resetGlobalState ()
 
void setRootNode (osg::Group *, bool copyChildrenFromOldRoot)
 
void resetRoot ()
 
void registerPagedLODs (osg::Node *node)
 
void clearPagedLODs ()
 
virtual void setWireframeRendering (bool enabled)
 
virtual void setDdsFlip (bool flip)
 
virtual bool wireframeRendering () const
 
virtual void setShadowState (bool enabled)
 
virtual bool shadowsEnabled () const
 
virtual bool multiViewVrEnabled () const
 
virtual void setMultiViewVrEnabled (bool enabled)
 
virtual DtMultiViewData & getOrCreateMultiViewData (const osg::Camera *camera)
 
void clearMultiViewData ()
 
void setTerrainScalingEnabled (bool enabled)
 
void setTerrainScaleFactor (double scaleFactor)
 
virtual bool makeContextCurrent ()
 
virtual DtFontManagerInterface & fontManager ()
 
virtual const
DtFontManagerInterface & 
fontManager () const
 
DtEffectManager & effectManager ()
 
const DtEffectManager & effectManager () const
 
virtual void debugDrawBox (const osg::Vec3 &center, const osg::Vec3 &extents)
 
virtual void debugDrawBox (const osg::Vec3 &center, const osg::Vec3 &extents, const osg::Quat &orientation)
 
virtual void setChannelShadowState (DtOsgChannel *osgChannel, bool enable)
 
virtual bool channelShadowSettings (DtOsgChannel *osgChannel, DtShadowSettingsObject **shadowSettingObject, bool *isPlanView) const
 
osg::StateSet * sgRenderRootStateSet ()
 
void clearStateGraphForAllChannels (void)
 
virtual void preCull (DtOsgCullVisitor *cullVisitor)
 
virtual void addParallelThreadCullJob (osg::Operation *opp)
 
virtual void removeParallelThreadCullJob (osg::Operation *opp)
 
virtual void launchPreCullTasks (DtOsgCullVisitor *cv)
 
virtual int alphaToCoverageRenderBin ()
 
virtual void setNewProfilerState (int value)
 
virtual int newProfilerState ()
 
virtual bool isLightBin (osg::RenderInfo &renderInfo)
 
virtual bool isDepthBin (osg::RenderInfo &renderInfo)
 
virtual bool isShadowPass (osg::RenderInfo &renderInfo)
 
virtual bool addDebuggerReference ()
 
virtual void removeDebuggerReference ()
 
virtual void updateChannel (DtOsgChannel *channel, const osg::Vec3d &cameraPos)
 
osg::Group * sgRenderRoot ()
 
osg::Group * sgEnvironmentRoot ()
 
osg::Group * sgPropsRoot ()
 
osg::Group * sgIntersectoOnlyPropsRoot ()
 
osg::Group * sgTerrainRoot ()
 
osg::Group * sgScaledTerrainRoot ()
 
osg::Group * sgScaledPropsRoot ()
 
osg::Group * sgMinimapTerrainRoot ()
 
osg::Group * sgMinimapFallbackTerrainRoot (bool createOnAccess)
 
osg::Group * sgNormalizedOverlayRoot ()
 
osg::Group * sgStatic3dDebugRoot ()
 
osg::Group * sgOceanRoot ()
 
virtual osg::Group * modelSetSpecificShadowRoot (DtModelSetId modelSet)
 
virtual osgShadow::ShadowedScene * modelSetSpecificShadowScene (DtModelSetId modelSet)
 
osg::Group * sgIntersectOnlyRoot (DtModelSetId modelSet)
 
virtual osgViewer::ViewerBase & viewer ()
 
virtual void gpuArenaDeleted ()
 
virtual const DtGpuArena * gpuArena () const
 
virtual DtGpuArena * gpuArena ()
 
virtual DtImGuiLoaderStatsData * imGuiLoaderStatsData ()
 
virtual DtImguiHelper * imGuiHelper ()
 
virtual void addIntStat (const std::string &name, int value)
 
virtual void addFloatStat (const std::string &name, float value)
 
virtual void addIntStat (const std::string &subsystem, const std::string &name, int value)
 
virtual void addFloatStat (const std::string &subsystem, const std::string &name, float value)
 
virtual unsigned int numActiveThreads () const
 
void advanceTime ()
 
- Public Member Functions inherited from makVrv::DtRenderer
 DtRenderer (DtDe &de)
 
virtual ~DtRenderer ()
 
virtual void postUpdate ()
 
DtObserverObjectManager * observerObjectManager ()
 
DtTickableManagerInterface & tickableManager ()
 
const DtTickableManagerInterface & tickableManager () const
 
DtOverlayManager & overlayManager ()
 
const DtOverlayManager & overlayManager () const
 
DtGeom3dLinesSystem & geom3dLinesSystem ()
 
const DtGeom3dLinesSystem & geom3dLinesSystem () const
 
DtGeom3dSpheresSystem & geom3dSpheresSystem ()
 
const DtGeom3dSpheresSystem & geom3dSpheresSystem () const
 
DtDebugShapes & debugShapes ()
 
const DtRenderMap & renderMap () const
 

Additional Inherited Members

- Public Types inherited from makVrv::DtRenderer
typedef std::unordered_map
< DtElementID, double > 
DtRenderMap
 
- Static Public Member Functions inherited from makVrv::DtOsgRenderer
static DtOsgRenderer * findInstance (DtDe &de)
 
static DtSceneRoot renderRoot ()
 
static DtSceneRoot environmentRoot ()
 
static DtSceneRoot terrainRoot ()
 
static DtSceneRoot minimapTerrainRoot ()
 
static DtSceneRoot minimapFallbackTerrainRoot ()
 
static DtSceneRoot propRoot ()
 
static DtSceneRoot intersectOnlyPropRoot ()
 
static DtSceneRoot oceanRoot ()
 
static DtSceneRoot intersectOnlyRoot (DtModelSetId modelSet)
 
static DtSceneRoot normalizedOverlayRoot ()
 
static DtSceneRoot modelSetRoot (DtModelSetId modelSet)
 
static DtSceneRoot visualizerTypeRoot (DtModelSetId modelSet, int visualizerType)
 
static DtSceneRoot channelRoot (DtModelSetId modelSet, DtChannel *channel)
 
static const std::string & shadowedSceneName (void)
 
static const
DtOsgGlTextureListener & 
osgGlTextureListener (void)
 
- Public Attributes inherited from makVrv::DtOsgRenderer
boost::signalslib::signal
< void(DtModelSetId modelSet,
int visualType) > 
signal_visualizerRootAdded
 
boost::signalslib::signal
< void(DtChannel *) > 
signal_channelRootAdded
 
boost::signalslib::signal
< void(bool active) > 
signal_treeProfilingChanged
 
boost::signalslib::signal
< void(bool active) > 
signal_diguyProfilingChanged
 
boost::signalslib::signal
< void(bool active) > 
signal_sensorProfilingChanged
 
boost::signalslib::signal
< void(bool active) > 
signal_sensorDebuggingChanged
 
boost::signalslib::signal< void() > signal_shadowsRemoved
 
boost::signalslib::signal
< void(DtOsgCullVisitor
*cullVisitor)> 
signal_preCull
 
- Public Attributes inherited from makVrv::DtRenderer
boost::signalslib::signal
< void(double simTime)> 
signal_update
 
boost::signalslib::signal
< void(double simTime)> 
signal_preObserverUpdate
 
boost::signalslib::signal
< void(double simTime)> 
signal_postUpdate
 
boost::signalslib::signal< void()> signal_releaseResources
 
- Static Public Attributes inherited from makVrv::DtOsgRenderer
static const int SKY_RENDERBIN = -10
 
static const int DEFAULT_RENDERBIN = 0
 
static const int DEPTH_ONLY_RENDERBIN = 5
 
static const int OCEAN_RENDERBIN = 6
 
static const int LIGHTPOINT_RENDERBIN = 7
 
static const int CLOUD_RENDERBIN = 8
 
static const int DEFAULT_TRANSPARENT_RENDERBIN = 10
 
static const int COCKPIT_RENDERBIN = 25
 
static const std::string AlphaToCoverageBin
 
static const std::string SkyBin
 
static const std::string DepthOnlyBin
 
static const std::string OceanBin
 
static const std::string LightPointBin
 
static const std::string CloudBin
 
static const std::string CockpitBin
 
- Protected Types inherited from makVrv::DtOsgRenderer
typedef std::unordered_map
< DtModelSetId, osg::ref_ptr
< osg::Group > > 
RootMap
 
typedef std::unordered_map
< DtModelSetId, osg::ref_ptr
< osgShadow::ShadowedScene > > 
ShadowedSceneMap
 
typedef int VisualizerType
 
typedef std::unordered_map
< DtModelSetId, osg::ref_ptr
< osg::Group > > 
ModelSetRootMap
 
typedef std::unordered_map
< VisualizerType, osg::ref_ptr
< osg::Group > > 
VisualizerTypeRootMap
 
typedef std::unordered_map
< DtModelSetId,
VisualizerTypeRootMap > 
ModelSetVisualizerTypeRootMap
 
typedef std::unordered_map
< DtChannel *, ModelSetRootMap > 
ChannelRootMap
 
typedef osg::ref_ptr
< osg::Operation > 
OperationRef
 
typedef std::vector< OperationRef > OperationVector
 
- Protected Member Functions inherited from makVrv::DtOsgRenderer
virtual void moveRootToShadowRoot (const DtSceneRoot &targetRoot, osg::Group *shadowRoot, osg::Group *modelSetRoot)
 
 DtOsgRenderer (DtDe &de)
 
 DtOsgRenderer ()=delete
 
 DtOsgRenderer (const DtOsgRenderer &rhs)=delete
 
DtOsgRenderer & operator= (const DtOsgRenderer &rhs)=delete
 
osg::Group * sgModelSetRoot (DtModelSetId modelSet)
 
osg::Group * sgVisualizerRoot (DtModelSetId modelSet, int visualizerType, bool createOnAccess=true)
 
osg::Group * sgChannelRoot (DtModelSetId modelSet, DtChannel *channel, bool createOnAccess=true)
 
void slot_onViewCreated ()
 
void slot_onViewToBeDestroyed ()
 
void slot_onWireframeModeChanged (bool mode)
 
void slot_onDdsFlipChanged (bool flip)
 
void slot_onShadowStateChanged (bool shadowMode)
 
void slot_onTerrainScalingEnabledChanged (bool enabled)
 
void slot_onTerrainScaleFactorChanged (double scaleFactor)
 
void slot_onCoordinateSystemChanged (const std::string &coordinateSystemType)
 
void updateSceneGraph ()
 
void clearEmptyWindows ()
 
void performPerRenderChannelOperations ()
 
virtual void removeShadows ()
 
virtual void createShadowRoots ()
 
virtual bool exportTerrainAndProps (const std::string &)
 
virtual osg::Group * createModelSetRoot (DtModelSetId modelSet)
 
virtual osg::Group * createVisualizerRoot (DtModelSetId modelSet, int visualizer)
 
virtual osg::Group * createChannelRoot (DtModelSetId modelSet, DtChannel *)
 
virtual osgShadow::ShadowedScene * createModelSetSpecificShadowRootAndScene (DtModelSetId modelSet)
 
virtual void updateTerrainScaling ()
 
virtual void initAerodromeManagers ()
 
virtual void updateAerodrome ()
 
void swapChildren (osg::Node *currentChild, osg::Node *newChild)
 
void postInitialize ()
 
virtual void slot_reloadShader ()
 
void slot_onFadeDistancesChanged (double startDistance, double endDistance)
 
void setupAtcVirtualProgram ()
 
virtual void processBackgroundLoaderIcoTasksIfNecessary (void)
 
virtual int numDatabasePagerThreads (osgViewer::CompositeViewer &viewer) const
 
virtual bool isNahimicServiceRunning () const
 
virtual bool isNsightRunning (void) const
 
virtual DtGpuArena * createGpuArena ()
 
virtual void freeOpenglDebugger ()
 
- Protected Attributes inherited from makVrv::DtOsgRenderer
DtSceneGraph * mySceneGraph
 
DtGLFontManager * myFontManager
 
DtEffectManager * myEffectManager
 
DtOsgWindowManager * myOsgWindowManager
 
bool myAtLeastOneChannelAcceptsExternalInput
 
osg::ref_ptr< osgViewer::Viewer > myDefaultViewer
 
osg::ref_ptr< osg::Group > myRenderRoot
 
osg::ref_ptr< osg::Group > myDebugRoot
 
osg::ref_ptr< osg::Group > myNormalizedOverlayRoot
 
osg::ref_ptr< osg::Group > myStatic3dDebugRoot
 
osg::ref_ptr< osg::Geode > myDebugBox
 
osg::ref_ptr< osg::Group > myComponentSystemRoot
 
osg::ref_ptr< osg::Group > myEnvironmentRoot
 
osg::ref_ptr< osg::Group > myTerrainRoot
 
osg::ref_ptr< osg::Group > myMinimapTerrainRoot
 
osg::ref_ptr< osg::Group > myMinimapFallbackTerrainRoot
 
osg::ref_ptr< osg::Group > myPropsRoot
 
osg::ref_ptr< osg::Group > myIntersectOnlyPropsRoot
 
osg::ref_ptr< osg::Group > myOceanRoot
 
osg::ref_ptr
< DtFastMatrixTransform > 
myScaledTerrainRoot
 
osg::ref_ptr
< DtFastMatrixTransform > 
myScaledPropsRoot
 
osg::Matrix myScaleMatrix
 
ModelSetRootMap myModelSetMap
 
ModelSetRootMap myIntersectOnlyRootMap
 
ModelSetVisualizerTypeRootMap myVisualizerRootMap
 
ChannelRootMap myChannelRootMap
 
ShadowedSceneMap myShadowedSceneMap
 
RootMap myShadowRootMap
 
osg::ref_ptr< osgUtil::RenderBin > myAlphaToCoverageBin
 
osg::ref_ptr< osgUtil::RenderBin > mySkyBin
 
osg::ref_ptr< osgUtil::RenderBin > myDepthOnlyBin
 
osg::ref_ptr< osgUtil::RenderBin > myOceanBin
 
osg::ref_ptr< osgUtil::RenderBin > myLightPointBin
 
osg::ref_ptr< osgUtil::RenderBin > myCloudBin
 
osg::ref_ptr< osgUtil::RenderBin > myCockpitBin
 
bool myWireframeOn
 
bool myShadowsEnabled
 
bool myMultiViewVrEnabled
 
std::map< const osg::Camera
*, DtMultiViewData * > 
myMultiViewData
 
DtTaxiwaySignManager * myTaxiwaySignManager
 
DtRunwayMarkingManager * myRunwayMarkingManager
 
DtLightIndicatorManager * myLightIndicatorManager
 
double myTerrainScaleFactor
 
bool myTerrainScaleFactorChanged
 
bool myTerrainScalingEnabled
 
bool myTerrainScalingEnabledChanged
 
bool myResourcesReleased
 
int myAlphaToCoverageRenderBin
 
int myNewProfilerState
 
DtGpuArena * myGpuArena
 
bool myReAddGpuArena
 
bool myInitializedInRender
 
unsigned int myActiveThreads
 
DtGlDebugger * myOpenglDebugger
 
DtOsgWaterRipplesManager * myWaterRipplesManager
 
DtImguiHelper * myImGuiHelper
 
osg::ref_ptr
< DtOsgGlobalShaderComponent > 
myGlobalShaderComponent
 
OperationVector myParallelCullJobs
 
boost::signalslib::connection myPostInitalizeConnection
 
- Protected Attributes inherited from makVrv::DtRenderer
DtDe & myDe
 
DtObserverObjectManager * myObserverObjectManager
 
DtTickableManagerInterface * myTickableManager
 
DtOverlayManager * myOverlayManager
 
DtIndirectEntityManager & myIndirectEntityManager
 
DtRenderMap myRenderMap
 
DtSignalConnectionManager myConnections
 
DtGeom3dLinesSystem * myGeom3dLinesSystem
 
DtGeom3dSpheresSystem * myGeom3dSpheresSystem
 
DtDebugShapes * myDebugShapes
 
- Static Protected Attributes inherited from makVrv::DtOsgRenderer
static DtSceneRoot theRenderRoot
 
static DtSceneRoot theEnvironmentRoot
 
static DtSceneRoot theTerrainRoot
 
static DtSceneRoot theMinimapTerrainRoot
 
static DtSceneRoot theMinimapFallbackTerrainRoot
 
static DtSceneRoot thePropRoot
 
static DtSceneRoot theOceanRoot
 
static DtSceneRoot theIntersectOnlyPropRoot
 
static DtSceneRoot theNormalizedOverlayRoot
 
static std::string theShadowedSceneName
 
static bool theOsgTextureTrackingInitialized
 
static DtOsgGlTextureListener theOsgGlTextureListener
 

Constructor & Destructor Documentation

DtVrfSingletonRenderer::DtVrfSingletonRenderer ( makVrv::DtDe &  )
explicit

Member Function Documentation

osg::Node* DtVrfSingletonRenderer::terrainNode ( )
osg::Node* DtVrfSingletonRenderer::propNode ( )

The documentation for this class was generated from the following file:

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)