osgEarth 2.1.1
|
Public Member Functions | |
PatchOptions () | |
PatchOptions (const std::string &str) | |
PatchOptions (const PatchOptions &rhs, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
~PatchOptions () | |
META_Object (seamless, PatchOptions) | |
void | setPatchExtents (const osg::Vec2d &lowerLeft, const osg::Vec2d &upperRight) |
void | getPatchExtents (osg::Vec2d &lowerLeft, osg::Vec2d &upperRight) const |
void | setPatchLevel (int level) |
int | getPatchLevel () const |
void | setPatchSet (PatchSet *patchSet) |
PatchSet * | getPatchSet () const |
void | setTileKey (const osgEarth::TileKey &key) |
osgEarth::TileKey | getTileKey () |
const osgEarth::TileKey & | getTileKey () const |
Protected Attributes | |
osg::Vec2d | _lowerLeft |
osg::Vec2d | _upperRight |
int | _level |
osg::ref_ptr< PatchSet > | _patchSet |
osgEarth::TileKey | _tileKey |
Definition at line 58 of file PatchGroup.
seamless::PatchOptions::PatchOptions | ( | ) |
Definition at line 190 of file PatchGroup.cpp.
: _lowerLeft(0.0, 0.0), _upperRight(1.0, 1.0), _level(0), _tileKey(osgEarth::TileKey::INVALID) { }
seamless::PatchOptions::PatchOptions | ( | const std::string & | str | ) |
Definition at line 196 of file PatchGroup.cpp.
: osgDB::Options(str), _lowerLeft(0.0, 0.0), _upperRight(1.0, 1.0), _level(0), _tileKey(osgEarth::TileKey::INVALID) { }
seamless::PatchOptions::PatchOptions | ( | const PatchOptions & | rhs, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
seamless::PatchOptions::~PatchOptions | ( | ) |
Definition at line 209 of file PatchGroup.cpp.
{ }
void seamless::PatchOptions::getPatchExtents | ( | osg::Vec2d & | lowerLeft, |
osg::Vec2d & | upperRight | ||
) | const [inline, virtual] |
Implements seamless::PatchInfo.
Definition at line 73 of file PatchGroup.
{ lowerLeft = _lowerLeft; upperRight = _upperRight; }
int seamless::PatchOptions::getPatchLevel | ( | ) | const [inline, virtual] |
Implements seamless::PatchInfo.
Definition at line 78 of file PatchGroup.
{ return _level; }
PatchSet * seamless::PatchOptions::getPatchSet | ( | ) | const |
Definition at line 218 of file PatchGroup.cpp.
{ return _patchSet.get(); }
osgEarth::TileKey seamless::PatchOptions::getTileKey | ( | ) | [inline, virtual] |
Implements seamless::PatchInfo.
Definition at line 82 of file PatchGroup.
{ return _tileKey; }
const osgEarth::TileKey& seamless::PatchOptions::getTileKey | ( | ) | const [inline, virtual] |
seamless::PatchOptions::META_Object | ( | seamless | , |
PatchOptions | |||
) |
void seamless::PatchOptions::setPatchExtents | ( | const osg::Vec2d & | lowerLeft, |
const osg::Vec2d & | upperRight | ||
) | [inline] |
Definition at line 68 of file PatchGroup.
{ _lowerLeft = lowerLeft; _upperRight = upperRight; }
void seamless::PatchOptions::setPatchLevel | ( | int | level | ) | [inline] |
Definition at line 77 of file PatchGroup.
{ _level = level; }
void seamless::PatchOptions::setPatchSet | ( | PatchSet * | patchSet | ) |
Definition at line 213 of file PatchGroup.cpp.
{ _patchSet = patchSet; }
void seamless::PatchOptions::setTileKey | ( | const osgEarth::TileKey & | key | ) | [inline] |
Definition at line 81 of file PatchGroup.
{ _tileKey = key; }
int seamless::PatchOptions::_level [protected] |
Definition at line 87 of file PatchGroup.
osg::Vec2d seamless::PatchOptions::_lowerLeft [protected] |
Definition at line 85 of file PatchGroup.
osg::ref_ptr<PatchSet> seamless::PatchOptions::_patchSet [protected] |
Definition at line 88 of file PatchGroup.
osgEarth::TileKey seamless::PatchOptions::_tileKey [protected] |
Definition at line 89 of file PatchGroup.
osg::Vec2d seamless::PatchOptions::_upperRight [protected] |
Definition at line 86 of file PatchGroup.