14 #include <matrix/vlVector.h>
18 class DtOverlayRenderer;
20 class DtFilledPolygon;
23 class DtDisplayUnitsConverter;
26 class DtIntersectorsContainer;
74 void setWindowX(
double windowX);
77 double windowX()
const;
80 void setWindowY(
double windowY);
83 double windowY()
const;
86 void setGeocentric(
DtVector geocentric);
104 void setMode(Mode
mode);
110 void setHighlight(
bool isHighLight);
113 bool highlight()
const;
116 void setNormalColor(
DtVector color);
122 void setHighlightColor(
DtVector color);
128 void setVertexWidth(
int width);
131 int vertexWidth()
const;
134 void setHighlightRangeSquare(
int range);
137 int highlightRangeSquare()
const;
165 virtual bool initialize(
DtChannel* channel);
168 virtual void reset();
177 virtual void setVertexWindowCoordinate(
int index,
double windowX,
double windowY);
182 virtual void setVertexLongitude(
int index,
double longitude);
187 virtual void setVertexLatitude(
int index,
double latitude);
191 virtual double getVertexLongitude(
int index);
195 virtual double getVertexLatitude(
int index);
200 virtual void place(
double windowX,
double windowY);
208 virtual void move(
double windowX,
double windowY);
211 virtual void dirty();
216 virtual void cleanup(
bool deleteGeometry);
221 virtual void update(
double mouseX,
double mouseY);
231 virtual void draw(
double mouseX,
double mouseY);
237 virtual void handleHighlight(
int index,
double mouseX,
double mouseY);
242 virtual void geodeticToGeocentric(
const DtVector& geodetic,
DtVector& geocentric);
247 virtual void geocentricToGeodetic(
const DtVector& geocentric,
DtVector& geodetic);
253 virtual void geocentricToWindow(
const DtVector& geocentric,
double& mouseX,
double& mouseY);
256 virtual void windowToGeocentric(
double mouseX,
double mouseY,
DtVector& geocentric);
bool myIsHighlight
Definition: DtOsgGeoExtentRectangle.h:146
Vertex is placed.
Definition: DtOsgGeoExtentRectangle.h:47
double myWindowX
Definition: DtOsgGeoExtentRectangle.h:141
double myWindowY
Definition: DtOsgGeoExtentRectangle.h:142
The vertex of the rectangle.
Definition: DtOsgGeoExtentRectangle.h:37
DtCameraNode * myCameraNode
Definition: DtOsgGeoExtentRectangle.h:263
bool myIsDirty
Definition: DtOsgGeoExtentRectangle.h:265
Mode
The current operation mode.
Definition: DtOsgGeoExtentRectangle.h:42
Definition: vrfObjectManipulationHandlerBaseClass.h:62
int myVertexWidth
Definition: DtOsgGeoExtentRectangle.h:150
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
A rectangle defines an axis-aligned geospatial extent. A bounding box that is aligned with a spatial ...
Definition: DtOsgGeoExtentRectangle.h:31
Utility class that contains intersectors for all model sets in the system (3d, xr, 2d) Use an object of this class when all models sets can be possibly needed. When you know which model set you need, you can just use the DtIntersectorCreator to create an intersector for a model set Models sets corresponding to 3d, xr and 2d are created by default (these correspond to values of 0, 1 and 5) Additional model sets can be registered with DtIntersectorsContainer::registerModelSet.
Definition: DtIntersectorsContainer.h:37
DtVector myGeodetic
Definition: DtOsgGeoExtentRectangle.h:144
DtVector myGeocentric
Definition: DtOsgGeoExtentRectangle.h:143
Vertex is not placed.
Definition: DtOsgGeoExtentRectangle.h:45
DtVector myColor
Definition: DtOsgGeoExtentRectangle.h:266
DtDe & myDe
Definition: DtOsgGeoExtentRectangle.h:259
DtFilledPolygon * myPolygon
Definition: DtOsgGeoExtentRectangle.h:149
A variable vertex convex filled 2D polygon.
Definition: DtFilledPolygon.h:27
The abstract Channel Class.
Definition: DtChannel.h:35
Utility class for doing global unit conversion. All conversions functions use the following naming co...
Definition: DtDisplayUnitsSettingsManager.h:61
const DtDisplayUnitsConverter & myConverter
Definition: DtOsgGeoExtentRectangle.h:260
VR-Vantage specific subclass of OSG camera.
Definition: DtCameraNode.h:30
int myHighlightRangeSquare
Definition: DtOsgGeoExtentRectangle.h:151
const char int mode
Definition: ioapi.h:38
Contains DLL export macros.
DtVector myNormalColor
Definition: DtOsgGeoExtentRectangle.h:147
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:72
Vertex is dragging.
Definition: DtOsgGeoExtentRectangle.h:49
DtVector myHighlightColor
Definition: DtOsgGeoExtentRectangle.h:148
boost::signalslib::signal< void(int index, double longtitude, double latitude)> signal_vertexChanged
Definition: DtOsgGeoExtentRectangle.h:224
DtChannel * myChannel
Definition: DtOsgGeoExtentRectangle.h:264
DtOsgGeoExtentRectangle::Vertex::Mode myMode
Definition: DtOsgGeoExtentRectangle.h:145
DtFilledPolygon * myRectangle
Definition: DtOsgGeoExtentRectangle.h:262
The DtOverlayRenderer implements the overlay concept. An overlay is a 2D scene that is drawn on top o...
Definition: DtOverlayRenderer.h:69