Public Member Functions | |
EllipsoidModel (double radiusEquator=WGS_84_RADIUS_EQUATOR, double radiusPolar=WGS_84_RADIUS_POLAR) | |
WGS_84 is a common representation of the earth's spheroid. | |
EllipsoidModel (const EllipsoidModel &et, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
META_Object (osg, EllipsoidModel) | |
void | setRadiusEquator (double radius) |
double | getRadiusEquator () const |
void | setRadiusPolar (double radius) |
double | getRadiusPolar () const |
void | convertLatLongHeightToXYZ (double latitude, double longitude, double height, double &X, double &Y, double &Z) const |
void | convertXYZToLatLongHeight (double X, double Y, double Z, double &latitude, double &longitude, double &height) const |
void | computeLocalToWorldTransformFromLatLongHeight (double latitude, double longitude, double height, osg::Matrixd &localToWorld) const |
void | computeLocalToWorldTransformFromXYZ (double X, double Y, double Z, osg::Matrixd &localToWorld) const |
osg::Vec3d | computeLocalUpVector (double X, double Y, double Z) const |
Protected Member Functions | |
void | computeCoefficients () |
Protected Attributes | |
double | _radiusEquator |
double | _radiusPolar |
double | _eccentricitySquared |
osg::EllipsoidModel::EllipsoidModel | ( | double | radiusEquator = WGS_84_RADIUS_EQUATOR , |
|
double | radiusPolar = WGS_84_RADIUS_POLAR | |||
) | [inline] |
WGS_84 is a common representation of the earth's spheroid.
osg::EllipsoidModel::EllipsoidModel | ( | const EllipsoidModel & | et, | |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
) | [inline] |
osg::EllipsoidModel::META_Object | ( | osg | , | |
EllipsoidModel | ||||
) |
void osg::EllipsoidModel::setRadiusEquator | ( | double | radius | ) | [inline] |
double osg::EllipsoidModel::getRadiusEquator | ( | ) | const [inline] |
void osg::EllipsoidModel::setRadiusPolar | ( | double | radius | ) | [inline] |
double osg::EllipsoidModel::getRadiusPolar | ( | ) | const [inline] |
void osg::EllipsoidModel::convertLatLongHeightToXYZ | ( | double | latitude, | |
double | longitude, | |||
double | height, | |||
double & | X, | |||
double & | Y, | |||
double & | Z | |||
) | const [inline] |
void osg::EllipsoidModel::convertXYZToLatLongHeight | ( | double | X, | |
double | Y, | |||
double | Z, | |||
double & | latitude, | |||
double & | longitude, | |||
double & | height | |||
) | const [inline] |
void osg::EllipsoidModel::computeLocalToWorldTransformFromLatLongHeight | ( | double | latitude, | |
double | longitude, | |||
double | height, | |||
osg::Matrixd & | localToWorld | |||
) | const [inline] |
void osg::EllipsoidModel::computeLocalToWorldTransformFromXYZ | ( | double | X, | |
double | Y, | |||
double | Z, | |||
osg::Matrixd & | localToWorld | |||
) | const [inline] |
osg::Vec3d osg::EllipsoidModel::computeLocalUpVector | ( | double | X, | |
double | Y, | |||
double | Z | |||
) | const [inline] |
void osg::EllipsoidModel::computeCoefficients | ( | ) | [inline, protected] |
double osg::EllipsoidModel::_radiusEquator [protected] |
double osg::EllipsoidModel::_radiusPolar [protected] |
double osg::EllipsoidModel::_eccentricitySquared [protected] |