VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEnvBoundingCallback.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #include <osg/BoundingSphere>
11 #include <osg/Node>
12 
13 namespace makVrv
14 {
15  class DtDe;
16  class DtOsgRenderer;
17 
20  {
21  public:
23  virtual osg::BoundingSphere computeBound(const osg::Node& node) const;
24 
25  mutable bool myWasCalculated;
26  mutable float myTimeSpentThisFrame;
27  protected:
30  };
31 }
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:125
Callback to allow users to profile computation of bounding volume for scene.
Definition: DtEnvBoundingCallback.h:19
float myTimeSpentThisFrame
Definition: DtEnvBoundingCallback.h:26
DtOsgRenderer & myRenderer
Definition: DtEnvBoundingCallback.h:28
bool myWasCalculated
Definition: DtEnvBoundingCallback.h:25
DtDe & myDe
Definition: DtEnvBoundingCallback.h:29
virtual osg::BoundingSphere computeBound(const osg::Node &node) const
DtEnvBoundingCallback(DtDe &de, DtOsgRenderer &renderer)
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

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)