Package com.openinventor.inventor.nodes
Class SoGeoProjection
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.misc.SoBase
com.openinventor.inventor.fields.SoFieldContainer
com.openinventor.inventor.nodes.SoNode
com.openinventor.inventor.nodes.SoProjection
com.openinventor.inventor.nodes.SoGeoProjection
- All Implemented Interfaces:
SafeDisposable
Geospatial projection node.
This property node defines a geospatial coordinate projection that will be applied to all subsequent shapes in the scene graph.
The projection used is either an instance of SbProj4Projection
or an instance of SbSphericalProjection
. To see the list of available projections, refer to SbProj4Projection
.
The SbSphericalProjection
instance will be chosen if the projection field is set to SPHERICAL. All other projections are provided by SbProj4Projection
.
When an instance of SbProj4Projection
is being used, you can set the coordinateSystem and ellipsoid to be used in the projection. An ellispoid definition is a mathematical representation used to approximate the earth when computing projections.
Available coordinate systems are :
- GEODETIC :
- x coordinate : degrees longitudes from -180 to 180
- y coordinate : degrees latitudes from -90 to 90
- z coordinate : meters
- GEOCENTRIC :
- x, y and z coordinate : meters
See SoProjection
for limitations of coordinate projection nodes.
File format/default:
GeoProjection {
parameters | "" |
matrix | identity |
isOn | true |
floatParameters | 1 |
projTypeId | 0 |
coordinateSystem | GEODETIC |
ellipsoid | WGS84 |
projection | CASSINI |
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionCurrent coordinate system.Current ellipsoid.Current Projection.Fields inherited from class com.openinventor.inventor.nodes.SoProjection
floatParameters, isOn, matrix, parameters, parametersIn, projTypeId
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.inventor.nodes.SoProjection
addProjection, checkProjection, getProjection, setProjection
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
ellipsoid
Current ellipsoid. . Default is WGS84. -
coordinateSystem
Current coordinate system. . Default is GEODETIC. -
projection
Current Projection. . Default is CASSINI.
-
-
Constructor Details
-
SoGeoProjection
public SoGeoProjection()Constructor.
-