osgEarth 2.1.1
|
Public Member Functions | |
PopulateStreamingTileDataCallback (const MapFrame &mapf) | |
void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
Public Attributes | |
const MapFrame & | _mapf |
Definition at line 57 of file OSGTileFactory.cpp.
anonymous_namespace{OSGTileFactory.cpp}::PopulateStreamingTileDataCallback::PopulateStreamingTileDataCallback | ( | const MapFrame & | mapf | ) | [inline] |
Definition at line 59 of file OSGTileFactory.cpp.
: _mapf(mapf) { }
void anonymous_namespace{OSGTileFactory.cpp}::PopulateStreamingTileDataCallback::operator() | ( | osg::Node * | node, |
osg::NodeVisitor * | nv | ||
) | [inline] |
Definition at line 61 of file OSGTileFactory.cpp.
{ if ( nv->getVisitorType() == osg::NodeVisitor::CULL_VISITOR ) { if ( node->asGroup()->getNumChildren() > 0 ) { StreamingTile* tile = static_cast<StreamingTile*>( node->asGroup()->getChild(0) ); tile->servicePendingImageRequests( _mapf, nv->getFrameStamp()->getFrameNumber() ); } } traverse( node, nv ); }
const MapFrame& anonymous_namespace{OSGTileFactory.cpp}::PopulateStreamingTileDataCallback::_mapf |
Definition at line 74 of file OSGTileFactory.cpp.