VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBallisticDebugGeometry.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2026 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
6 #pragma once
7 
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osg/Drawable>
15 
16 namespace osg
17 {
18  class NodeVisitor;
19  class State;
20 }
21 
22 namespace makVrv
23 {
24  class DtDe;
25  class DtBallisticComputeComponent;
26  class DtBallisticRunTimeSettings;
27 
40  class DT_DLL_VRVOSG DtBallisticDebugGeometry : public osg::Drawable
41  {
42  public:
48  DtBallisticComputeComponent& computeComponent);
49 
51  virtual ~DtBallisticDebugGeometry();
52 
61  void shutdown();
62 
64  virtual void accept(osg::NodeVisitor& nv) override;
65 
67  virtual void drawImplementation(osg::RenderInfo& renderInfo) const override;
68 
70  virtual void releaseGLObjects(osg::State* state) const override;
71 
73  virtual void accept(osg::PrimitiveFunctor& functor) const override;
74 
75  private:
77  DtBallisticDebugGeometry() = delete;
78 
81 
83  DtBallisticDebugGeometry& operator=(const DtBallisticDebugGeometry&) = delete;
84 
88  };
89 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
const DtBallisticRunTimeSettings & myBallisticRunTimeSettings
Definition: DtBallisticDebugGeometry.h:87
OSG Drawable that renders position-only debug spheres for all active ballistic projectiles when Debug...
Definition: DtBallisticDebugGeometry.h:40
Interface for GPU compute operations driving the ballistic simulation pipeline.
Definition: DtBallisticComputeComponent.h:71
Singleton holding runtime-tweakable settings for the ballistic system.
Definition: DtBallisticRunTimeSettings.h:43
Contains DLL export macros.
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:76
DtBallisticComputeComponent * myComputeComponent
Definition: DtBallisticDebugGeometry.h:86
DtDe & myDe
Definition: DtBallisticDebugGeometry.h:85

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)