25 class DtTriangleProxy;
26 class DtDecalProjectorComponentInterface;
63 static unsigned int idFromColor(
unsigned int );
66 virtual void setUserData(
unsigned long long data );
69 virtual unsigned long long userData()
const;
74 inline unsigned int id()
const {
return myId; };
77 boost::signalslib::signal<void (int x, int y)> signal_mouseEnter;
151 virtual void setPosition(
float x,
float y,
float z,
float w );
154 virtual void setRotation(
float angle );
161 void setIsRotationInScreenSpace(
bool isRotationInScreenSpace);
167 void setMaximumWorldHeight(
double worldHeightInMeters);
173 void setMaximumWorldWidth(
double worldWidthInMeters);
177 virtual void setPoints(
const float points[8] );
181 virtual void setPointsByMinimumAltitude(
const float points[8],
double altitude );
188 virtual void setIsForcedPointsByAltitudeEnabled(
bool isEnabled);
192 virtual void setAltitudeForForcedPoints(
double altitude);
195 virtual void clearAltitudeSpecificConfigurations();
200 virtual void setLodOutAltitude(
double lodOutAltitude);
204 virtual void setIsLodOutAltitudeEnabled(
bool isLodOutAltitudeEnabled);
207 virtual void setGroup(
float group );
258 virtual void set3DPosition(
int index0or1,
float x,
float y,
float z,
float w );
261 virtual void set2DPosition(
int index0or1,
float x,
float y );
264 virtual void set3DDirection(
unsigned int vertexIndex,
float x,
float y,
float z );
267 virtual void setDirection2DLength(
unsigned int vertexIndex,
float length );
270 virtual void setGroup(
float group );
276 virtual void setWidth(
float w );
325 void set3DPosition(
float x,
float y,
float z,
float w );
328 void set3DPosition(
unsigned int index,
float x,
float y,
float z,
float w );
332 void set2DPosition(
unsigned int index,
float x,
float y );
335 void setGroup(
float order );
385 virtual bool pick(
double sceneX,
double sceneY,
double sceneZ)
const;
DtDecalProjectorComponentInterface * myComponent
Definition: DtPickableWidget.h:394
friend DtPickableDecalProjectorCreator
Definition: DtPickableWidget.h:364
const char * creatorTypeName< DtPickableTriangle >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtPickableWidget.h:297
friend DtPickableQuadCreator
Definition: DtPickableWidget.h:127
The DtPickableQuad is a pickable widget that matches the Quad interface.
Definition: DtPickableWidget.h:125
DtVirtualBaseClassCreator< DtPickableDecalProjector, DtWidgetPicker &, DtDecalProjectorComponentInterface *& > DtPickableDecalProjectorCreator
DtPickableTriangleCreator.
Definition: DtPickableWidget.h:350
DtQuadProxy * myQuad
Definition: DtPickableWidget.h:216
The DtPickableLine is a pickable widget that matches the TriangleProxy interface. ...
Definition: DtPickableWidget.h:302
const char * creatorTypeName< DtPickableQuad >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtPickableWidget.h:120
const char * creatorTypeName< DtPickableLine >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtPickableWidget.h:228
DtVirtualBaseClassCreator< DtPickableWidget, DtWidgetPicker & > DtPickableWidgetCreator
DtPickableWidgetCreator.
Definition: DtPickableWidget.h:29
The DtPickableDecalProjector is a pickable widget used to pick a decal projector interface.
Definition: DtPickableWidget.h:362
DtVirtualBaseClassCreator< DtPickableQuad, DtWidgetPicker & > DtPickableQuadCreator
DtPickableQuadCreator.
Definition: DtPickableWidget.h:113
A class which represents a component for a decal projector.
Definition: DtDecalProjectorComponentInterface.h:43
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
A class which represents a single line segment.
Definition: DtLineSegment.h:23
A flyweight class for controlling a triangle owned by the triangle renderer.
Definition: DtTriangleRenderer.h:115
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
DtVirtualBaseClassCreator< DtPickableLine, DtWidgetPicker & > DtPickableLineCreator
DtPickableLineCreator.
Definition: DtPickableWidget.h:221
The DtPickableLine is a pickable widget that matches the LineSegment interface.
Definition: DtPickableWidget.h:233
DtLineSegment * myLine
Definition: DtPickableWidget.h:285
DtTriangleProxy * myProxy
Definition: DtPickableWidget.h:344
DtVirtualBaseClassCreator< DtPickableTriangle, DtWidgetPicker & > DtPickableTriangleCreator
DtPickableTriangleCreator.
Definition: DtPickableWidget.h:290
friend DtPickableTriangleCreator
Definition: DtPickableWidget.h:304
const char * creatorTypeName< DtPickableWidget >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtPickableWidget.h:36
A flyweight class for controlling a single quad owned by the DtQuadRenderer.
Definition: DtQuadProxy.h:26
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
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
friend DtPickableLineCreator
Definition: DtPickableWidget.h:235
const char * creatorTypeName< DtPickableDecalProjector >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtPickableWidget.h:357