19 #include <matrix/vlVector.h>
21 #include <boost/bind/bind.hpp>
27 class DtGeom3dLinesSystem;
67 CategoryFlagsTracks = 0x0001,
68 CategoryFlagsRoutes = 0x0002,
69 CategoryFlagsAll = 0xFFFF,
118 virtual void clearLines();
127 virtual void setOrigin(
const DtVector&
origin);
131 virtual const DtVector&
origin()
const;
135 virtual void setCurrentColor(
float r,
float g,
float b,
float a);
139 virtual void setCurrentStartColor(
float r,
float g,
float b,
float a);
146 virtual void setCurrentEndColor(
float r,
float g,
float b,
float a);
157 virtual void populateHeightLines(
const DtVector& pointA,
158 const DtVector& pointB,
float desiredSpacing);
166 virtual void setLine(
const DtVector& pointA,
175 virtual void setHeightLineAtPoint(
const DtVector& point,
179 virtual const DtVector& lastPlacedHeightLinePoint()
const;
190 virtual double computeDownDistance(
const DtVector& point)
const;
200 void computeCullingSphere(
DtVector3<double>& center,
double& radiusSquared)
const;
213 std::vector<DtGeom3dLinesComponent::Line>
myLines;
219 float myStartColor[4];
258 static const std::string& theClassName();
std::vector< DtGeom3dLinesComponent::Line > myLines
Definition: DtGeom3dLinesComponent.h:213
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Contains makVrv::Dt3dLinesStagingBuffer class declaration.
A class responsible for processing DtGeom3dLinesComponent objects.
Definition: DtGeom3dLinesSystem.h:62
Contains the makVrv::DtGeom3dLinesSystem class declaration.
DtVector3< double > myBoundsMax
Definition: DtGeom3dLinesComponent.h:222
voidpf uLong int origin
Definition: ioapi.h:42
double myOriginAlt
Definition: DtGeom3dLinesComponent.h:218
Dt3dLinesStagingBuffer::LinePoint myPointA
Definition: DtGeom3dLinesComponent.h:207
int LineHandle
A handle type to identify individual lines.
Definition: DtGeom3dLinesComponent.h:73
creator for DtGeom3dLinesComponent
Definition: DtGeom3dLinesComponent.h:230
Dt3dLinesStagingBuffer::LinePoint myPointB
Definition: DtGeom3dLinesComponent.h:208
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtVector3< double > myBoundsMin
Definition: DtGeom3dLinesComponent.h:221
A class which represents a component for a set of 3d lines.
Definition: DtGeom3dLinesComponent.h:51
DtVector myOrigin
Definition: DtGeom3dLinesComponent.h:217
bool myBoundsValid
Definition: DtGeom3dLinesComponent.h:223
DtVector myDown
Definition: DtGeom3dLinesComponent.h:216
DtGeom3dLinesSystem & mySystem
Definition: DtGeom3dLinesComponent.h:211
std::map< LineHandle, DtGeom3dLinesComponent::Line > myHandleLines
Definition: DtGeom3dLinesComponent.h:214
A class which represents a buffer used for staging 3d line points. "staging" means collecting...
Definition: Dt3dLinesStagingBuffer.h:34
DtGeom3dLinesComponent::CategoryFlags myCategoryFlags
Definition: DtGeom3dLinesComponent.h:224
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
CategoryFlags
Optional enumeration used to classify components for usage type. (see setCategoryFlags) ...
Definition: DtGeom3dLinesComponent.h:65
DtModelSetId
Definition: DtModelSetEnums.h:19
DtVector myLastPlacedPoint
Definition: DtGeom3dLinesComponent.h:215
A structure to hold point data for 1 line.
Definition: DtGeom3dLinesComponent.h:205
A structure to hold data for 1 point of a line.
Definition: Dt3dLinesStagingBuffer.h:41
Contains various enum classes relating to model sets.
DtModelSetId myModelSetId
Definition: DtGeom3dLinesComponent.h:212
Contains DLL export macros.