OpendTect
7.0
|
Pick location in space,. More...
Public Member Functions | |
Location (const Coord &, float z=0) | |
Location (const Coord3 &) | |
Location (const Coord3 &pos, const Coord3 &dir) | |
Location (const Coord3 &pos, const Sphere &dir) | |
Location (const Location &) | |
Location (double x=0, double y=0, double z=0) | |
~Location () | |
const BinID & | binID () const |
float | crlDip () const |
const Sphere & | dir () const |
bool | fromString (const char *) |
Pos::GeomID | geomID () const |
OD::GeomSystem | geomSystem () const |
bool | getKeyedText (const char *key, BufferString &) const |
bool | getText (const char *key, BufferString &) const |
bool | hasDir () const |
bool | hasPos () const |
bool | hasText () const |
bool | hasTextKey (const char *key) const |
bool | hasTrcKey () const |
float | inlDip () const |
bool | is2D () const |
Pos::LineID | lineNr () const |
bool | operator!= (const Location &oth) const |
void | operator= (const Location &) |
bool | operator== (const Location &oth) const |
const Coord3 & | pos () const |
void | removeTextKey (const char *key) |
Location & | setBinID (const BinID &, bool updcoord=false) |
void | setDip (float, float) |
Location & | setDir (const Coord &) |
Location & | setDir (const Sphere &) |
Location & | setGeomID (Pos::GeomID) |
Location & | setGeomSystem (OD::GeomSystem, bool updfromcoord=true) |
void | setKeyedText (const char *key, const char *txt) |
Location & | setLineNr (Pos::LineID) |
Location & | setPos (const Coord &c) |
Location & | setPos (const Coord &c, float zval) |
Location & | setPos (const Coord3 &c) |
Location & | setPos (double x, double y, double zval) |
Location & | setSurvID (OD::GeomSystem, bool updfromcoord=true) |
Location & | setText (const char *) |
make sure it's compatible with the keying system More... | |
void | setText (const char *key, const char *txt) |
Location & | setTrcKey (const TrcKey &) |
Location & | setTrcNr (Pos::LineID) |
template<class FT > | |
Location & | setZ (FT zval) |
OD::GeomSystem | survID () const |
const BufferString & | text () const |
void | toString (BufferString &, bool forexport=false, const Coords::CoordSystem *crs=0) const |
const TrcKey & | trcKey () const |
Pos::TraceID | trcNr () const |
void | unSetText (const char *key) |
float | z () const |
Protected Member Functions | |
bool | fndKeyTxt (const char *, BufferString *) const |
Protected Attributes | |
Sphere | dir_ |
Coord3 | pos_ |
BufferString * | text_ |
TrcKey | trckey_ |
Pick location in space,.
A pick location always has a position in X, Y and Z ('pos()'). If asked, you'll always get the corresponding TrcKey. But, the TrcKey may not be stored as such. If this matters, try hasTrcKey(). If there is no available TrcKey, then it will be generated from the default survey geometry.
A Location has an optional text. This has to be used as a keyed storage like: key1'xx'key2'yy If no text is available, you'll get an empty string.
A Location also has an optional direction: phi is defined as the direction's counter-clockwise angle from the x-axis in the x-y plane. theta is defined as the directions angle from the upward pointing z axis (i.e. opposite to survey-z-axis). Theta and the radius are defined after the SI().zFactor is applied to the z-coordinate. If no direction is available, you'll get nullSphere().
<>
Pick::Location::Location | ( | double | x = 0 , |
double | y = 0 , |
||
double | z = 0 |
||
) |
Pick::Location::Location | ( | const Coord & | , |
float | z = 0 |
||
) |
Pick::Location::Location | ( | const Coord3 & | ) |
Pick::Location::Location | ( | const Location & | ) |
Pick::Location::~Location | ( | ) |
const BinID& Pick::Location::binID | ( | ) | const |
float Pick::Location::crlDip | ( | ) | const |
const Sphere& Pick::Location::dir | ( | ) | const |
|
protected |
bool Pick::Location::fromString | ( | const char * | ) |
Pos::GeomID Pick::Location::geomID | ( | ) | const |
OD::GeomSystem Pick::Location::geomSystem | ( | ) | const |
bool Pick::Location::getKeyedText | ( | const char * | key, |
BufferString & | |||
) | const |
bool Pick::Location::getText | ( | const char * | key, |
BufferString & | |||
) | const |
|
inline |
|
inline |
bool Pick::Location::hasText | ( | ) | const |
bool Pick::Location::hasTextKey | ( | const char * | key | ) | const |
bool Pick::Location::hasTrcKey | ( | ) | const |
float Pick::Location::inlDip | ( | ) | const |
bool Pick::Location::is2D | ( | ) | const |
Pos::LineID Pick::Location::lineNr | ( | ) | const |
|
inline |
void Pick::Location::operator= | ( | const Location & | ) |
|
inline |
|
inline |
void Pick::Location::removeTextKey | ( | const char * | key | ) |
void Pick::Location::setDip | ( | float | , |
float | |||
) |
Location& Pick::Location::setGeomID | ( | Pos::GeomID | ) |
Location& Pick::Location::setGeomSystem | ( | OD::GeomSystem | , |
bool | updfromcoord = true |
||
) |
void Pick::Location::setKeyedText | ( | const char * | key, |
const char * | txt | ||
) |
Location& Pick::Location::setLineNr | ( | Pos::LineID | ) |
|
inline |
Location& Pick::Location::setSurvID | ( | OD::GeomSystem | , |
bool | updfromcoord = true |
||
) |
Location& Pick::Location::setText | ( | const char * | ) |
make sure it's compatible with the keying system
void Pick::Location::setText | ( | const char * | key, |
const char * | txt | ||
) |
Location& Pick::Location::setTrcNr | ( | Pos::LineID | ) |
|
inline |
OD::GeomSystem Pick::Location::survID | ( | ) | const |
const BufferString& Pick::Location::text | ( | ) | const |
void Pick::Location::toString | ( | BufferString & | , |
bool | forexport = false , |
||
const Coords::CoordSystem * | crs = 0 |
||
) | const |
const TrcKey& Pick::Location::trcKey | ( | ) | const |
Pos::TraceID Pick::Location::trcNr | ( | ) | const |
void Pick::Location::unSetText | ( | const char * | key | ) |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024