VR-Forces Developer's Guide
 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:90
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. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)