![]() |
OpendTect
6.3
|
A Relation tree where a parent-child relationship means a top-bottom relationship for the horizons. More...
Classes | |
| class | Node |
Public Member Functions | |
| RelationTree (bool is2d, bool read=true) | |
| ~RelationTree () | |
| const RelationTree::Node * | getNode (const DBKey &) const |
| void | getParents (int, TypeSet< int > &) const |
| void | removeNode (const DBKey &, bool write=true) |
| void | addRelation (const DBKey &id1, const DBKey &id2, bool write=true) |
| int | findRelation (const DBKey &, const DBKey &) const |
| bool | getSorted (const DBKeySet &unsortedids, DBKeySet &sortedids) const |
| bool | read () |
| bool | write () const |
Static Public Member Functions | |
| static bool | sortHorizons (bool is2d, const DBKeySet &unsortedids, DBKeySet &sortedids) |
Protected Member Functions | |
| int | findNode (const DBKey &) const |
| bool | read (bool removeoutdated) |
Static Protected Member Functions | |
| static const char * | sKeyHorizonRelations () |
Protected Attributes | |
| ObjectSet< RelationTree::Node > | nodes_ |
| bool | is2d_ |
A Relation tree where a parent-child relationship means a top-bottom relationship for the horizons.
| EM::RelationTree::RelationTree | ( | bool | is2d, |
| bool | read = true |
||
| ) |
| EM::RelationTree::~RelationTree | ( | ) |
|
protected |
| const RelationTree::Node* EM::RelationTree::getNode | ( | const DBKey & | ) | const |
| void EM::RelationTree::getParents | ( | int | , |
| TypeSet< int > & | |||
| ) | const |
|
inline |
|
protected |
| void EM::RelationTree::removeNode | ( | const DBKey & | , |
| bool | write = true |
||
| ) |
|
staticprotected |
|
static |
Much faster if you only need RelationTree for sorting and unsortedids is a small subset of all horizons in the survey.
| bool EM::RelationTree::write | ( | ) | const |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017