public class SoGeoElevationGrid extends SoIndexedFaceSet
SoGeoElevationGrid
allows to create terrain models for local or large areas (automatically introduces correct degree of earth curvature).
This section describes the expected behavior of the node in a conforming X3D / VRML97 browser application. In some cases, the application is responsible for implementing portions of the expected behavior. Open Inventor viewer classes and IVF classes implement some of the application behaviors.
This section may reference portions of the X3D specification that are not present in this help file. The complete X3D spec is available at
The SoGeoElevationGrid
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 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.
File format/default:
GeoElevationGrid {
yScale | 1.0 |
geoGridOrigin | 0 0 0 |
geoSystem | ["GD","WE"] |
height | [] |
xDimension | 0 |
xSpacing | 1.0 |
zDimension | 0 |
zSpacing | 1.0 |
Action behavior:
SoShape.ShapeTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFVec3f |
geoGridOrigin
Specifies the geographic coordinate for the south-west corner (bottom-left) of the dataset.
|
SoMFString |
geoSystem
Defines the spatial reference frame.
|
SoMFFloat |
height
The
height array contains xDimension * zDimension floating point values that represent elevation above the ellipsoid or the geoid, as appropriate. |
SoSFInt32 |
xDimension
Number of X values in the grid.
|
SoSFFloat |
xSpacing
Spacing between X values.
|
SoSFFloat |
yScale
The yScale value can be used to produce a vertical exaggeration of the data when it is displayed.
|
SoSFInt32 |
zDimension
Number of Z values in the grid.
|
SoSFFloat |
zSpacing
Spacing between Z values.
|
SO_END_FACE_INDEX
coordIndex, materialIndex, normalIndex, textureCoordIndex
vertexProperty
boundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXT
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoGeoElevationGrid()
Constructor.
|
getNormalCache
getShapeType, isPrimitiveRestartAvailable, isPrimitiveRestartAvailable
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFFloat yScale
public final SoSFVec3f geoGridOrigin
public final SoMFString geoSystem
public final SoMFFloat height
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.public final SoSFInt32 xDimension
public final SoSFFloat xSpacing
geoSystem
is "GD", xSpacing refers to the number of degrees of longitude between adjacent height values. When the geoSystem is "UTM", xSpacing refers to the number of eastings (meters) between adjacent height values.public final SoSFInt32 zDimension
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com