Specifies a local geospatial coordinate system. More...
#include <Inventor/geo/SoGeoOrigin.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoGeoOrigin () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFVec3d | geoCoords |
SoMFString | geoSystem |
SoSFBool | rotateYUp |
The SoGeoOrigin node specifies a local coordinate system for increased floating point precision.
The SoGeoOrigin node defines an absolute geospatial location and an implicit local coordinate frame against which geometry is referenced. This node is used to translate from geographical coordinates into a local Cartesian coordinate system which can be managed by a viewer. The geoCoords 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 rotateYUp field is used to specify whether coordinates of nodes that use this GeoOrigin are to be rotated such that their up direction is aligned with the Y axis. The default behavior is to not perform this operation. This means that the local up direction will depend upon the location of the GeoOrigin with respect to the planet surface.
geoCoords | 0 0 0 |
geoSystem | ["GD","WE"] |
rotateYUp | FALSE |
SoGeoOrigin::SoGeoOrigin | ( | ) |
Constructor.
static SoType SoGeoOrigin::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
virtual SoType SoGeoOrigin::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
Specifies the local coordinate frame.
Defines the spatial reference frame.
Valid values are:
Specifies whether coordinates of nodes that use this GeoOrigin are to be rotated such that their up direction is aligned with the world coordinate Y axis.
The default behavior is to not perform this operation. This means that the local up direction will depend upon the location of the GeoOrigin with respect to the planet surface.