OpendTect
7.0
|
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) | |
virtual | ~RelationTree () |
void | addRelation (const MultiID &id1, const MultiID &id2, bool write=true) |
int | findRelation (const MultiID &, const MultiID &) const |
const RelationTree::Node * | getNode (const MultiID &) const |
void | getParents (int, TypeSet< int > &) const |
bool | getSorted (const TypeSet< MultiID > &unsortedids, TypeSet< MultiID > &sortedids) const |
bool | read () |
void | removeNode (const MultiID &, bool write=true) |
bool | write () const |
Static Public Member Functions | |
static bool | clear (bool is2d, bool dowrite=true) |
static bool | getSorted (bool is2d, BufferStringSet &) |
static bool | getSorted (bool is2d, TypeSet< MultiID > &) |
static bool | sortHorizons (bool is2d, const TypeSet< MultiID > &unsortedids, TypeSet< MultiID > &sortedids) |
static bool | update (bool id2d, const TypeSet< MultiID > &sortedids) |
Protected Member Functions | |
int | findNode (const MultiID &) const |
bool | read (bool removeoutdated) |
Static Protected Member Functions | |
static const char * | sKeyHorizonRelations () |
Protected Attributes | |
bool | is2d_ |
ObjectSet< RelationTree::Node > | nodes_ |
A Relation tree where a parent-child relationship means a top-bottom relationship for the horizons.
<>
EM::RelationTree::RelationTree | ( | bool | is2d, |
bool | read = true |
||
) |
|
virtual |
|
static |
|
protected |
const RelationTree::Node* EM::RelationTree::getNode | ( | const MultiID & | ) | const |
void EM::RelationTree::getParents | ( | int | , |
TypeSet< int > & | |||
) | const |
|
static |
bool EM::RelationTree::getSorted | ( | const TypeSet< MultiID > & | unsortedids, |
TypeSet< MultiID > & | sortedids | ||
) | const |
|
inline |
|
protected |
void EM::RelationTree::removeNode | ( | const MultiID & | , |
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. 1995-2024