class osg::EllipsoidModel

EllipsoidModel encapsulates the ellipsoid used to model astral bodies such as plants, moon etc

Inheritance:


Public Methods

[more] EllipsoidModel(double radiusEquator = WGS_84_RADIUS_EQUATOR, double radiusPolar = WGS_84_RADIUS_POLAR)
[more] EllipsoidModel(const EllipsoidModel& et, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more] META_Object(osg, EllipsoidModel)
[more]void setRadiusEquator(double radius)
[more]double getRadiusEquator() const
[more]void setRadiusPolar(double radius)
[more]double getRadiusPolar() const
[more]inline osg::Vec3d computeLocalUpVector(double X, double Y, double Z) const
[more]inline void convertLatLongHeightToXYZ(double latitude, double longitude, double height, double& X, double& Y, double& Z) const
[more]inline void convertXYZToLatLongHeight(double X, double Y, double Z, double& latitude, double& longitude, double& height) const
[more]inline void computeLocalToWorldTransformFromLatLongHeight(double latitude, double longitude, double height, osg::Matrixd& localToWorld) const
[more]inline void computeLocalToWorldTransformFromXYZ(double X, double Y, double Z, osg::Matrixd& localToWorld) const
[more]inline Vec3d computeLocalUpVector(double X, double Y, double Z) const

Protected Fields

[more]double _radiusEquator
[more]double _radiusPolar
[more]double _eccentricitySquared

Protected Methods

[more]void computeCoefficients()


Inherited from Object:

Public Classes

oenum DataVariance

Public Methods

ovirtual Object* cloneType() const
ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object*) const
ovirtual const char* libraryName() const
ovirtual const char* className() const
oinline void setDataVariance(DataVariance dv)
oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
oinline Referenced* getUserData()
oinline const Referenced* getUserData() const

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (const Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable OpenThreads::Mutex _refMutex
omutable int _refCount


Documentation

EllipsoidModel encapsulates the ellipsoid used to model astral bodies such as plants, moon etc
o EllipsoidModel(double radiusEquator = WGS_84_RADIUS_EQUATOR, double radiusPolar = WGS_84_RADIUS_POLAR)

o EllipsoidModel(const EllipsoidModel& et, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

o META_Object(osg, EllipsoidModel)

ovoid setRadiusEquator(double radius)

odouble getRadiusEquator() const

ovoid setRadiusPolar(double radius)

odouble getRadiusPolar() const

oinline osg::Vec3d computeLocalUpVector(double X, double Y, double Z) const

ovoid computeCoefficients()

odouble _radiusEquator

odouble _radiusPolar

odouble _eccentricitySquared

oinline void convertLatLongHeightToXYZ(double latitude, double longitude, double height, double& X, double& Y, double& Z) const

oinline void convertXYZToLatLongHeight(double X, double Y, double Z, double& latitude, double& longitude, double& height) const

oinline void computeLocalToWorldTransformFromLatLongHeight(double latitude, double longitude, double height, osg::Matrixd& localToWorld) const

oinline void computeLocalToWorldTransformFromXYZ(double X, double Y, double Z, osg::Matrixd& localToWorld) const

oinline Vec3d computeLocalUpVector(double X, double Y, double Z) const


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.