14 #ifndef OSGTERRAIN_LOCATOR
15 #define OSGTERRAIN_LOCATOR 1
19 #include <osg/CoordinateSystemNode>
21 #include <osgTerrain/Export>
60 const std::string&
getFormat()
const {
return _format; }
86 void setTransformAsExtents(
double minX,
double minY,
double maxX,
double maxY);
89 virtual bool orientationOpenGL()
const;
void setEllipsoidModel(osg::EllipsoidModel *ellipsode)
const std::string & getFormat() const
static bool convertLocalCoordBetween(const Locator &source, const osg::Vec3d &sourceNDC, const Locator &destination, osg::Vec3d &destinationNDC)
const osg::EllipsoidModel * getEllipsoidModel() const
void setDefinedInFile(bool flag)
virtual bool convertModelToLocal(const osg::Vec3d &world, osg::Vec3d &local) const
void setCoordinateSystemType(CoordinateSystemType type)
void setFormat(const std::string &format)
virtual bool convertLocalToModel(const osg::Vec3d &local, osg::Vec3d &world) const
#define OSGTERRAIN_EXPORT
bool _transformScaledByResolution
CoordinateSystemType _coordinateSystemType
void setTransformScaledByResolution(bool scaledByResolution)
#define META_Object(library, name)
const osg::Matrixd & getTransform() const
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum type
bool getDefinedInFile() const
CoordinateSystemType getCoordinateSystemType() const
osg::EllipsoidModel * getEllipsoidModel()
void setCoordinateSystem(const std::string &cs)
bool invert(const Matrixd &rhs)
bool getTransformScaledByResolution() const
osg::ref_ptr< osg::EllipsoidModel > _ellipsoidModel
const std::string & getCoordinateSystem() const
void setTransform(const osg::Matrixd &transform)
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum format