Data set LDM manager access. More...
#include <LDM/SoLDMMediator.h>
Public Member Functions | |
LDMManagerAccess () | |
void | setMediator (SoLDMMediator *mediator) |
void | setNodeFrontManager (SoLDMNodeFrontManager *) |
SoLDMNodeFrontManager * | getNodeFrontManager () |
void | setTileManager (SoLDMTileManager *tilemgr, SbBool ownedByUser=TRUE) |
SoLDMTileManager * | getTileManager () |
SoLDMTextureManager * | getTextureManager () |
SoLDMResourceManager * | getResourceManager (int id=-1) |
Deprecated | |
| |
SoDEPRECATED void | setTileVisitor (SoLDMTileVisitor *, SbBool ownedByUser=TRUE) |
SoDEPRECATED SoLDMTileVisitor * | getTileVisitor () |
SoDEPRECATED bool | isTileVisitorOwnedByUser () const |
SoDEPRECATED SoLDMGeometry * | getVVizGeometry () |
This class contains all functions in charge of setting/getting LDM managers. The LDM manager classes are declared SoEXTENDER and are provided to allow advanced users to customize LDM functionality.
SoLDMMediator::LDMManagerAccess::LDMManagerAccess | ( | ) | [inline] |
Default Constructor.
SoLDMNodeFrontManager* SoLDMMediator::LDMManagerAccess::getNodeFrontManager | ( | ) | [inline] |
Returns a pointer to the application-defined subclass of SoLDMNodeFrontManager.
SoLDMResourceManager* SoLDMMediator::LDMManagerAccess::getResourceManager | ( | int | id = -1 |
) |
Returns a pointer to mediator's SoLDMResourceManager.
SoLDMTextureManager* SoLDMMediator::LDMManagerAccess::getTextureManager | ( | ) | [inline] |
Returns a pointer to mediator's SoLDMTextureManager.
SoLDMTileManager* SoLDMMediator::LDMManagerAccess::getTileManager | ( | ) | [inline] |
Returns a pointer to the application-defined subclass of SoLDMTileManager.
SoDEPRECATED SoLDMTileVisitor* SoLDMMediator::LDMManagerAccess::getTileVisitor | ( | ) |
Returns a pointer to the application-defined subclass of SoLDMTileVisitor.
SoDEPRECATED SoLDMGeometry* SoLDMMediator::LDMManagerAccess::getVVizGeometry | ( | ) | [inline] |
Returns a pointer to mediator's SoLDMGeometry.
SoDEPRECATED bool SoLDMMediator::LDMManagerAccess::isTileVisitorOwnedByUser | ( | ) | const |
Returns true if the attached tileVisitor set by the application is owned by it.
void SoLDMMediator::LDMManagerAccess::setMediator | ( | SoLDMMediator * | mediator | ) | [inline] |
Allows you to provide an application-defined subclass of SoLDMMediator.
void SoLDMMediator::LDMManagerAccess::setNodeFrontManager | ( | SoLDMNodeFrontManager * | ) |
Allows you to provide an application-defined subclass of SoLDMNodeFrontManager.
void SoLDMMediator::LDMManagerAccess::setTileManager | ( | SoLDMTileManager * | tilemgr, | |
SbBool | ownedByUser = TRUE | |||
) |
Allows you to provide an application-defined subclass of SoLDMTileManager.
By default, LDM will not gain ownership of a custom tile manager, but it is possible to let LDM handle the deletion of the tile manager by passing FALSE as the second parameter (ownedByUser).
SoDEPRECATED void SoLDMMediator::LDMManagerAccess::setTileVisitor | ( | SoLDMTileVisitor * | , | |
SbBool | ownedByUser = TRUE | |||
) |
Allows you to provide an application-defined subclass of SoLDMTileVisitor.
Passing NULL sets the visitor to the LDM internal default visitor (SoLDMProximityVisitor). By default, LDM will not gain ownership of a custom tile visitor, but it is possible to let LDM handle the deletion of the tile visitor by passing FALSE as the second parameter (ownedByUser). Note when a dataset is added under a MultiDataSeparator the mediator of this dataset is unregistered. The only mediator taken in account is the one associated to the MultiDataseparator and, as a result, custom tile visitor set previously is not available anymore. It is then mandatory to set this custom tile visitor on the global mediator.