OpendTect
7.0
|
Set of picks with something in common. More...
Classes | |
struct | Disp |
Public Member Functions | |
Set (const char *nm=0) | |
Set (const Set &) | |
int | add (const Coord &, float z) |
int | add (const Coord3 &) |
int | add (const Location &) |
void | addStartIdx (int locidx) |
bool | append (const Pick::Set &) |
void | appendWithUndo (const Pick::Location &) |
void | bulkAppendWithUndo (const TypeSet< Pick::Location > &, const TypeSet< int > &indexes) |
void | bulkRemoveWithUndo (const TypeSet< Pick::Location > &, const TypeSet< int > &indexes) |
bool | fillDataPointSet (DataPointSet &) const |
void | fillDisplayPars (IOPar &) const |
void | fillPar (IOPar &) const |
int | find (const TrcKey &) const |
void | findStartIdxs () |
OD::GeomSystem | geomSystem () const |
pre-6.0.1 sets will return the survID of first loc More... | |
const Location & | get (int idx) const |
void | getBoundingBox (TrcKeyZSampling &) const |
void | getLocations (TypeSet< Coord3 > &, int setidx=0) const |
void | getPolygon (ODPolygon< double > &, int idx=0) const |
const Coord3 & | getPos (int idx) const |
void | getStartStopIdx (int setidx, int &start, int &stop) const |
OD::GeomSystem | getSurvID () const |
float | getXYArea (int idx=0) const |
Only for closed polygons. Returns in (XYUnit)^2. More... | |
float | getZ (int idx) const |
void | insert (int idx, const Location &) |
void | insertWithUndo (int, const Pick::Location &) |
bool | is2D () const |
default is 3D More... | |
bool | isEmpty () const |
bool | isPolygon () const |
bool | isReadOnly () const |
bool | isSizeLargerThanThreshold () const |
const TypeSet< Location > & | locations () const |
void | moveWithUndo (int, const Pick::Location &, const Pick::Location &) |
int | nearestLocation (const Coord &) const |
int | nearestLocation (const Coord3 &, bool ignorez=false) const |
int | nrSets () const |
Set & | operator= (const Set &) |
void | remove (int idx) |
void | removeSingleWithUndo (int) |
void | set (int idx, const Location &) |
bool | setCapacity (int sz) |
void | setDefaultDispPars () |
void | setDip (int idx, float inldip, float crldip) |
void | setDir (int idx, const Sphere &) |
void | setEmpty () |
void | setKeyedText (int idx, const char *key, const char *txt) |
void | setPos (int idx, const Coord &) |
void | setPos (int idx, const Coord3 &) |
void | setReadOnly (bool yn) |
bool | setSize (int, const Coord3 &defval=Coord3::udf()) |
void | setStartIdx (int setidx, int locidx) |
void | setZ (int idx, float z) |
Set & | setZDomain (const ZDomain::Info &) |
int | size () const |
const TypeSet< int > & | startIndexs () const |
bool | useDisplayPars (const IOPar &) |
bool | usePar (const IOPar &) |
bool | validIdx (int idx) const |
bool | writeDisplayPars () const |
const ZDomain::Info & | zDomain () const |
bool | zInFeet () const |
bool | zInMeter () const |
bool | zIsTime () const |
const UnitOfMeasure * | zUnit () const |
Public Member Functions inherited from SharedObject | |
SharedObject (const char *nm=nullptr) | |
SharedObject (const SharedObject &) | |
Public Member Functions inherited from NamedCallBacker | |
NamedCallBacker (const char *nm=0) | |
NamedCallBacker (const NamedCallBacker &) | |
virtual Notifier< NamedCallBacker > & | objectToBeDeleted () const |
bool | operator== (const NamedCallBacker &oth) const |
bool | operator== (const NamedObject &oth) const |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
virtual BufferString | getName () const |
bool | getNameFromPar (const IOPar &) |
const name_type & | name () const override |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
Public Member Functions inherited from RefCount::Referenced | |
void | addObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
int | nrRefs () const |
Only for expert use. More... | |
void | ref () const |
bool | refIfReffed () const |
Don't use in production, for debugging. More... | |
void | removeObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
bool | tryRef () const |
Not for normal use. May become private. More... | |
void | unRef () const |
void | unRefNoDelete () const |
Static Public Member Functions | |
static int | getSizeThreshold () |
static const char * | sKeyConnect () |
static const char * | sKeyFill () |
static const char * | sKeyFillColor () |
static const char * | sKeyMarkerType () |
static const char * | sKeyThresholdSize () |
static const char * | sKeyUseThreshold () |
Static Public Member Functions inherited from SharedObject | |
static Notifier< SharedObject > & | instanceCreated () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Static Public Member Functions inherited from RefCount::Referenced | |
static bool | isSane (const Referenced *) |
Public Attributes | |
Disp | disp_ |
IOPar & | pars_ |
Protected Member Functions | |
~Set () | |
Protected Member Functions inherited from SharedObject | |
virtual | ~SharedObject () |
Protected Member Functions inherited from NamedCallBacker | |
void | sendDelNotif () const |
Protected Member Functions inherited from RefCount::Referenced | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Private Types | |
enum | EventType { Insert , PolygonClose , Remove , Move } |
Private Member Functions | |
void | addBulkUndoEvent (EventType, const TypeSet< int > &, const TypeSet< Pick::Location > &) |
void | addUndoEvent (EventType, int, const Pick::Location &) |
void | refNotify () const override |
void | unRefNotify () const override |
Private Attributes | |
TypeSet< Location > | locations_ |
bool | readonly_ |
TypeSet< int > | startidxs_ |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Protected Attributes inherited from NamedCallBacker | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Set of picks with something in common.
<>
|
private |
Pick::Set::Set | ( | const char * | nm = 0 | ) |
Pick::Set::Set | ( | const Set & | ) |
|
protected |
int Pick::Set::add | ( | const Coord & | , |
float | z | ||
) |
int Pick::Set::add | ( | const Coord3 & | ) |
int Pick::Set::add | ( | const Location & | ) |
|
private |
void Pick::Set::addStartIdx | ( | int | locidx | ) |
|
private |
bool Pick::Set::append | ( | const Pick::Set & | ) |
void Pick::Set::appendWithUndo | ( | const Pick::Location & | ) |
void Pick::Set::bulkAppendWithUndo | ( | const TypeSet< Pick::Location > & | , |
const TypeSet< int > & | indexes | ||
) |
void Pick::Set::bulkRemoveWithUndo | ( | const TypeSet< Pick::Location > & | , |
const TypeSet< int > & | indexes | ||
) |
bool Pick::Set::fillDataPointSet | ( | DataPointSet & | ) | const |
void Pick::Set::fillDisplayPars | ( | IOPar & | ) | const |
void Pick::Set::fillPar | ( | IOPar & | ) | const |
int Pick::Set::find | ( | const TrcKey & | ) | const |
void Pick::Set::findStartIdxs | ( | ) |
OD::GeomSystem Pick::Set::geomSystem | ( | ) | const |
pre-6.0.1 sets will return the survID of first loc
const Location& Pick::Set::get | ( | int | idx | ) | const |
void Pick::Set::getBoundingBox | ( | TrcKeyZSampling & | ) | const |
void Pick::Set::getPolygon | ( | ODPolygon< double > & | , |
int | idx = 0 |
||
) | const |
const Coord3& Pick::Set::getPos | ( | int | idx | ) | const |
|
static |
void Pick::Set::getStartStopIdx | ( | int | setidx, |
int & | start, | ||
int & | stop | ||
) | const |
|
inline |
float Pick::Set::getXYArea | ( | int | idx = 0 | ) | const |
Only for closed polygons. Returns in (XYUnit)^2.
float Pick::Set::getZ | ( | int | idx | ) | const |
void Pick::Set::insert | ( | int | idx, |
const Location & | |||
) |
void Pick::Set::insertWithUndo | ( | int | , |
const Pick::Location & | |||
) |
bool Pick::Set::is2D | ( | ) | const |
default is 3D
|
inline |
bool Pick::Set::isPolygon | ( | ) | const |
|
inline |
bool Pick::Set::isSizeLargerThanThreshold | ( | ) | const |
void Pick::Set::moveWithUndo | ( | int | , |
const Pick::Location & | , | ||
const Pick::Location & | |||
) |
int Pick::Set::nearestLocation | ( | const Coord & | ) | const |
int Pick::Set::nearestLocation | ( | const Coord3 & | , |
bool | ignorez = false |
||
) | const |
|
inline |
|
overrideprivatevirtual |
Reimplemented from RefCount::Referenced.
void Pick::Set::remove | ( | int | idx | ) |
void Pick::Set::removeSingleWithUndo | ( | int | ) |
void Pick::Set::set | ( | int | idx, |
const Location & | |||
) |
bool Pick::Set::setCapacity | ( | int | sz | ) |
void Pick::Set::setDefaultDispPars | ( | ) |
void Pick::Set::setDip | ( | int | idx, |
float | inldip, | ||
float | crldip | ||
) |
void Pick::Set::setDir | ( | int | idx, |
const Sphere & | |||
) |
|
inline |
void Pick::Set::setKeyedText | ( | int | idx, |
const char * | key, | ||
const char * | txt | ||
) |
void Pick::Set::setPos | ( | int | idx, |
const Coord & | |||
) |
void Pick::Set::setPos | ( | int | idx, |
const Coord3 & | |||
) |
|
inline |
bool Pick::Set::setSize | ( | int | , |
const Coord3 & | defval = Coord3::udf() |
||
) |
void Pick::Set::setStartIdx | ( | int | setidx, |
int | locidx | ||
) |
void Pick::Set::setZ | ( | int | idx, |
float | z | ||
) |
Set& Pick::Set::setZDomain | ( | const ZDomain::Info & | ) |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
overrideprivatevirtual |
Reimplemented from RefCount::Referenced.
bool Pick::Set::useDisplayPars | ( | const IOPar & | ) |
bool Pick::Set::usePar | ( | const IOPar & | ) |
bool Pick::Set::validIdx | ( | int | idx | ) | const |
bool Pick::Set::writeDisplayPars | ( | ) | const |
const ZDomain::Info& Pick::Set::zDomain | ( | ) | const |
bool Pick::Set::zInFeet | ( | ) | const |
bool Pick::Set::zInMeter | ( | ) | const |
bool Pick::Set::zIsTime | ( | ) | const |
const UnitOfMeasure* Pick::Set::zUnit | ( | ) | const |
Disp Pick::Set::disp_ |
IOPar& Pick::Set::pars_ |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024