Vector graphics for both composites and single radar data (polar coordinates).
More...
|
|
| RadarSVG (int radialBezierResolution=8) |
| |
|
| RadarSVG (const RadarSVG &radarSvg) |
| |
|
void | deriveMaxRange (const Hi5Tree &srcPolar) |
| |
|
double | getRange (double r=1.0) |
| | If r is inside +/-100% = [-1.0,1.0], return that portion of maximum range, else the argument as such.
|
| |
| void | updateRadarConf (const drain::VariableMap &where) |
| | Read meta data related to polar coordinates, that is, geographic configuration of a single radar.
|
| |
| void | updateCartesianConf (const drain::VariableMap &where) |
| | Read meta data related to Cartesian data, that is, geographic configuration of a radar composite.
|
| |
|
void | updateCartesianConf (const Composite &comp) |
| |
|
void | setRadialResolution (int n) |
| | Number of "sectors" in a sphere.
|
| |
|
void | getCubicBezierConf (CubicBezierConf &conf, int n) const |
| |
|
void | getCubicBezierConf (CubicBezierConf &conf, double angleStartR, double angleEndR) const |
| |
|
void | convert (double radius, double azimuth, drain::Point2D< int > &imgPoint) const |
| |
|
void | polarToMeters (double radius, double azimuth, drain::Point2D< double > &geoPoint) const |
| |
|
void | radarGeoToCompositeImage (drain::Point2D< double > &radarPoint, drain::Point2D< int > &imagePoint) const |
| |
|
void | moveTo (drain::svgPATH &elem, drain::Point2D< int > &imgPoint, double radiusM, double azimuthR) const |
| | Move to image point at (radius, azimuth)
|
| |
|
void | moveTo (drain::svgPATH &elem, double radius, double azimuth) const |
| |
|
void | lineTo (drain::svgPATH &elem, double radius, double azimuth) const |
| |
|
void | lineTo (drain::svgPATH &elem, drain::Point2D< int > &imgPoint, double radiusM, double azimuthR) const |
| |
| void | cubicBezierTo (drain::svgPATH &elem, double radiusM, double azimuthStartR, double azimuthEndR) const |
| | Single command to draw arc.
|
| |
| void | cubicBezierTo (drain::svgPATH &elem, drain::Point2D< int > &imgPoint, double radiusM, double azimuthStartR, double azimuthEndR) const |
| |
|
void | close (drain::svgPATH &elem) |
| |
Vector graphics for both composites and single radar data (polar coordinates).
This class utilizes SVG elements supporting free draw, especially POLYGON and PATH.
As geographic projections distort lines, arcs and angles, Bezier curves (PATH) are used.