OpendTect  7.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
SurveyInfo Class Reference

Holds survey general information. More...

Inheritance diagram for SurveyInfo:
[legend]

Public Types

using Pol2D3D = OD::Pol2D3D
 
enum  Unit { Second , Meter , Feet }
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Public Member Functions

 SurveyInfo (const SurveyInfo &)
 
 ~SurveyInfo ()
 
float angleXCrl () const
 
float angleXInl () const
 
const Pos::IdxPair2CoordbinID2Coord () const
 
void checkCrlRange (Interval< int > &, bool work) const
 Makes sure range is inside. More...
 
void checkInlRange (Interval< int > &, bool work) const
 Makes sure range is inside. More...
 
void checkZRange (Interval< float > &, bool work) const
 Makes sure range is inside. More...
 
const char * comment () const
 
float crlDistance () const
 
StepInterval< int > crlRange () const
 
StepInterval< int > crlRange (bool work) const
 
int crlStep () const
 
bool depthsInFeet () const
 
ZDomain::DepthType depthType () const
 
const SurveyDiskLocationdiskLocation () const
 
void gen3Pts ()
 
RefMan< Survey::Geometry3Dget3DGeometry (bool work) const
 
void get3Pts (Coord c[3], BinID b[2], int &xline) const
 
float getArea (bool work) const
 returns m2 More...
 
float getArea (const Interval< int > &inl, const Interval< int > &crl) const
 returns m2 More...
 
Pos::IdxPair2CoordgetBinID2Coord () const
 
RefMan< Coords::CoordSystemgetCoordSystem ()
 
ConstRefMan< Coords::CoordSystemgetCoordSystem () const
 
BufferString getDataDirName () const
 
BufferString getDirName () const
 
LatLong2CoordgetLatlong2Coord () const
 
IOPargetLogPars () const
 
IOPargetPars () const
 
uiString getUiXYUnitString (bool abbrviated=true, bool withparens=true) const
 
const uiString getUiZUnitString (bool withparens=true) const
 
const char * getXYUnitString (bool withparens=true) const
 
const char * getZUnitString (bool withparens=true) const
 
bool has2D () const
 
bool has3D () const
 
bool hasProjection () const
 
bool includes (const BinID &, const float, bool work) const
 Returns true when pos is inside survey-range. More...
 
float inlDistance () const
 distance for one increment More...
 
StepInterval< int > inlRange () const
 
StepInterval< int > inlRange (bool work) const
 
int inlStep () const
 
bool isClockWise () const
 Don't use. Will be removed. More...
 
bool isInside (const BinID &, bool work) const
 
bool isReasonable (const BinID &) const
 Checks if in or near survey. More...
 
bool isReasonable (const Coord &) const
 Checks if in or near survey. More...
 
bool isRightHandSystem () const
 
bool isWorkRangeSet () const
 
const LatLong2Coordlatlong2Coord () const
 
const IOParlogPars () const
 Return survey creation log. More...
 
Coord maxCoord (bool work) const
 
int maxNrTraces (bool work) const
 
Coord minCoord (bool work) const
 
int nrXYDecimals () const
 
int nrZDecimals () const
 
Coord3 oneStepTranslation (const Coord3 &planenormal) const
 
bool operator!= (const SurveyInfo &) const
 
SurveyInfooperator= (const SurveyInfo &)
 
bool operator== (const SurveyInfo &) const
 
const IOParpars () const
 Returns contents of .defs file. More...
 
void putZDomain (IOPar &) const
 
void readSavedCoordSystem () const
 Useful after loading plugins. More...
 
Interval< int > reasonableRange (bool inl) const
 
const TrcKeyZSamplingsampling (bool work) const
 
void saveJSON (const char *basedir, OD::JSON::Object *obj=nullptr) const
 Write to .defs file. More...
 
void saveLog (const char *basedir=nullptr) const
 
void savePars (const char *basedir=nullptr) const
 
float seismicReferenceDatum () const
 
const char * set3Pts (const Coord c[3], const BinID b[2], int xline)
 
uiString set3PtsWithMsg (const Coord c[3], const BinID b[2], int xline)
 
void setComment (const char *s)
 
bool setCoordSystem (Coords::CoordSystem *)
 
void setDepthInFeet (bool yn=true)
 
void setRange (const TrcKeyZSampling &, bool)
 
void setSeismicReferenceDatum (float d)
 
void setSipName (BufferString sipnm)
 
void setSurvDataType (OD::Pol2D3D typ)
 
void setTr (double, double, double, bool isx)
 
void setWorkRange (const TrcKeyZSampling &)
 
void setXYInFeet (bool yn=true)
 
void setZUnit (bool istime, bool infeet=false)
 
float showZ2UserFactor () const
 
BufferString sipName () const
 
void snap (BinID &, const BinID &dir=BinID(0, 0)) const
 dir = 0 : auto; -1 round downward, 1 round upward More...
 
void snapStep (BinID &, const BinID &dir=BinID(0, 0)) const
 see snap() for direction More...
 
void snapZ (float &, int direction=0) const
 see snap() for direction More...
 
OD::Pol2D3D survDataType () const
 
Coord transform (const BinID &b) const
 
BinID transform (const Coord &) const
 
void update3DGeometry ()
 
void updateDirName ()
 May be used after setName() More...
 
bool write (const char *basedir=nullptr) const
 
bool writeJSON (const char *basedir=nullptr) const
 Write to .survey file. More...
 
bool xyInFeet () const
 
Unit xyUnit () const
 
const ZDomain::DefzDomain () const
 
const ZDomain::InfozDomainInfo () const
 
bool zInFeet () const
 
bool zInMeter () const
 
bool zIsTime () const
 
const StepInterval< float > & zRange () const
 
const StepInterval< float > & zRange (bool work) const
 
float zScale () const
 
float zStep () const
 
Unit zUnit () const
 
- 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 CallBackertrueCaller ()
 
- 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_typename () const override
 
NamedObjectoperator= (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
 

Static Public Member Functions

static const char * curSurveyName ()
 Survey directory name (not a full path) More...
 
static float defaultXYtoZScale (Unit, Unit)
 
static void deleteInstance ()
 
static SurveyInfoempty ()
 
static Notifier< SurveyInfo > & instanceCreated ()
 
static uiRetVal isValidDataRoot (const char *)
 
static uiRetVal isValidSurveyDir (const char *)
 
static SurveyInfopopSI ()
 
static void pushSI (SurveyInfo *)
 
static SurveyInforead (const char *path, bool pathisfile)
 
static SurveyInforead (const char *survdir)
 
static SurveyInforeadDirectory (const char *loc)
 
static SurveyInforeadFile (const char *loc)
 
static const char * sKeyBasicSurveyName ()
 
static const char * sKeyComments ()
 
static const char * sKeyCrlRange ()
 
static const char * sKeyCRS ()
 
static const char * sKeyDef ()
 
static const char * sKeyDomain ()
 
static const char * sKeyDpthInFt ()
 Not used by SI, just a UI default. More...
 
static const char * sKeyIC ()
 
static const char * sKeyInlRange ()
 
static const char * sKeyProjVersion ()
 
static const char * sKeySeismicRefDatum ()
 
static const char * sKeySetPt ()
 
static const char * sKeySetupFileName ()
 
static const char * sKeySurvDataType ()
 
static const char * sKeySurvDiskLoc ()
 
static const char * sKeyTransformation ()
 
static const char * sKeyXRange ()
 
static const char * sKeyXY ()
 
static const char * sKeyXYInFt ()
 
static const char * sKeyYRange ()
 
static const char * sKeyZAxis ()
 
static const char * sKeyZRange ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

Notifier< SurveyInfoworkRangeChg
 

Protected Member Functions

 SurveyInfo ()
 
void handleLineRead (const BufferString &, const char *)
 
void putTr (const Pos::IdxPair2Coord::DirTransform &, ascostream &, const char *) const
 
void setTr (Pos::IdxPair2Coord::DirTransform &, const char *)
 
bool wrapUpRead ()
 
void writeSpecLines (ascostream &) const
 
void writeSpecLines (ascostream *, OD::JSON::Object *obj=nullptr) const
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Static Protected Member Functions

static SurveyInforeadJSON (const OD::JSON::Object &, uiRetVal &)
 
static SurveyInforeadStrm (od_istream &, uiRetVal &)
 

Protected Attributes

Pos::IdxPair2Coord b2c_
 
BufferString comment_
 
RefMan< Coords::CoordSystemcoordsystem_
 
bool depthsinfeet_
 
SurveyDiskLocation disklocation_
 
LatLong2Coordll2c_
 
IOPar logpars_
 
IOParpars_
 
Threads::AtomicPointer< Survey::Geometry3Ds3dgeom_
 
float seisrefdatum_
 
BinID set3binids_ [3]
 
Coord set3coords_ [3]
 
BufferString sipnm_
 
OD::Pol2D3D survdatatype_
 
bool survdatatypeknown_
 
TrcKeyZSamplingtkzs_
 
TrcKeyZSamplingwcs_
 
Threads::AtomicPointer< Survey::Geometry3Dwork_s3dgeom_
 
bool xyinfeet_
 
ZDomain::Defzdef_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Member Functions

bool writeSurveyFile (const char *basedir, bool isjson) const
 

Static Private Member Functions

static void setSurveyName (const char *surveydirnm)
 
static const char * surveyFileName ()
 

Private Attributes

Pos::IdxPair2Coord::DirTransform rdxtr_
 
Pos::IdxPair2Coord::DirTransform rdytr_
 

Friends

class EmptyTempSurvey
 
class IOMan
 
const SurveyInfoSI ()
 
class uiSurvey
 
class uiSurveyInfoEditor
 
class uiSurveyMap
 

Detailed Description

Holds survey general information.

The surveyinfo is the primary source for ranges and steps.It also provides the transformation between inline/xline <-> coordinates and lat/long estimates

Note: the Z range step is only a default. It should not be used further because different cubes/lines have different sample rates.

The ranges are defined for two cubes: the entire survey, and a 'working area'. Normally, you'll want to have the working area.

If you are an expert, and you feel you need more 'power', you may want to look at the bottom part of the class too for some more public functions.

<>

Member Typedef Documentation

◆ Pol2D3D

Member Enumeration Documentation

◆ Unit

Enumerator
Second 
Meter 
Feet 

Constructor & Destructor Documentation

◆ ~SurveyInfo()

SurveyInfo::~SurveyInfo ( )

◆ SurveyInfo() [1/2]

SurveyInfo::SurveyInfo ( )
protected

◆ SurveyInfo() [2/2]

SurveyInfo::SurveyInfo ( const SurveyInfo )

Member Function Documentation

◆ angleXCrl()

float SurveyInfo::angleXCrl ( ) const

It's the angle between the X-axis (East) and a Crossline

◆ angleXInl()

float SurveyInfo::angleXInl ( ) const

It's the angle between the X-axis (East) and an Inline

◆ binID2Coord()

const Pos::IdxPair2Coord& SurveyInfo::binID2Coord ( ) const
inline

◆ checkCrlRange()

void SurveyInfo::checkCrlRange ( Interval< int > &  ,
bool  work 
) const

Makes sure range is inside.

◆ checkInlRange()

void SurveyInfo::checkInlRange ( Interval< int > &  ,
bool  work 
) const

Makes sure range is inside.

◆ checkZRange()

void SurveyInfo::checkZRange ( Interval< float > &  ,
bool  work 
) const

Makes sure range is inside.

◆ comment()

const char* SurveyInfo::comment ( ) const
inline

◆ crlDistance()

float SurveyInfo::crlDistance ( ) const

◆ crlRange() [1/2]

StepInterval<int> SurveyInfo::crlRange ( ) const
inline

◆ crlRange() [2/2]

StepInterval<int> SurveyInfo::crlRange ( bool  work) const

◆ crlStep()

int SurveyInfo::crlStep ( ) const

◆ curSurveyName()

static const char* SurveyInfo::curSurveyName ( )
static

Survey directory name (not a full path)

◆ defaultXYtoZScale()

static float SurveyInfo::defaultXYtoZScale ( Unit  ,
Unit   
)
static

Gives a ballpark figure of how to scale XY to make it comparable to Z.

◆ deleteInstance()

static void SurveyInfo::deleteInstance ( )
inlinestatic

◆ depthsInFeet()

bool SurveyInfo::depthsInFeet ( ) const
inline

◆ depthType()

ZDomain::DepthType SurveyInfo::depthType ( ) const

◆ diskLocation()

const SurveyDiskLocation& SurveyInfo::diskLocation ( ) const

◆ empty()

static SurveyInfo& SurveyInfo::empty ( )
static

◆ gen3Pts()

void SurveyInfo::gen3Pts ( )

◆ get3DGeometry()

RefMan<Survey::Geometry3D> SurveyInfo::get3DGeometry ( bool  work) const

◆ get3Pts()

void SurveyInfo::get3Pts ( Coord  c[3],
BinID  b[2],
int &  xline 
) const

◆ getArea() [1/2]

float SurveyInfo::getArea ( bool  work) const

returns m2

◆ getArea() [2/2]

float SurveyInfo::getArea ( const Interval< int > &  inl,
const Interval< int > &  crl 
) const

returns m2

◆ getBinID2Coord()

Pos::IdxPair2Coord& SurveyInfo::getBinID2Coord ( ) const
inline

◆ getCoordSystem() [1/2]

RefMan<Coords::CoordSystem> SurveyInfo::getCoordSystem ( )

◆ getCoordSystem() [2/2]

ConstRefMan<Coords::CoordSystem> SurveyInfo::getCoordSystem ( ) const

◆ getDataDirName()

BufferString SurveyInfo::getDataDirName ( ) const

◆ getDirName()

BufferString SurveyInfo::getDirName ( ) const

◆ getLatlong2Coord()

LatLong2Coord& SurveyInfo::getLatlong2Coord ( ) const
inline

◆ getLogPars()

IOPar& SurveyInfo::getLogPars ( ) const
inline

◆ getPars()

IOPar& SurveyInfo::getPars ( ) const
inline

◆ getUiXYUnitString()

uiString SurveyInfo::getUiXYUnitString ( bool  abbrviated = true,
bool  withparens = true 
) const

◆ getUiZUnitString()

const uiString SurveyInfo::getUiZUnitString ( bool  withparens = true) const
inline

◆ getXYUnitString()

const char* SurveyInfo::getXYUnitString ( bool  withparens = true) const

◆ getZUnitString()

const char* SurveyInfo::getZUnitString ( bool  withparens = true) const
inline

◆ handleLineRead()

void SurveyInfo::handleLineRead ( const BufferString ,
const char *   
)
protected

◆ has2D()

bool SurveyInfo::has2D ( ) const

◆ has3D()

bool SurveyInfo::has3D ( ) const

◆ hasProjection()

bool SurveyInfo::hasProjection ( ) const

◆ includes()

bool SurveyInfo::includes ( const BinID ,
const float  ,
bool  work 
) const

Returns true when pos is inside survey-range.

◆ inlDistance()

float SurveyInfo::inlDistance ( ) const

distance for one increment

◆ inlRange() [1/2]

StepInterval<int> SurveyInfo::inlRange ( ) const
inline

◆ inlRange() [2/2]

StepInterval<int> SurveyInfo::inlRange ( bool  work) const

◆ inlStep()

int SurveyInfo::inlStep ( ) const

◆ instanceCreated()

static Notifier< SurveyInfo >& SurveyInfo::instanceCreated ( )
static

◆ isClockWise()

bool SurveyInfo::isClockWise ( ) const
inline

Don't use. Will be removed.

◆ isInside()

bool SurveyInfo::isInside ( const BinID ,
bool  work 
) const

◆ isReasonable() [1/2]

bool SurveyInfo::isReasonable ( const BinID ) const

Checks if in or near survey.

◆ isReasonable() [2/2]

bool SurveyInfo::isReasonable ( const Coord ) const

Checks if in or near survey.

◆ isRightHandSystem()

bool SurveyInfo::isRightHandSystem ( ) const

Orientation is determined by rotating the inline axis to the crossline axis.

◆ isValidDataRoot()

static uiRetVal SurveyInfo::isValidDataRoot ( const char *  )
static

Full path to a writable directory Exclusively for usage in modules below General

◆ isValidSurveyDir()

static uiRetVal SurveyInfo::isValidSurveyDir ( const char *  )
static

Full path to an OpendTect project directory Exclusively for usage in modules below General

◆ isWorkRangeSet()

bool SurveyInfo::isWorkRangeSet ( ) const

◆ latlong2Coord()

const LatLong2Coord& SurveyInfo::latlong2Coord ( ) const
inline

◆ logPars()

const IOPar& SurveyInfo::logPars ( ) const
inline

Return survey creation log.

◆ maxCoord()

Coord SurveyInfo::maxCoord ( bool  work) const

◆ maxNrTraces()

int SurveyInfo::maxNrTraces ( bool  work) const

◆ minCoord()

Coord SurveyInfo::minCoord ( bool  work) const

◆ nrXYDecimals()

int SurveyInfo::nrXYDecimals ( ) const

◆ nrZDecimals()

int SurveyInfo::nrZDecimals ( ) const

◆ oneStepTranslation()

Coord3 SurveyInfo::oneStepTranslation ( const Coord3 planenormal) const

◆ operator!=()

bool SurveyInfo::operator!= ( const SurveyInfo ) const

◆ operator=()

SurveyInfo& SurveyInfo::operator= ( const SurveyInfo )

◆ operator==()

bool SurveyInfo::operator== ( const SurveyInfo ) const

◆ pars()

const IOPar& SurveyInfo::pars ( ) const
inline

Returns contents of .defs file.

◆ popSI()

static SurveyInfo* SurveyInfo::popSI ( )
static

◆ pushSI()

static void SurveyInfo::pushSI ( SurveyInfo )
static

◆ putTr()

void SurveyInfo::putTr ( const Pos::IdxPair2Coord::DirTransform ,
ascostream ,
const char *   
) const
protected

◆ putZDomain()

void SurveyInfo::putZDomain ( IOPar ) const

◆ read() [1/2]

static SurveyInfo* SurveyInfo::read ( const char *  path,
bool  pathisfile 
)
static

◆ read() [2/2]

static SurveyInfo* SurveyInfo::read ( const char *  survdir)
static

◆ readDirectory()

static SurveyInfo* SurveyInfo::readDirectory ( const char *  loc)
static

◆ readFile()

static SurveyInfo* SurveyInfo::readFile ( const char *  loc)
static

◆ readJSON()

static SurveyInfo* SurveyInfo::readJSON ( const OD::JSON::Object ,
uiRetVal  
)
staticprotected

◆ readSavedCoordSystem()

void SurveyInfo::readSavedCoordSystem ( ) const

Useful after loading plugins.

◆ readStrm()

static SurveyInfo* SurveyInfo::readStrm ( od_istream ,
uiRetVal  
)
staticprotected

◆ reasonableRange()

Interval<int> SurveyInfo::reasonableRange ( bool  inl) const

◆ sampling()

const TrcKeyZSampling& SurveyInfo::sampling ( bool  work) const
inline

◆ saveJSON()

void SurveyInfo::saveJSON ( const char *  basedir,
OD::JSON::Object obj = nullptr 
) const

Write to .defs file.

◆ saveLog()

void SurveyInfo::saveLog ( const char *  basedir = nullptr) const

◆ savePars()

void SurveyInfo::savePars ( const char *  basedir = nullptr) const

◆ seismicReferenceDatum()

float SurveyInfo::seismicReferenceDatum ( ) const
inline

In depth units (m or ft), positive upward from sea level. Always in meters for time surveys

◆ set3Pts()

const char* SurveyInfo::set3Pts ( const Coord  c[3],
const BinID  b[2],
int  xline 
)

◆ set3PtsWithMsg()

uiString SurveyInfo::set3PtsWithMsg ( const Coord  c[3],
const BinID  b[2],
int  xline 
)

◆ setComment()

void SurveyInfo::setComment ( const char *  s)
inline

◆ setCoordSystem()

bool SurveyInfo::setCoordSystem ( Coords::CoordSystem )

◆ setDepthInFeet()

void SurveyInfo::setDepthInFeet ( bool  yn = true)
inline

◆ setRange()

void SurveyInfo::setRange ( const TrcKeyZSampling ,
bool   
)

◆ setSeismicReferenceDatum()

void SurveyInfo::setSeismicReferenceDatum ( float  d)
inline

◆ setSipName()

void SurveyInfo::setSipName ( BufferString  sipnm)
inline

◆ setSurvDataType()

void SurveyInfo::setSurvDataType ( OD::Pol2D3D  typ)
inline

◆ setSurveyName()

static void SurveyInfo::setSurveyName ( const char *  surveydirnm)
staticprivate

◆ setTr() [1/2]

void SurveyInfo::setTr ( double  ,
double  ,
double  ,
bool  isx 
)

◆ setTr() [2/2]

void SurveyInfo::setTr ( Pos::IdxPair2Coord::DirTransform ,
const char *   
)
protected

◆ setWorkRange()

void SurveyInfo::setWorkRange ( const TrcKeyZSampling )

◆ setXYInFeet()

void SurveyInfo::setXYInFeet ( bool  yn = true)
inline

◆ setZUnit()

void SurveyInfo::setZUnit ( bool  istime,
bool  infeet = false 
)

◆ showZ2UserFactor()

float SurveyInfo::showZ2UserFactor ( ) const
inline

◆ sipName()

BufferString SurveyInfo::sipName ( ) const
inline

◆ sKeyBasicSurveyName()

static const char* SurveyInfo::sKeyBasicSurveyName ( )
inlinestatic

◆ sKeyComments()

static const char* SurveyInfo::sKeyComments ( )
inlinestatic

◆ sKeyCrlRange()

static const char* SurveyInfo::sKeyCrlRange ( )
static

◆ sKeyCRS()

static const char* SurveyInfo::sKeyCRS ( )
inlinestatic

◆ sKeyDef()

static const char* SurveyInfo::sKeyDef ( )
inlinestatic

◆ sKeyDomain()

static const char* SurveyInfo::sKeyDomain ( )
inlinestatic

◆ sKeyDpthInFt()

static const char* SurveyInfo::sKeyDpthInFt ( )
static

Not used by SI, just a UI default.

◆ sKeyIC()

static const char* SurveyInfo::sKeyIC ( )
inlinestatic

◆ sKeyInlRange()

static const char* SurveyInfo::sKeyInlRange ( )
static

◆ sKeyProjVersion()

static const char* SurveyInfo::sKeyProjVersion ( )
inlinestatic

◆ sKeySeismicRefDatum()

static const char* SurveyInfo::sKeySeismicRefDatum ( )
static

◆ sKeySetPt()

static const char* SurveyInfo::sKeySetPt ( )
inlinestatic

◆ sKeySetupFileName()

static const char* SurveyInfo::sKeySetupFileName ( )
inlinestatic

◆ sKeySurvDataType()

static const char* SurveyInfo::sKeySurvDataType ( )
static

◆ sKeySurvDiskLoc()

static const char* SurveyInfo::sKeySurvDiskLoc ( )
inlinestatic

◆ sKeyTransformation()

static const char* SurveyInfo::sKeyTransformation ( )
inlinestatic

◆ sKeyXRange()

static const char* SurveyInfo::sKeyXRange ( )
static

◆ sKeyXY()

static const char* SurveyInfo::sKeyXY ( )
inlinestatic

◆ sKeyXYInFt()

static const char* SurveyInfo::sKeyXYInFt ( )
static

◆ sKeyYRange()

static const char* SurveyInfo::sKeyYRange ( )
static

◆ sKeyZAxis()

static const char* SurveyInfo::sKeyZAxis ( )
inlinestatic

◆ sKeyZRange()

static const char* SurveyInfo::sKeyZRange ( )
static

◆ snap()

void SurveyInfo::snap ( BinID ,
const BinID dir = BinID(0, 0) 
) const

dir = 0 : auto; -1 round downward, 1 round upward

◆ snapStep()

void SurveyInfo::snapStep ( BinID ,
const BinID dir = BinID(0, 0) 
) const

see snap() for direction

◆ snapZ()

void SurveyInfo::snapZ ( float &  ,
int  direction = 0 
) const

see snap() for direction

◆ survDataType()

OD::Pol2D3D SurveyInfo::survDataType ( ) const
inline

◆ surveyFileName()

static const char* SurveyInfo::surveyFileName ( )
staticprivate

◆ transform() [1/2]

Coord SurveyInfo::transform ( const BinID b) const

◆ transform() [2/2]

BinID SurveyInfo::transform ( const Coord ) const
Note
BinID will be snapped using work step.

◆ update3DGeometry()

void SurveyInfo::update3DGeometry ( )

◆ updateDirName()

void SurveyInfo::updateDirName ( )

May be used after setName()

◆ wrapUpRead()

bool SurveyInfo::wrapUpRead ( )
protected

◆ write()

bool SurveyInfo::write ( const char *  basedir = nullptr) const

◆ writeJSON()

bool SurveyInfo::writeJSON ( const char *  basedir = nullptr) const

Write to .survey file.

◆ writeSpecLines() [1/2]

void SurveyInfo::writeSpecLines ( ascostream ) const
protected

◆ writeSpecLines() [2/2]

void SurveyInfo::writeSpecLines ( ascostream ,
OD::JSON::Object obj = nullptr 
) const
protected

◆ writeSurveyFile()

bool SurveyInfo::writeSurveyFile ( const char *  basedir,
bool  isjson 
) const
private

◆ xyInFeet()

bool SurveyInfo::xyInFeet ( ) const

◆ xyUnit()

Unit SurveyInfo::xyUnit ( ) const

◆ zDomain()

const ZDomain::Def& SurveyInfo::zDomain ( ) const

◆ zDomainInfo()

const ZDomain::Info& SurveyInfo::zDomainInfo ( ) const

◆ zInFeet()

bool SurveyInfo::zInFeet ( ) const
inline

◆ zInMeter()

bool SurveyInfo::zInMeter ( ) const
inline

◆ zIsTime()

bool SurveyInfo::zIsTime ( ) const

◆ zRange() [1/2]

const StepInterval<float>& SurveyInfo::zRange ( ) const
inline

◆ zRange() [2/2]

const StepInterval<float>& SurveyInfo::zRange ( bool  work) const

◆ zScale()

float SurveyInfo::zScale ( ) const

Gives a ballpark figure of how to scale Z to make it comparable to XY.

◆ zStep()

float SurveyInfo::zStep ( ) const

◆ zUnit()

Unit SurveyInfo::zUnit ( ) const

Friends And Related Function Documentation

◆ EmptyTempSurvey

friend class EmptyTempSurvey
friend

◆ IOMan

friend class IOMan
friend

◆ SI

const SurveyInfo& SI ( )
friend

◆ uiSurvey

friend class uiSurvey
friend

◆ uiSurveyInfoEditor

friend class uiSurveyInfoEditor
friend

◆ uiSurveyMap

friend class uiSurveyMap
friend

Member Data Documentation

◆ b2c_

Pos::IdxPair2Coord SurveyInfo::b2c_
protected

◆ comment_

BufferString SurveyInfo::comment_
protected

◆ coordsystem_

RefMan<Coords::CoordSystem> SurveyInfo::coordsystem_
protected

◆ depthsinfeet_

bool SurveyInfo::depthsinfeet_
protected

◆ disklocation_

SurveyDiskLocation SurveyInfo::disklocation_
protected

◆ ll2c_

LatLong2Coord& SurveyInfo::ll2c_
protected

◆ logpars_

IOPar SurveyInfo::logpars_
protected

◆ pars_

IOPar& SurveyInfo::pars_
protected

◆ rdxtr_

Pos::IdxPair2Coord::DirTransform SurveyInfo::rdxtr_
private

◆ rdytr_

Pos::IdxPair2Coord::DirTransform SurveyInfo::rdytr_
private

◆ s3dgeom_

Threads::AtomicPointer<Survey::Geometry3D> SurveyInfo::s3dgeom_
mutableprotected

◆ seisrefdatum_

float SurveyInfo::seisrefdatum_
protected

◆ set3binids_

BinID SurveyInfo::set3binids_[3]
protected

◆ set3coords_

Coord SurveyInfo::set3coords_[3]
protected

◆ sipnm_

BufferString SurveyInfo::sipnm_
protected

◆ survdatatype_

OD::Pol2D3D SurveyInfo::survdatatype_
protected

◆ survdatatypeknown_

bool SurveyInfo::survdatatypeknown_
protected

◆ tkzs_

TrcKeyZSampling& SurveyInfo::tkzs_
protected

◆ wcs_

TrcKeyZSampling& SurveyInfo::wcs_
protected

◆ work_s3dgeom_

Threads::AtomicPointer<Survey::Geometry3D> SurveyInfo::work_s3dgeom_
mutableprotected

◆ workRangeChg

Notifier<SurveyInfo> SurveyInfo::workRangeChg

◆ xyinfeet_

bool SurveyInfo::xyinfeet_
protected

◆ zdef_

ZDomain::Def& SurveyInfo::zdef_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024