19 #include <matrix/vlVector.h>
21 #include <boost/bind/bind.hpp>
27 class DtGeom3dSpheresSystem;
64 CategoryFlagsTracks = 0x0001,
65 CategoryFlagsRoutes = 0x0002,
66 CategoryFlagsAll = 0xFFFF,
115 virtual void clearSpheres();
119 virtual void setCurrentColor(
float r,
float g,
float b,
float a);
130 virtual void setSphere(
const DtVector& center,
float radius,
SphereHandle handle);
147 void computeCullingSphere(
DtVector3<double>& center,
double& radiusSquared)
const;
159 std::vector<DtGeom3dSpheresComponent::Sphere>
mySpheres;
199 static const std::string& theClassName();
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtModelSetId myModelSetId
Definition: DtGeom3dSpheresComponent.h:158
A class which represents a component for a set of 3d spheres.
Definition: DtGeom3dSpheresComponent.h:48
DtVector3< double > myBoundsMax
Definition: DtGeom3dSpheresComponent.h:163
Dt3dSpheresStagingBuffer::Sphere mySphere
Definition: DtGeom3dSpheresComponent.h:154
DtGeom3dSpheresSystem & mySystem
Definition: DtGeom3dSpheresComponent.h:157
A class which represents a buffer used for staging 3d spheres. "staging" means collecting, formatting, prepping data to be handed to another process (usually a rendering process). Most likely, this staged data will be passed to a gpu buffer at when needed.
Definition: Dt3dSpheresStagingBuffer.h:34
A class responsible for processing DtGeom3dSpheresComponent objects.
Definition: DtGeom3dSpheresSystem.h:62
std::vector< DtGeom3dSpheresComponent::Sphere > mySpheres
Definition: DtGeom3dSpheresComponent.h:159
CategoryFlags
Optional enumeration used to classify components for usage type. (see setCategoryFlags) ...
Definition: DtGeom3dSpheresComponent.h:62
creator for DtGeom3dSpheresComponent
Definition: DtGeom3dSpheresComponent.h:171
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
int SphereHandle
A handle type to identify individual spheres.
Definition: DtGeom3dSpheresComponent.h:70
Contains makVrv::Dt3dSpheresStagingBuffer class declaration.
bool myBoundsValid
Definition: DtGeom3dSpheresComponent.h:164
std::map< SphereHandle, DtGeom3dSpheresComponent::Sphere > myHandleSpheres
Definition: DtGeom3dSpheresComponent.h:160
DtGeom3dSpheresComponent::CategoryFlags myCategoryFlags
Definition: DtGeom3dSpheresComponent.h:165
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
DtVector3< double > myBoundsMin
Definition: DtGeom3dSpheresComponent.h:162
DtModelSetId
Definition: DtModelSetEnums.h:19
Contains the makVrv::DtGeom3dSpheresSystem class declaration.
A structure to hold data for 1 sphere.
Definition: DtGeom3dSpheresComponent.h:152
A structure to hold data for 1 sphere.
Definition: Dt3dSpheresStagingBuffer.h:41
Contains various enum classes relating to model sets.
Contains DLL export macros.