CoordinateSystem encapsulate the coordinate system that is associated with objects in a scene.
More...
List of all members.
Detailed Description
CoordinateSystem encapsulate the coordinate system that is associated with objects in a scene.
For an overview of common earth bases coordinate systems see http://www.colorado.edu/geography/gcraft/notes/coordsys/coordsys_f.html
Constructor & Destructor Documentation
osg::CoordinateSystemNode::CoordinateSystemNode |
( |
| ) |
|
osg::CoordinateSystemNode::CoordinateSystemNode |
( |
const std::string & |
format, |
|
|
const std::string & |
cs |
|
) |
| |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::CoordinateSystemNode::~CoordinateSystemNode |
( |
| ) |
[inline, protected, virtual] |
Member Function Documentation
CoordinateFrame osg::CoordinateSystemNode::computeLocalCoordinateFrame |
( |
const Vec3d & |
position | ) |
const |
Compute the local coordinate frame for specified point.
osg::Vec3d osg::CoordinateSystemNode::computeLocalUpVector |
( |
const Vec3d & |
position | ) |
const |
Compute the local up-vector for specified point.
const std::string& osg::CoordinateSystemNode::getCoordinateSystem |
( |
| ) |
const [inline] |
Get the CoordinateSystem reference string.
EllipsoidModel* osg::CoordinateSystemNode::getEllipsoidModel |
( |
| ) |
[inline] |
const EllipsoidModel* osg::CoordinateSystemNode::getEllipsoidModel |
( |
| ) |
const [inline] |
const std::string& osg::CoordinateSystemNode::getFormat |
( |
| ) |
const [inline] |
Get the coordinate system format string.
Set the coordinate system node up by copying the format, coordinate system string, and ellipsoid model of another coordinate system node.
void osg::CoordinateSystemNode::setCoordinateSystem |
( |
const std::string & |
cs | ) |
[inline] |
Set the CoordinateSystem reference string, should be stored in a form consistent with the Format.
void osg::CoordinateSystemNode::setEllipsoidModel |
( |
EllipsoidModel * |
ellipsode | ) |
[inline] |
Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back.
void osg::CoordinateSystemNode::setFormat |
( |
const std::string & |
format | ) |
[inline] |
Set the coordinate system format string.
Typical values would be WKT, PROJ4, USGS etc.
Member Data Documentation
The documentation for this class was generated from the following file: