24 #include <tbb/concurrent_hash_map.h>
27 #include <unordered_map>
32 class DtBallisticGeometry;
33 class DtBallisticRenderer;
34 class DtBallisticComputeComponent;
101 virtual std::string modelSetString()
const;
104 virtual void update(
double deltaTime);
DtVirtualBaseClassCreator< DtBallisticSpatialGrid, const DtModelSetId & > DtBallisticSpatialGridCreator
creator
Definition: DtBallisticSpatialGrid.h:37
const DtModelSetId myModelSet
Model set this grid is associated with.
Definition: DtBallisticSpatialGrid.h:133
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
OSG Drawable that drives per-camera GPU cull and draw for a ballistic spatial cell.
Definition: DtBallisticGeometry.h:58
DtDe & myDe
Reference to the simulation environment.
Definition: DtBallisticSpatialGrid.h:124
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
Axis Aligned Bounding Box class.
friend DtBallisticSpatialGridCreator
Only the creator can create instances.
Definition: DtBallisticSpatialGrid.h:58
AxisAlignedBoundingBox_64 myInfiniteBoundingBox
Infinite bounding box returned for all cells.
Definition: DtBallisticSpatialGrid.h:136
Spatial grid that owns and manages DtBallisticGeometry cells.
Definition: DtBallisticSpatialGrid.h:50
const char * creatorTypeName< DtBallisticSpatialGrid >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtBallisticSpatialGrid.h:44
Interface for GPU compute operations driving the ballistic simulation pipeline.
Definition: DtBallisticComputeComponent.h:71
tbb::concurrent_hash_map< Vector3_int, osg::ref_ptr< DtBallisticGeometry >, DtIndirectCellHasher > MapCellIdsToBallisticGeometry
Map of cell IDs to their corresponding ballistic geometry objects.
Definition: DtBallisticSpatialGrid.h:54
osg::ref_ptr< DtBallisticRenderer > myGridRenderer
OSG renderer node for drawing ballistic geometries.
Definition: DtBallisticSpatialGrid.h:130
osg::ref_ptr< osg::Node > myGridNode
Top-level OSG node parenting all ballistic geometry nodes.
Definition: DtBallisticSpatialGrid.h:127
MapCellIdsToBallisticGeometry myMapCellIdsToBallisticGeometry
Map of cell IDs to their corresponding geometry objects.
Definition: DtBallisticSpatialGrid.h:139
std::mutex myMapCellIdsToBallisticGeometryMutex
Mutex protecting myMapCellIdsToBallisticGeometry during cell creation.
Definition: DtBallisticSpatialGrid.h:141
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
DtModelSetId
Definition: DtModelSetEnums.h:19
hash for Vector3Int (cell ids), so that we can map cell ids to the corresponding indirect geometry ...
Definition: DtIndirectCellHasher.h:19
Contains makVrv::DtIndirectCellHasher class.
Contains various enum classes relating to model sets.