VR-Forces 5.0.1 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 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 void 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 (int modelSetId, DtChannel *channel)
 
virtual void removeChannelFromModelSetRoot (int modelSetId, DtChannel *channel)
 
virtual void addChannelToVisualizerRoot (int modelSetId, int visualizerType, DtChannel *channel)
 
virtual void removeChannelFromVisualizerRoot (int 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)
 
virtual bool matchesSceneRoot (const DtSceneRoot &sr, osg::Group *group)
 
virtual void releaseResources ()
 
virtual void releaseResources (osg::State *state)
 
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 DtMultiViewDatagetOrCreateMultiViewData (const osg::Camera *camera)
 
void clearMultiViewData ()
 
void setTerrainScalingEnabled (bool enabled)
 
void setTerrainScaleFactor (double scaleFactor)
 
virtual bool makeContextCurrent ()
 
DtFontManagerfontManager ()
 
const DtFontManagerfontManager () const
 
DtEffectManagereffectManager ()
 
const DtEffectManagereffectManager () 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
 
virtual bool channelCloudShadowMap (DtOsgChannel *osgChannel, unsigned int *textureIndex, osg::Matrix *textureViewProjMatrix, unsigned int *textureIndex2, osg::Matrix *textureViewProjMatrix2) const
 
virtual bool cameraCloudShadowMap (osg::Camera *camera, unsigned int *textureIndex, osg::Matrix *textureViewProjMatrix, unsigned int *textureIndex2, osg::Matrix *textureViewProjMatrix2) const
 
osg::StateSet * sgRenderRootStateSet ()
 
void clearStateGraphForAllChannels (void)
 
virtual void addMainThreadPersistantJob (osg::Operation *opp)
 
virtual void removeMainThreadPersistantJob (osg::Operation *opp)
 
virtual void addMainThreadPreDrawJob (osg::Operation *opp)
 
virtual void addParallelThreadCullJob (osg::Operation *opp)
 
virtual void removeParallelThreadCullJob (osg::Operation *opp)
 
virtual void addParallelThreadSwapBufferJob (osg::Operation *opp)
 
virtual bool addMainThreadTransientJob (osg::Operation *operation, bool requiredThisFrame)
 
virtual void launchPreCullTasks (DtOsgCullVisitor *cv)
 
virtual void launchSwapBufferTasks ()
 
virtual DtMainThreadJobsManagercreateJobsManager ()
 
virtual int alphaToCoverageRenderBin ()
 
virtual void setNewProfilerState (int value)
 
virtual int newProfilerState ()
 
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 (int modelSet)
 
virtual osgShadow::ShadowedScene * modelSetSpecificShadowScene (int modelSet)
 
osg::Group * sgIntersectOnlyRoot (int modelSet)
 
virtual osgViewer::ViewerBase & viewer ()
 
virtual void clearMainThreadJobsManager ()
 
virtual DtImGuiLoaderStatsDataimGuiLoaderStatsData ()
 
virtual DtImguiHelperimGuiHelper ()
 
const DtMainThreadJobsManagermainThreadJobsManager () const
 
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 ()
 
DtObserverObjectManagerobserverObjectManager ()
 
DtTickableManagerInterfacetickableManager ()
 
const DtTickableManagerInterfacetickableManager () const
 
DtOverlayManageroverlayManager ()
 
const DtOverlayManageroverlayManager () const
 
void createManagers ()
 
const DtRenderMaprenderMap () const
 

Additional Inherited Members

- Public Types inherited from makVrv::DtRenderer
typedef boost::unordered_map
< DtElementID, double
DtRenderMap
 
- Static Public Member Functions inherited from makVrv::DtOsgRenderer
static DtOsgRendererfindInstance (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 (int modelSet)
 
static DtSceneRoot normalizedOverlayRoot ()
 
static DtSceneRoot modelSetRoot (int modelSet)
 
static DtSceneRoot visualizerTypeRoot (int modelSet, int visualizerType)
 
static DtSceneRoot channelRoot (int modelSet, DtChannel *channel)
 
static const std::string & shadowedSceneName (void)
 
static const
DtOsgGlTextureListener
osgGlTextureListener (void)
 
- Public Attributes inherited from makVrv::DtOsgRenderer
boost::signalslib::signal
< void(int 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() > signal_shadowsRemoved
 
- 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 OCCLUSION_RENDERBIN = 9
 
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 OcclusionRenderBin
 
static const std::string CockpitBin
 
- Protected Types inherited from makVrv::DtOsgRenderer
typedef boost::unordered_map
< int, osg::ref_ptr
< osg::Group > > 
RootMap
 
typedef boost::unordered_map
< int, osg::ref_ptr
< osgShadow::ShadowedScene > > 
ShadowedSceneMap
 
typedef int ModelSet
 
typedef int VisualizerType
 
typedef boost::unordered_map
< ModelSet, osg::ref_ptr
< osg::Group > > 
ModelSetRootMap
 
typedef boost::unordered_map
< VisualizerType, osg::ref_ptr
< osg::Group > > 
VisualizerTypeRootMap
 
typedef boost::unordered_map
< ModelSet,
VisualizerTypeRootMap
ModelSetVisualizerTypeRootMap
 
typedef boost::unordered_map
< DtChannel *, ModelSetRootMap
ChannelRootMap
 
typedef osg::ref_ptr
< osg::Operation > 
OperationRef
 
typedef std::vector< OperationRefOperationVector
 
- Protected Member Functions inherited from makVrv::DtOsgRenderer
virtual void moveRootToShadowRoot (const DtSceneRoot &targetRoot, osg::Group *shadowRoot, osg::Group *modelSetRoot)
 
 DtOsgRenderer (DtDe &de)
 
osg::Group * sgModelSetRoot (int modelSet)
 
osg::Group * sgVisualizerRoot (int modelSet, int visualizerType, bool createOnAccess=true)
 
osg::Group * sgChannelRoot (int modelSet, DtChannel *channel, bool createOnAccess=true)
 
void slot_onViewCreated ()
 
void slot_onViewToBeDestroyed ()
 
void slot_onWireframeModeChanged (bool mode)
 
void slot_onDdsFlipChanged (bool flip)
 
void slot_onOcclusionCullingChanged (bool enabled)
 
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 clearFrameBufferIfChannelChanged ()
 
virtual void removeShadows ()
 
virtual void createShadowRoots ()
 
virtual bool exportTerrainAndProps (const std::string &)
 
virtual osg::Group * createModelSetRoot (int modelSet)
 
virtual osg::Group * createVisualizerRoot (int modelSet, int visualizer)
 
virtual osg::Group * createChannelRoot (int modelSet, DtChannel *)
 
virtual osgShadow::ShadowedScene * createModelSetSpecificShadowRootAndScene (int modelSet)
 
virtual void updateTerrainScaling ()
 
virtual void initAerodromeManagers ()
 
virtual void updateAerodrome ()
 
void swapChildren (osg::Node *currentChild, osg::Node *newChild)
 
void postInitialize ()
 
void setupAtcVirtualProgram ()
 
virtual void processBackgroundLoaderIcoTasksIfNecessary (void)
 
virtual void setupTextureManagement (osg::TextureObjectManager *tom)
 
virtual void runMainThreadJobs (double timeBudget)
 
virtual int numDatabasePagerThreads (osgViewer::CompositeViewer &viewer) const
 
virtual bool isNahimicServiceRunning ()
 
- Protected Attributes inherited from makVrv::DtOsgRenderer
DtSceneGraphmySceneGraph
 
DtFontManagermyFontManager
 
DtEffectManagermyEffectManager
 
DtOsgWindowManagermyOsgWindowManager
 
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 > 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
 
osg::ref_ptr< osgUtil::RenderBin > myOcclusionNodeBin
 
bool myWireframeOn
 
bool myShadowsEnabled
 
bool myMultiViewVrEnabled
 
std::map< const osg::Camera
*, DtMultiViewData * > 
myMultiViewData
 
DtTaxiwaySignManagermyTaxiwaySignManager
 
DtRunwayMarkingManagermyRunwayMarkingManager
 
DtLightIndicatorManagermyLightIndicatorManager
 
double myTerrainScaleFactor
 
bool myTerrainScaleFactorChanged
 
bool myTerrainScalingEnabled
 
bool myTerrainScalingEnabledChanged
 
bool myResourcesReleased
 
int myAlphaToCoverageRenderBin
 
int myNewProfilerState
 
DtMainThreadJobsManagermyMainThreadJobsManager
 
bool myReaddJobSystem
 
bool myInitializedInRender
 
unsigned int myActiveThreads
 
DtImguiHelpermyImGuiHelper
 
osg::ref_ptr
< DtOsgGlobalShaderComponent
myGlobalShaderComponent
 
OperationVector myParallelCullJobs
 
OperationVector myParallelSwapBufferJobs
 
- Protected Attributes inherited from makVrv::DtRenderer
DtDemyDe
 
DtObserverObjectManagermyObserverObjectManager
 
DtTickableManagerInterfacemyTickableManager
 
DtOverlayManagermyOverlayManager
 
DtRenderMap myRenderMap
 
DtSignalConnectionManager myConnections
 
- 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 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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)