23 #include <matrix/vlVector.h>
25 #include <unordered_map>
87 virtual void addLine(
const std::string name,
const Vector3_64& point0,
92 virtual void removeLine(
const std::string name);
103 virtual void removeMultiLine(
const std::string name);
112 virtual void addBox(
const std::string name,
const Vector3_64& center,
const Matrix3_32& rotation,
117 virtual void removeBox(
const std::string name);
125 virtual void addSphere(
const std::string name,
const Vector3_64& center,
float radius,
126 const Vector4_32& color,
float aliveTime = 5.0f);
130 virtual void removeSphere(
const std::string name);
139 virtual void updateLines(
double timeStep);
142 virtual void updateMultiLines(
double timeStep);
145 virtual void updateBoxes(
double timeStep);
148 virtual void updateSpheres(
double timeStep);
151 virtual void slot_preTick();
165 float myAliveTime = 0.0f;
175 float myAliveTime = 0.0f;
185 float myAliveTime = 0.0f;
189 int myHandles[12] = {};
196 float myAliveTime = 0.0f;
208 bool operator() (
const std::string& lhs,
const std::string rhs)
const;
213 size_t operator() (std::string str)
const;
217 typedef std::unordered_map<std::string,
DtDebugLine,
223 typedef std::unordered_map<std::string,
DtDebugBox,
233 int myNextHandle = 0;
234 float myComponentUseAliveTime = 0.0f;
248 int myNextHandle = 0;
249 float myComponentUseAliveTime = 0.0f;
257 int myNextHandle = 0;
258 float myComponentUseAliveTime = 0.0f;
BoxMap myMap
Definition: DtDebugShapes.h:247
std::unordered_map< std::string, DtDebugBox, CaseInsensitiveUnorderedMap::hash, CaseInsensitiveUnorderedMap::comp > BoxMap
Definition: DtDebugShapes.h:224
std::unordered_map< std::string, DtDebugLine, CaseInsensitiveUnorderedMap::hash, CaseInsensitiveUnorderedMap::comp > LineMap
Definition: DtDebugShapes.h:218
Definition: DtDebugShapes.h:206
A class which represents a component for a set of 3d spheres.
Definition: DtGeom3dSpheresComponent.h:48
MultiLineSet myMultiLineSet
Definition: DtDebugShapes.h:263
SphereSet mySphereSet
Definition: DtDebugShapes.h:265
voidpf void uLong size
Definition: ioapi.h:39
A structure used to contain a compare operator and a hash operator for use with a case insensitive st...
Definition: DtDebugShapes.h:204
Definition: DtDebugShapes.h:211
double myLastSimulationTime
Definition: DtDebugShapes.h:159
BoxSet myBoxSet
Definition: DtDebugShapes.h:264
A structure used to hold information for a debug line.
Definition: DtDebugShapes.h:162
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
A structure used to hold information for a debug sphere.
Definition: DtDebugShapes.h:193
A structure to organize information about boxes.
Definition: DtDebugShapes.h:245
friend DtDebugShapesCreator
Definition: DtDebugShapes.h:62
std::unordered_map< std::string, DtDebugSphere, CaseInsensitiveUnorderedMap::hash, CaseInsensitiveUnorderedMap::comp > SphereMap
Definition: DtDebugShapes.h:227
A structure to organize information about lines.
Definition: DtDebugShapes.h:230
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
A class which represents a component for a set of 3d lines.
Definition: DtGeom3dLinesComponent.h:51
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtSignalConnectionManager myConnections
Definition: DtDebugShapes.h:157
DtDe & myDe
Definition: DtDebugShapes.h:155
std::unordered_map< std::string, DtDebugMultiLine, CaseInsensitiveUnorderedMap::hash, CaseInsensitiveUnorderedMap::comp > MultiLineMap
Definition: DtDebugShapes.h:221
MultiLineMap myMap
Definition: DtDebugShapes.h:241
Base class to provide boost signal/slot management.
A structure used to hold information for a debug line set.
Definition: DtDebugShapes.h:172
A structure to organize information about spheres.
Definition: DtDebugShapes.h:254
3 dimensional matrix
Definition: DtMatrix3.h:20
LineMap myMap
Definition: DtDebugShapes.h:232
LineSet myLineSet
Definition: DtDebugShapes.h:262
A structure to organize information about multilines.
Definition: DtDebugShapes.h:239
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
Contains makVrv::DtGeom3dSpheresComponent class declaration.
Contains makVrv::DtGeom3dLinesComponent class declaration.
SphereMap myMap
Definition: DtDebugShapes.h:256
A structure used to hold information for a debug box.
Definition: DtDebugShapes.h:182
This class can be used to help you visually debug lines and boxes.
Definition: DtDebugShapes.h:60
DtVirtualBaseClassCreator< DtDebugShapes > DtDebugShapesCreator
creator
Definition: DtDebugShapes.h:33
const char * creatorTypeName< DtDebugShapes >()
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtDebugShapes.h:40
Contains DLL export macros.