VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgLightDebugAdapter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 
16 namespace makVrv
17 {
18  class DtOsgGizmoRenderer;
19 
22  {
23  public:
25  , myLastFrameNumber(0)
26  , myDrawDebugData(false)
27  {
28 
29  }
30  virtual void drawDebugLines(osg::RenderInfo& renderInfo, const osg::Vec3d& eyePoint, DtOsgGizmoRenderer* renderer);
31  protected:
32  unsigned int myLastFrameNumber;
34  };
35 }
bool myDrawDebugData
Definition: DtOsgLightDebugAdapter.h:33
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
A simple interface for allowing the various systems to draw lines at the right time.
Definition: DtOsgGizmoRenderer.h:31
a class to quickly render a bunch of basic primitives as debugging aids basic overview, create an adapter that inherits from DtDebugDrawCallbackInterface then call DtOsgGizmoRenderer::addDebugDrawerCallback() to register it with the system.
Definition: DtOsgGizmoRenderer.h:125
DtOsgLightDebugAdapter(DtDe &de)
Definition: DtOsgLightDebugAdapter.h:24
class that inherits gizmo rendering
Definition: DtOsgLightDebugAdapter.h:21
unsigned int myLastFrameNumber
Definition: DtOsgLightDebugAdapter.h:32
Contains makVrv::DtOsgGizmoRenderer class.
Contains DLL export macros.
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)