|
osgEarth 2.1.1
|
Collaboration diagram for CustomColorLayer:Public Member Functions | |
| CustomColorLayer () | |
| CustomColorLayer (const osgEarth::ImageLayer *imageLayer, osg::Image *image, const osgTerrain::Locator *locator, int lod, const osgEarth::TileKey &tileKey, bool fallbackData=false) | |
| CustomColorLayer (const CustomColorLayer &rhs) | |
| osgEarth::UID | getUID () const |
| const osgTerrain::Locator * | getLocator () const |
| osg::Image * | getImage () const |
| const osgEarth::TileKey & | getTileKey () const |
| const osgEarth::ImageLayer * | getMapLayer () const |
| int | getLevelOfDetail () const |
| bool | isFallbackData () const |
| osg::BoundingSphere | computeBound () const |
Private Attributes | |
| osg::ref_ptr< const osgEarth::ImageLayer > | _layer |
| osg::ref_ptr< const osgTerrain::Locator > | _locator |
| osg::ref_ptr< osg::Image > | _image |
| osgEarth::TileKey | _tileKey |
| int | _lod |
| bool | _fallbackData |
Definition at line 31 of file TransparentLayer.
| CustomColorLayer::CustomColorLayer | ( | ) | [inline] |
Definition at line 34 of file TransparentLayer.
{ }
| CustomColorLayer::CustomColorLayer | ( | const osgEarth::ImageLayer * | imageLayer, |
| osg::Image * | image, | ||
| const osgTerrain::Locator * | locator, | ||
| int | lod, | ||
| const osgEarth::TileKey & | tileKey, | ||
| bool | fallbackData = false |
||
| ) | [inline] |
Definition at line 36 of file TransparentLayer.
| CustomColorLayer::CustomColorLayer | ( | const CustomColorLayer & | rhs | ) | [inline] |
Definition at line 45 of file TransparentLayer.
| osg::BoundingSphere CustomColorLayer::computeBound | ( | ) | const [inline] |
Definition at line 76 of file TransparentLayer.
{
osg::BoundingSphere bs;
osg::Vec3d v;
if (getLocator()->convertLocalToModel(osg::Vec3d(0.5,0.5,0.0), v)) {
bs.center() = v;
}
if (getLocator()->convertLocalToModel(osg::Vec3d(0.0,0.0,0.0), v)) {
bs.radius() = (bs.center() - v).length();
}
return bs;
}
Here is the call graph for this function:| osg::Image* CustomColorLayer::getImage | ( | ) | const [inline] |
Definition at line 61 of file TransparentLayer.
{
return _image.get(); }
Here is the caller graph for this function:| int CustomColorLayer::getLevelOfDetail | ( | ) | const [inline] |
Definition at line 70 of file TransparentLayer.
{
return _lod; }
Here is the caller graph for this function:| const osgTerrain::Locator* CustomColorLayer::getLocator | ( | ) | const [inline] |
Definition at line 57 of file TransparentLayer.
{
return _locator.get();
}
Here is the caller graph for this function:| const osgEarth::ImageLayer* CustomColorLayer::getMapLayer | ( | ) | const [inline] |
Definition at line 67 of file TransparentLayer.
{
return _layer.get(); }
Here is the caller graph for this function:| const osgEarth::TileKey& CustomColorLayer::getTileKey | ( | ) | const [inline] |
Definition at line 64 of file TransparentLayer.
{
return _tileKey; }
| osgEarth::UID CustomColorLayer::getUID | ( | ) | const [inline] |
Definition at line 53 of file TransparentLayer.
{
return _layer->getUID();
}
Here is the caller graph for this function:| bool CustomColorLayer::isFallbackData | ( | ) | const [inline] |
Definition at line 73 of file TransparentLayer.
{
return _fallbackData; }
Here is the caller graph for this function:bool CustomColorLayer::_fallbackData [private] |
Definition at line 95 of file TransparentLayer.
osg::ref_ptr<osg::Image> CustomColorLayer::_image [private] |
Definition at line 92 of file TransparentLayer.
osg::ref_ptr<const osgEarth::ImageLayer> CustomColorLayer::_layer [private] |
Definition at line 90 of file TransparentLayer.
osg::ref_ptr<const osgTerrain::Locator> CustomColorLayer::_locator [private] |
Definition at line 91 of file TransparentLayer.
int CustomColorLayer::_lod [private] |
Definition at line 94 of file TransparentLayer.
osgEarth::TileKey CustomColorLayer::_tileKey [private] |
Definition at line 93 of file TransparentLayer.
1.7.3