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 |
osgTerrain::CartizianLocator::CartizianLocator | ( | double | originX, | |
double | originY, | |||
double | lengthX, | |||
double | lengthY, | |||
double | height = 0.0f , |
|||
double | heightScale = 1.0f | |||
) |
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.
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] |