osgEarth 2.1.1
|
Public Types | |
typedef std::vector< WMSStyle > | StyleList |
typedef std::vector< std::string > | SRSList |
typedef std::vector < osg::ref_ptr< WMSLayer > > | LayerList |
Public Member Functions | |
WMSLayer () | |
const std::string & | getName () |
void | setName (const std::string &name) |
const std::string & | getTitle () |
void | setTitle (const std::string &title) |
const std::string & | getAbstract () |
void | setAbstract (const std::string &abstract) |
void | getLatLonExtents (double &minLon, double &minLat, double &maxLon, double &maxLat) |
void | setLatLonExtents (double minLon, double minLat, double maxLon, double maxLat) |
void | getExtents (double &minX, double &minY, double &maxX, double &maxY) |
void | setExtents (double minX, double minY, double maxX, double maxY) |
StyleList & | getStyles () |
SRSList & | getSpatialReferences () |
LayerList & | getLayers () |
WMSLayer * | getParentLayer () |
void | setParentLayer (WMSLayer *layer) |
WMSLayer * | getLayerByName (const std::string &name) |
Protected Attributes | |
std::string | _name |
std::string | _title |
std::string | _abstract |
double | _minLon |
double | _minLat |
double | _maxLon |
double | _maxLat |
double | _minX |
double | _minY |
double | _maxX |
double | _maxY |
StyleList | _styles |
SRSList | _spatialReferences |
LayerList | _layers |
WMSLayer * | _parentLayer |
typedef std::vector< osg::ref_ptr<WMSLayer> > osgEarth::Util::WMSLayer::LayerList |
typedef std::vector<std::string> osgEarth::Util::WMSLayer::SRSList |
typedef std::vector<WMSStyle> osgEarth::Util::WMSLayer::StyleList |
WMSLayer::WMSLayer | ( | ) |
const std::string& osgEarth::Util::WMSLayer::getAbstract | ( | ) | [inline] |
void WMSLayer::getExtents | ( | double & | minX, |
double & | minY, | ||
double & | maxX, | ||
double & | maxY | ||
) |
void WMSLayer::getLatLonExtents | ( | double & | minLon, |
double & | minLat, | ||
double & | maxLon, | ||
double & | maxLat | ||
) |
WMSLayer* osgEarth::Util::WMSLayer::getLayerByName | ( | const std::string & | name | ) |
LayerList& osgEarth::Util::WMSLayer::getLayers | ( | ) | [inline] |
const std::string& osgEarth::Util::WMSLayer::getName | ( | ) | [inline] |
WMSLayer* osgEarth::Util::WMSLayer::getParentLayer | ( | ) | [inline] |
SRSList& osgEarth::Util::WMSLayer::getSpatialReferences | ( | ) | [inline] |
Gets this Layer's list of spatial references
Definition at line 147 of file WMS.
{return _spatialReferences;}
StyleList& osgEarth::Util::WMSLayer::getStyles | ( | ) | [inline] |
const std::string& osgEarth::Util::WMSLayer::getTitle | ( | ) | [inline] |
void osgEarth::Util::WMSLayer::setAbstract | ( | const std::string & | abstract | ) | [inline] |
void WMSLayer::setExtents | ( | double | minX, |
double | minY, | ||
double | maxX, | ||
double | maxY | ||
) |
void WMSLayer::setLatLonExtents | ( | double | minLon, |
double | minLat, | ||
double | maxLon, | ||
double | maxLat | ||
) |
void osgEarth::Util::WMSLayer::setName | ( | const std::string & | name | ) | [inline] |
void osgEarth::Util::WMSLayer::setParentLayer | ( | WMSLayer * | layer | ) | [inline] |
Sets this Layer's parent layer
Definition at line 165 of file WMS.
{_parentLayer = layer;}
void osgEarth::Util::WMSLayer::setTitle | ( | const std::string & | title | ) | [inline] |
std::string osgEarth::Util::WMSLayer::_abstract [protected] |
LayerList osgEarth::Util::WMSLayer::_layers [protected] |
double osgEarth::Util::WMSLayer::_maxLat [protected] |
double osgEarth::Util::WMSLayer::_maxLon [protected] |
double osgEarth::Util::WMSLayer::_maxX [protected] |
double osgEarth::Util::WMSLayer::_maxY [protected] |
double osgEarth::Util::WMSLayer::_minLat [protected] |
double osgEarth::Util::WMSLayer::_minLon [protected] |
double osgEarth::Util::WMSLayer::_minX [protected] |
double osgEarth::Util::WMSLayer::_minY [protected] |
std::string osgEarth::Util::WMSLayer::_name [protected] |
WMSLayer* osgEarth::Util::WMSLayer::_parentLayer [protected] |
SRSList osgEarth::Util::WMSLayer::_spatialReferences [protected] |
StyleList osgEarth::Util::WMSLayer::_styles [protected] |
std::string osgEarth::Util::WMSLayer::_title [protected] |