Specifies a uniform grid of elevation values within some spatial reference frame. More...
#include <Inventor/geo/SoVRMLGeoElevationGrid.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLGeoElevationGrid () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFFloat | yScale |
SoSFVec3f | geoGridOrigin |
SoMFString | geoSystem |
SoSFNode | geoOrigin |
The SoVRMLGeoElevationGrid allows to create terrain models for local or large areas (automatically introduces correct degree of earth curvature).
This section may reference portions of the X3D specification that are not present in this help file. The complete X3D spec is available at http://www.web3d.org .
The SoVRMLGeoElevationGrid node specifies a uniform grid of elevation values within some spatial reference frame. These are then transparently transformed into a geocentric, curved-earth representation. For example, this would allow a geographer to create a height field where all coordinates are specified in terms of latitude, longitude, and elevation. The fields color, colorPerVertex, texCoord, normal, and normalPerVertex all have the same meaning as for ElevationGrid (see 13.3.4 ElevationGrid). The ccw, solid, and creaseAngle fields are described in 11.2.3 Common geometry fields. The geoOrigin field is used to specify a local coordinate frame for extended precision as described in 25.2.5 Dealing with high-precision coordinates. The geoSystem field is used to define the spatial reference frame and is described in 25.2.3 Specifying a spatial reference frame. The geoGridOrigin field specifies the geographic coordinate for the south-west corner (bottom-left) of the dataset. This value should be specified as described in 25.2.4 Specifying geospatial coordinates. The height array contains (xDimension * zDimension) floating point values that represent elevation above the ellipsoid or the geoid, as appropriate. These values are given in row-major order from west to east, south to north. When the geoSystem is "GD", xSpacing refers to the number of degrees of longitude between adjacent height values and zSpacing refers to the number of degrees of latitude between vertical height values. When the geoSystem is "UTM", xSpacing refers to the number of eastings (meters) between adjacent height values and zSpacing refers to the number of northings (meters) between vertical height values. EXAMPLE If xDimension = n and the grid spans d units horizontally, the xSpacing value should be set to: d / (n-1). The yScale value can be used to produce a vertical exaggeration of the data when it is displayed. By default, this value is 1.0 (no exaggeration). If this value is set greater than 1.0, all heights will appear larger than actual.
color | NULL |
metadata | NULL |
normal | NULL |
texCoord | NULL |
yScale | 1.0 |
ccw | TRUE |
colorPerVertex | TRUE |
creaseAngle | 0 |
geoGridOrigin | 0 0 0 |
geoOrigin | NULL |
geoSystem | ["GD","WE"] |
height | [] |
normalPerVertex | TRUE |
solid | TRUE |
xDimension | 0 |
xSpacing | 1.0 |
zDimension | 0 |
zSpacing | 1.0 |
SoMFFloat | set_height |
SoSFNode | set_color |
SoSFNode | set_normal |
SoSFNode | set_texCoord |
SoSFNode | set_metadata |
SoSFNode | color_changed |
SoSFNode | normal_changed |
SoSFNode | texCoord_changed |
SoSFNode | metadata_changed |
SoVRMLGeoElevationGrid::SoVRMLGeoElevationGrid | ( | ) |
Constructor.
static SoType SoVRMLGeoElevationGrid::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLElevationGrid.
virtual SoType SoVRMLGeoElevationGrid::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLElevationGrid.
Specifies the geographic coordinate for the south-west corner (bottom-left) of the dataset.
An SoVRMLGeoOrigin node specifying the origin of the local coordinate system.
Defines the spatial reference frame.
Valid values are:
The yScale value can be used to produce a vertical exaggeration of the data when it is displayed.
By default, this value is 1.0 (no exaggeration). If this value is set greater than 1.0, all heights will appear larger than actual.