It is expected that custom implementations of paging (whether inheriting from pagedLOD or not, should use this signaler to notify interested clients about paging events.
More...
Public Attributes |
boost::signal< void(const
osg::Group *page, const
osg::Node *child)> | signal_childPagedIn |
| | signal when a child is paged in (i.e. added to the scenegraph)
|
boost::signal< void(const
osg::Group *page, const
osg::Node *child)> | signal_childAboutToPageOut |
| | signal when a child is about to be paged out (i.e.
|
Detailed Description
It is expected that custom implementations of paging (whether inheriting from pagedLOD or not, should use this signaler to notify interested clients about paging events.
See example usage in DtMetaflightGroup, DtHierarchicalPagedLod
Constructor & Destructor Documentation
| virtual makVrv::DtTerrainPageSignaler::~DtTerrainPageSignaler |
( |
| ) |
|
|
virtual |
| makVrv::DtTerrainPageSignaler::DtTerrainPageSignaler |
( |
| ) |
|
|
protected |
Member Function Documentation
Get the global instance for this signaler.
| virtual void makVrv::DtTerrainPageSignaler::setSignalsEnabled |
( |
bool |
enable | ) |
|
|
virtual |
If enable is false the signals above are not raised. Used internally.
| virtual bool makVrv::DtTerrainPageSignaler::signalsEnabled |
( |
void |
| ) |
const |
|
virtual |
Have the signals been enabled? Used internally.
Member Data Documentation
| boost::signal<void(const osg::Group* page, const osg::Node* child)> makVrv::DtTerrainPageSignaler::signal_childPagedIn |
signal when a child is paged in (i.e. added to the scenegraph)
| boost::signal<void(const osg::Group* page, const osg::Node* child)> makVrv::DtTerrainPageSignaler::signal_childAboutToPageOut |
signal when a child is about to be paged out (i.e.
data corresponding to it unloaded and the child removed from the scenegraph)
| bool makVrv::DtTerrainPageSignaler::mySignalsEnabled |
|
protected |
The documentation for this class was generated from the following file: