Public Member Functions |
| | DtGeocentricGridLinesDrawer (DtDe &de) |
| | CTOR.
|
| virtual | ~DtGeocentricGridLinesDrawer () |
| | DTOR.
|
| virtual void | drawGridLines () |
| | Main entry point - draw the geocentric grid lines.
|
| virtual void | setScale (double scale) |
| | Set the current observer 2D scale.
|
| virtual void | setObserverPosition (const DtVector &position) |
| | Set the observer position.
|
| virtual void | setChannelDimensions (int startChannelX, int startChannelY, int endChannelX, int endChannelY) |
| | Override to set up expansion values.
|
| | DtGridLinesDrawer (DtDe &de) |
| | Default CTOR.
|
| virtual | ~DtGridLinesDrawer () |
| | Virtual DTOR.
|
| virtual void | setChannel (DtOsgChannel *channel) |
| | Set the channel to draw the grid lines on.
|
| virtual void | setupOverlay () |
| | Get the overlay to use for our channel.
|
| virtual void | setupFont () |
| | Get the font to use fron the font manager.
|
| virtual double | lookupClosestLatLonSpacing (double minimumSpacingRadians) |
| | Find the best allowable lat,lon spacing given the minimum requirement.
|
| virtual double | lookupClosestCartesianSpacing (double minimumSpacing) |
| | Find the best allowable cartesian spacing given the minimum requirement.
|
| | DtGridLinesParameters () |
| | CTOR.
|
| virtual | ~DtGridLinesParameters () |
| | DTOR.
|
| | DtGridLinesParameters (const DtGridLinesParameters &orig) |
| | Copy constructor.
|
| DtGridLinesParameters & | operator= (const DtGridLinesParameters &orig) |
| | \ brief Assignment operator
|
| virtual void | setGridType (makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType) |
| | Set the grid type.
|
| virtual void | setUnitType (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType) |
| | Set the unit type.
|
| virtual void | setUnitType (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType) |
| | Set the unit type.
|
| virtual void | setAutoSpacing (bool autoSpacing) |
| | Set whether auto spacing is used.
|
| virtual void | setMinSpacing (int pixels) |
| | Set the minimum pixel spacing for auto spacing.
|
| virtual void | setFixedSpacingAmount (double amount) |
| | Set the fixed spacing amount.
|
| virtual void | setXOffset (double offset) |
| | Set the x offset for the origin in current units.
|
| virtual void | setYOffset (double offset) |
| | Set the y offset amount in current units.
|
| virtual void | setDecimalPlaces (unsigned decimalPlaces) |
| | Set the number of decimals or, in the case of MGRS, decimalPlaces.
|
| virtual void | setMaxGridLines (int maxGridLines) |
| | Set the max number of grid lines in each direction.
|
| virtual void | setEastWestGridLineColor (float r, float g, float b, float a) |
| | Set the color of east-west grid lines.
|
| virtual void | setEastWestLabelColor (float r, float g, float b, float a) |
| | Set the color of the labels on east-west grid lines.
|
| virtual void | setNorthSouthGridLineColor (float r, float g, float b, float a) |
| | Set the color of north-south grid lines.
|
| virtual void | setNorthSouthLabelColor (float r, float g, float b, float a) |
| | Set the color of the labels north-south grid lines.
|
| virtual void | setLabelFont (const std::string &fontName) |
| | Set the font used for labels.
|
| virtual void | setLabelPointSize (int pointSize) |
| | Set the point size used for labels.
|
| virtual void | setLabelXOffset (int pixels) |
| | Set the offset of labels from the bottom of the screen.
|
| virtual void | setLabelYOffset (int pixels) |
| | Set the offset of labels from the left side of the screen.
|
| virtual void | setLabelTextWidth (int width) |
| | Set the width of the box used to display text in.
|
| virtual void | setLabelTextHeight (int height) |
| | Set the height of the box used to display text in.
|
| virtual void | setGridLineWidth (float width) |
| | Set the width of grid lines.
|
Protected Member Functions |
| virtual void | setupReferenceEllipsoid () |
| | Set up a reference ellipsoid for the current coordinate system that can be reused for all geodetic coordinate objects.
|
| virtual void | setupTopoGeocTransforms () |
| | Set up transforms between Geocentric and geodetic coordinates.
|
| virtual bool | pointVisible (const DtVector &point) const |
| | Determine if the geocentric point specified could be visible (ignoring the current observer orientation)
|
| virtual void | findPolarSpacing () |
| | Determine the spacings to use when one of the poles is visible.
|
| virtual void | drawPolarLongitudeLines () |
| | Draw the longitude lines when one of the poles is visible.
|
| virtual void | drawPolarLatitudeLines () |
| | Draw the latitude lines when one of the poles is visible.
|
| virtual void | findLatLonWindowDimensions () |
| | Find the range of longitude and latitude to draw lines over based on the window dimensions (and scale and observer position)
|
| virtual void | findSpacing () |
| | Determine the spacings to use when neither pole is visible.
|
| virtual void | anchorAndOffsetLines () |
| | find the correct starting point for longitude and latitude lines given the current spacing and offsets specified
|
| virtual void | drawLongitudeLines () |
| | Draw the longitude lines when neither pole is visible.
|
| virtual void | drawLatitudeLines () |
| | Draw the latitude lines when neither pole is visible.
|
| virtual void | createLabel (DtTextProxy *&label, double radians, bool isLongitude) |
| | Create a label.
|
| virtual void | destroyGridLines () |
| | Destroy all grid lines.
|
| virtual bool | clip3D (const DtVector &pointA, const DtVector &pointB, DtVector &clippedA, DtVector &clippedB) const |
| | Returns false if A and B are beyond the clip plane.
|
| virtual void | clearUnusedLinesAndLabels (int index, GridLineVector &lines, LabelArray &labels) |
| | Deallocates all segments and labels for indices at and above the provided index in the provided GridLineVector.
|
| virtual void | clearUnusedSegments (int index, GridLine &line) |
| | Deallocates all line segments at and above the provided index in the provided GridLine.
|
| virtual void | destroyLinesAndLabels (GridLineVector &lines, LabelArray &labels) |
| | Deallocates all line segments and all labels in the GridLineVector and label arrays provided.
|
| virtual void | resizeLinesAndLabels (GridLineVector &lines, LabelArray &labels, int numLines) |
| | Set the number of lines to draw in a frame Will resize /cleanup current memory allocations for lines and labels.
|
| virtual bool | drawLineSegment (DtLineSegment *&segment, const DtVector &start, const DtVector &end, float *colorArray, bool *pass3D=0) |
| | Draw a geocentric line segment, if its visible.
|
| virtual GridLine & | getSegmentedLine (GridLineVector &lines, int index, int numSegments) |
| | Returns the line from the line vector at the specified index with enough segment pointers allocated.
|
vrvGraphics-based implementation of 2D Grid Lines on geocentric databases