14 #include <matrix/vlVector.h>
18 class DtOverlayRenderer;
20 class DtFilledPolygon;
23 class DtDisplayUnitsConverter;
72 void setWindowX(
double windowX);
75 double windowX()
const;
78 void setWindowY(
double windowY);
81 double windowY()
const;
84 void setGeocentric(
DtVector geocentric);
102 void setMode(Mode
mode);
108 void setHighlight(
bool isHighLight);
111 bool highlight()
const;
114 void setNormalColor(
DtVector color);
120 void setHighlightColor(
DtVector color);
126 void setVertexWidth(
int width);
129 int vertexWidth()
const;
132 void setHighlightRangeSquare(
int range);
135 int highlightRangeSquare()
const;
163 virtual bool initialize(
DtChannel* channel);
166 virtual void reset();
175 virtual void setVertexWindowCoordinate(
int index,
double windowX,
double windowY);
180 virtual void setVertexLongitude(
int index,
double longitude);
185 virtual void setVertexLatitude(
int index,
double latitude);
189 virtual double getVertexLongitude(
int index);
193 virtual double getVertexLatitude(
int index);
198 virtual void place(
double windowX,
double windowY);
206 virtual void move(
double windowX,
double windowY);
209 virtual void dirty();
214 virtual void cleanup(
bool deleteGeometry);
219 virtual void update(
double mouseX,
double mouseY);
229 virtual void draw(
double mouseX,
double mouseY);
235 virtual void handleHighlight(
int index,
double mouseX,
double mouseY);
240 virtual void geodeticToGeocentric(
const DtVector& geodetic,
DtVector& geocentric);
245 virtual void geocentricToGeodetic(
const DtVector& geocentric,
DtVector& geodetic);
251 virtual void geocentricToWindow(
const DtVector& geocentric,
double& mouseX,
double& mouseY);
254 virtual void windowToGeocentric(
double mouseX,
double mouseY,
DtVector& geocentric);
bool myIsHighlight
Definition: DtOsgGeoExtentRectangle.h:144
Vertex is placed.
Definition: DtOsgGeoExtentRectangle.h:45
double myWindowX
Definition: DtOsgGeoExtentRectangle.h:139
double myWindowY
Definition: DtOsgGeoExtentRectangle.h:140
The vertex of the rectangle.
Definition: DtOsgGeoExtentRectangle.h:35
DtCameraNode * myCameraNode
Definition: DtOsgGeoExtentRectangle.h:262
bool myIsDirty
Definition: DtOsgGeoExtentRectangle.h:264
Mode
The current operation mode.
Definition: DtOsgGeoExtentRectangle.h:40
Definition: vrfObjectManipulationHandlerBaseClass.h:63
int myVertexWidth
Definition: DtOsgGeoExtentRectangle.h:148
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
A rectangle defines an axis-aligned geospatial extent.
Definition: DtOsgGeoExtentRectangle.h:29
DtVector myGeodetic
Definition: DtOsgGeoExtentRectangle.h:142
DtVector myGeocentric
Definition: DtOsgGeoExtentRectangle.h:141
Vertex is not placed.
Definition: DtOsgGeoExtentRectangle.h:43
DtVector myColor
Definition: DtOsgGeoExtentRectangle.h:265
DtDe & myDe
Definition: DtOsgGeoExtentRectangle.h:258
DtFilledPolygon * myPolygon
Definition: DtOsgGeoExtentRectangle.h:147
A variable vertex convex filled 2D polygon.
Definition: DtFilledPolygon.h:26
DtDisplayUnitsConverter & myConverter
Definition: DtOsgGeoExtentRectangle.h:259
The abstract Channel Class.
Definition: DtChannel.h:29
Utility class for doing global unit conversion.
Definition: DtDisplayUnitsSettingsManager.h:59
VR-Vantage specific subclass of OSG camera.
Definition: DtCameraNode.h:30
int myHighlightRangeSquare
Definition: DtOsgGeoExtentRectangle.h:149
const char int mode
Definition: ioapi.h:38
Contains DLL export macros.
DtVector myNormalColor
Definition: DtOsgGeoExtentRectangle.h:145
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Vertex is dragging.
Definition: DtOsgGeoExtentRectangle.h:47
DtVector myHighlightColor
Definition: DtOsgGeoExtentRectangle.h:146
DtChannel * myChannel
Definition: DtOsgGeoExtentRectangle.h:263
boost::signal< void(int index, double longtitude, double latitude)> signal_vertexChanged
Definition: DtOsgGeoExtentRectangle.h:222
DtOsgGeoExtentRectangle::Vertex::Mode myMode
Definition: DtOsgGeoExtentRectangle.h:143
DtFilledPolygon * myRectangle
Definition: DtOsgGeoExtentRectangle.h:261
The DtOverlayRenderer implements the overlay concept.
Definition: DtOverlayRenderer.h:23