osgTerrain::CartizianLocator Class Reference

Inheritance diagram for osgTerrain::CartizianLocator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CartizianLocator (double originX, double originY, double lengthX, double lengthY, double height=0.0f, double heightScale=1.0f)
void setExtents (double originX, double originY, double lengthX, double lengthY, double height=0.0f, double heightScale=1.0f)
void setOriginX (double x)
double getOriginX () const
void setOriginY (double y)
double getOriginY () const
void setLengthX (double x)
double getLengthX () const
void setLengthY (double y)
double getLengthY () const
virtual bool orientationOpenGL () const
virtual bool convertLocalToModel (const osg::Vec3d &local, osg::Vec3d &world) const
virtual bool convertModelToLocal (const osg::Vec3d &world, osg::Vec3d &local) const

Protected Attributes

double _originX
double _originY
double _lengthX
double _lengthY
double _height
double _heightScale

Constructor & Destructor Documentation

osgTerrain::CartizianLocator::CartizianLocator ( double  originX,
double  originY,
double  lengthX,
double  lengthY,
double  height = 0.0f,
double  heightScale = 1.0f 
)


Member Function Documentation

void osgTerrain::CartizianLocator::setExtents ( double  originX,
double  originY,
double  lengthX,
double  lengthY,
double  height = 0.0f,
double  heightScale = 1.0f 
)

void osgTerrain::CartizianLocator::setOriginX ( double  x  )  [inline]

double osgTerrain::CartizianLocator::getOriginX (  )  const [inline]

void osgTerrain::CartizianLocator::setOriginY ( double  y  )  [inline]

double osgTerrain::CartizianLocator::getOriginY (  )  const [inline]

void osgTerrain::CartizianLocator::setLengthX ( double  x  )  [inline]

double osgTerrain::CartizianLocator::getLengthX (  )  const [inline]

void osgTerrain::CartizianLocator::setLengthY ( double  y  )  [inline]

double osgTerrain::CartizianLocator::getLengthY (  )  const [inline]

virtual bool osgTerrain::CartizianLocator::orientationOpenGL (  )  const [virtual]

Reimplemented from osgTerrain::Locator.

virtual bool osgTerrain::CartizianLocator::convertLocalToModel ( const osg::Vec3d local,
osg::Vec3d world 
) const [virtual]

Reimplemented from osgTerrain::Locator.

virtual bool osgTerrain::CartizianLocator::convertModelToLocal ( const osg::Vec3d world,
osg::Vec3d local 
) const [virtual]

Reimplemented from osgTerrain::Locator.


Member Data Documentation

double osgTerrain::CartizianLocator::_originX [protected]

double osgTerrain::CartizianLocator::_originY [protected]

double osgTerrain::CartizianLocator::_lengthX [protected]

double osgTerrain::CartizianLocator::_lengthY [protected]

double osgTerrain::CartizianLocator::_height [protected]

double osgTerrain::CartizianLocator::_heightScale [protected]


The documentation for this class was generated from the following file:
Generated at Fri Nov 2 23:21:45 2007 for the OpenSceneGraph by doxygen 1.5.2.