OpendTect
6.6
|
Public Member Functions | |
DisplayLinkManager () | |
~DisplayLinkManager () | |
int | addDisplayPropertyLink (DisplayPropertyLink *) |
int | addHolder (DisplayPropertyHolder *) |
void | createPossibleLinks (DisplayPropertyHolder *, ObjectSet< DisplayPropertyLink > &) |
DisplayPropertyLinks become yours. More... | |
void | fillPar (IOPar &) const |
DisplayPropertyLink * | getDisplayPropertyLink (int id) |
const DisplayPropertyLink * | getDisplayPropertyLink (int id) const |
int | getDisplayPropertyLinkID (int idx) const |
const DisplayPropertyHolder * | getHolder (int) const |
int | nrDisplayPropertyLinks () const |
int | nrHolders () const |
void | removeDisplayPropertyLink (int id) |
bool | usePar (const IOPar &) |
Static Public Member Functions | |
static DisplayLinkManager & | getImpl () |
Protected Member Functions | |
void | removeHolder (DisplayPropertyHolder *) |
Protected Attributes | |
int | freeholderid_ |
int | freelinkid_ |
ObjectSet< DisplayPropertyHolder > | holders_ |
Threads::Lock | lock_ |
TypeSet< int > | propertylinkids_ |
ObjectSet< DisplayPropertyLink > | propertylinks_ |
Friends | |
class | DisplayPropertyHolder |
brief Manages property links between differerent displays.
Property links can be ranges, color sequences and other parameters.
The intelligence on what can be linked lies in the subclasses of DisplayPropertyLink.
Displays that are able to link properties to must inherit DisplayPropertyHolder and in addition must be added to the DisplayLinkManager.
To create a link from a certain DisplayPropertyHolder, DisplayLinkManager::createPossibleLinks should be called. This fills an ObjectSet<DisplayPropertyLink>&, and one or more links in that set may be enabled by calling DisplayPropertyHolder::addDisplayPropertyLink().
The link is removed by calling DisplayPropertyHolder::removeDisplayPropertyLink().
<>
DisplayLinkManager::DisplayLinkManager | ( | ) |
DisplayLinkManager::~DisplayLinkManager | ( | ) |
int DisplayLinkManager::addDisplayPropertyLink | ( | DisplayPropertyLink * | ) |
PropertyLink becomes mine, returns id for new link.
int DisplayLinkManager::addHolder | ( | DisplayPropertyHolder * | ) |
void DisplayLinkManager::createPossibleLinks | ( | DisplayPropertyHolder * | , |
ObjectSet< DisplayPropertyLink > & | |||
) |
DisplayPropertyLinks become yours.
void DisplayLinkManager::fillPar | ( | IOPar & | ) | const |
DisplayPropertyLink* DisplayLinkManager::getDisplayPropertyLink | ( | int | id | ) |
const DisplayPropertyLink* DisplayLinkManager::getDisplayPropertyLink | ( | int | id | ) | const |
int DisplayLinkManager::getDisplayPropertyLinkID | ( | int | idx | ) | const |
const DisplayPropertyHolder* DisplayLinkManager::getHolder | ( | int | ) | const |
|
static |
int DisplayLinkManager::nrDisplayPropertyLinks | ( | ) | const |
int DisplayLinkManager::nrHolders | ( | ) | const |
void DisplayLinkManager::removeDisplayPropertyLink | ( | int | id | ) |
|
protected |
bool DisplayLinkManager::usePar | ( | const IOPar & | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022