Inheritance diagram for osg::CoordinateSystemNode:
Public Member Functions | |
CoordinateSystemNode () | |
CoordinateSystemNode (const std::string &format, const std::string &cs) | |
CoordinateSystemNode (const CoordinateSystemNode &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_Node (osg, CoordinateSystemNode) | |
void | set (const CoordinateSystemNode &csn) |
Set the coordinate system node up by copy the format, coordinate system string, and ellipsoid model of another coordinate system node. | |
void | setFormat (const std::string &format) |
Set the coordinate system format string. | |
const std::string & | getFormat () const |
Get the coordinate system format string. | |
void | setCoordinateSystem (const std::string &cs) |
Set the CoordinateSystem reference string, should be stored in a form consistent with the Format. | |
const std::string & | getCoordinateSystem () const |
Get the CoordinateSystem reference string. | |
void | setEllipsoidModel (EllipsoidModel *ellipsode) |
Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back. | |
EllipsoidModel * | getEllipsoidModel () |
Get the EllipsoidModel. | |
const EllipsoidModel * | getEllipsoidModel () const |
Get the const EllipsoidModel. | |
CoordinateFrame | computeLocalCoordinateFrame (const Vec3d &position) const |
Compute the local coordinate frame for specified point. | |
osg::Vec3d | computeLocalUpVector (const Vec3d &position) const |
Compute the local coordinate frame for specified point. | |
Protected Member Functions | |
virtual | ~CoordinateSystemNode () |
Protected Attributes | |
std::string | _format |
std::string | _cs |
ref_ptr< EllipsoidModel > | _ellipsoidModel |
For an overview of common earth bases coordinate systems see http://www.colorado.edu/geography/gcraft/notes/coordsys/coordsys_f.html
|
|
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy.
|
|
|
|
Compute the local coordinate frame for specified point.
|
|
Compute the local coordinate frame for specified point.
|
|
Get the CoordinateSystem reference string.
|
|
Get the const EllipsoidModel.
|
|
Get the EllipsoidModel.
|
|
Get the coordinate system format string.
|
|
|
|
Set the coordinate system node up by copy the format, coordinate system string, and ellipsoid model of another coordinate system node.
|
|
Set the CoordinateSystem reference string, should be stored in a form consistent with the Format.
|
|
Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back.
|
|
Set the coordinate system format string. Typical values would be WKT, PROJ4, USGS etc. |
|
|
|
|
|
|