Specifies a local coordinate system. More...
#include <Inventor/geo/SoVRMLGeoOrigin.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLGeoOrigin () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFVec3d | geoCoords |
SoMFString | geoSystem |
SoSFBool | rotateYUp |
The SoVRMLGeoOrigin specifies a local coordinate system for increased floating point precision.
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 SoVRMLGeoOrigin 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 X3D 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 |
metadata | NULL |
geoSystem | ["GD","WE"] |
rotateYUp | FALSE |
SoSFNode | set_metadata |
SoSFNode | metadata_changed |
SoVRMLGeoOrigin::SoVRMLGeoOrigin | ( | ) |
Constructor.
static SoType SoVRMLGeoOrigin::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLNode.
virtual SoType SoVRMLGeoOrigin::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLNode.
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.