|
osgEarth 2.1.1
|
Inheritance diagram for seamless::SeamlessEngineNode:
Collaboration diagram for seamless::SeamlessEngineNode:Definition at line 30 of file SeamlessEngineNode.
| seamless::SeamlessEngineNode::SeamlessEngineNode | ( | ) |
Definition at line 59 of file SeamlessEngineNode.cpp.
: _mapf(0) { }
| seamless::SeamlessEngineNode::SeamlessEngineNode | ( | const SeamlessEngineNode & | rhs, |
| const osg::CopyOp & | op = osg::CopyOp::DEEP_COPY_ALL |
||
| ) |
Definition at line 64 of file SeamlessEngineNode.cpp.
: TerrainEngineNode(rhs, op), _terrainOptions(rhs._terrainOptions), _mapf(0) { _patchSet = static_cast<PatchSet*>(op(rhs._patchSet.get())); }
| seamless::SeamlessEngineNode::~SeamlessEngineNode | ( | ) |
Definition at line 73 of file SeamlessEngineNode.cpp.
{
delete _mapf;
}
| virtual const osgEarth::TerrainOptions& seamless::SeamlessEngineNode::getTerrainOptions | ( | ) | const [inline, virtual] |
Gets the property set in use by this map engine.
Implements osgEarth::TerrainEngineNode.
Definition at line 42 of file SeamlessEngineNode.
{
return _terrainOptions;
}
| seamless::SeamlessEngineNode::META_Node | ( | osgEarth | , |
| SeamlessEngineNode | |||
| ) |
| void seamless::SeamlessEngineNode::onElevationLayerAdded | ( | osgEarth::ElevationLayer * | layer, |
| unsigned int | index | ||
| ) |
Definition at line 125 of file SeamlessEngineNode.cpp.
{
}
| void seamless::SeamlessEngineNode::onElevationLayerMoved | ( | osgEarth::ElevationLayer * | layer, |
| unsigned int | oldIndex, | ||
| unsigned int | newIndex | ||
| ) |
Definition at line 135 of file SeamlessEngineNode.cpp.
{
}
| void seamless::SeamlessEngineNode::onElevationLayerRemoved | ( | osgEarth::ElevationLayer * | layer, |
| unsigned int | index | ||
| ) |
Definition at line 130 of file SeamlessEngineNode.cpp.
{
}
| void seamless::SeamlessEngineNode::onImageLayerAdded | ( | osgEarth::ImageLayer * | , |
| unsigned int | index | ||
| ) |
Definition at line 110 of file SeamlessEngineNode.cpp.
{
}
| void seamless::SeamlessEngineNode::onImageLayerMoved | ( | osgEarth::ImageLayer * | layer, |
| unsigned int | oldIndex, | ||
| unsigned int | newIndex | ||
| ) |
Definition at line 119 of file SeamlessEngineNode.cpp.
{
}
| void seamless::SeamlessEngineNode::onImageLayerRemoved | ( | osgEarth::ImageLayer * | layer, |
| unsigned int | index | ||
| ) |
Definition at line 114 of file SeamlessEngineNode.cpp.
{
}
| void seamless::SeamlessEngineNode::onMapProfileEstablished | ( | const osgEarth::Profile * | profile | ) |
Definition at line 92 of file SeamlessEngineNode.cpp.
{
const Map* map = getMap();
int resolution = _terrainOptions.resolution().value();
if (map->getMapOptions().coordSysType() == MapOptions::CSTYPE_GEOCENTRIC)
_patchSet = new Geographic(map, _terrainOptions);
else if (map->getMapOptions().coordSysType()
== MapOptions::CSTYPE_PROJECTED)
_patchSet = new Projected(map, _terrainOptions);
else
{
OE_WARN << "map is not projected\n";
return;
}
addChild(_patchSet
->createPatchSetGraph("bar.osgearth_engine_seamless_patch"));
}
Here is the call graph for this function:
Here is the caller graph for this function:| void seamless::SeamlessEngineNode::preInitialize | ( | const osgEarth::Map * | map, |
| const osgEarth::TerrainOptions & | options | ||
| ) | [virtual] |
Attaches a map to the terrain engine and initialized it.
Reimplemented from osgEarth::TerrainEngineNode.
Definition at line 78 of file SeamlessEngineNode.cpp.
{
TerrainEngineNode::preInitialize(map, options);
_mapf = new MapFrame(map, Map::TERRAIN_LAYERS, "seamless");
_terrainOptions.merge(options);
if (map->getProfile())
onMapProfileEstablished(map->getProfile());
map->addMapCallback(new SeamlessMapProxy(this));
}
Here is the call graph for this function:| void seamless::SeamlessEngineNode::validateTerrainOptions | ( | osgEarth::TerrainOptions & | options | ) | [virtual] |
Reimplemented from osgEarth::TerrainEngineNode.
Definition at line 88 of file SeamlessEngineNode.cpp.
{
}
Definition at line 62 of file SeamlessEngineNode.
osg::ref_ptr<PatchSet> seamless::SeamlessEngineNode::_patchSet [private] |
Definition at line 60 of file SeamlessEngineNode.
Definition at line 61 of file SeamlessEngineNode.
1.7.3