OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
odHorizon2D Class Reference
Inheritance diagram for odHorizon2D:
[legend]

Public Member Functions

 odHorizon2D (const odSurvey &thesurvey, const char *name)
 
 odHorizon2D (const odSurvey &thesurvey, const char *name, bool creategeom, bool overwrite=false)
 
 ~odHorizon2D ()
 
void getFeature (OD::JSON::Object &, bool towgs=true) const override
 
void getInfo (OD::JSON::Object &) const override
 
void getLineIDs (int num, int *ids) const
 
BufferString getLineName (int lineid) const
 
BufferStringSetgetLineNames () const
 
int getNrLines () const
 
void getPoints (OD::JSON::Array &, bool) const override
 
void getXY (hAllocator, int lineid)
 
void getZ (hAllocator, int lineid)
 
- Public Member Functions inherited from odEMObject
 odEMObject (const odSurvey &thesurvey, const char *name, const char *tgname)
 
 odEMObject (const odSurvey &thesurvey, const char *name, const char *tgname, bool overwrite)
 
 ~odEMObject ()
 
virtual BufferStringSetgetAttribNames () const
 
virtual int getNrAttributes () const
 
- Public Member Functions inherited from odSurveyObject
 odSurveyObject (const odSurvey &, const char *, const char *)
 
 odSurveyObject (const odSurvey &, const char *, const char *, bool, const char *fmt=nullptr)
 
 odSurveyObject (const odSurveyObject &)=delete
 
virtual ~odSurveyObject ()
 
bool canRead () const
 
bool canWrite () const
 
BufferString errMsg () const
 
BufferString getName () const
 
bool isOK () const
 
bool isReadOnly () const
 
odSurveyObjectoperator= (const odSurveyObject &)=delete
 
void setErrMsg (const char *msg) const
 
const odSurveysurvey () const
 
bool zIsTime () const
 

Static Public Member Functions

static const char * translatorGrp ()
 
- Static Public Member Functions inherited from odSurveyObject
template<typename T >
static void getFeatures (OD::JSON::Object &, const odSurvey &survey, const BufferStringSet &)
 
template<typename T >
static void getInfos (OD::JSON::Array &, const odSurvey &survey, const BufferStringSet &)
 
template<typename T >
static BufferStringSetgetNames (const odSurvey &survey)
 
template<typename T >
static bool isPresent (const odSurvey &, const char *objname)
 
template<typename T >
static void removeObjects (const odSurvey &survey, const BufferStringSet &)
 

Protected Attributes

bool creategeom_
 
RefMan< EM::Horizon2Dhor_
 
- Protected Attributes inherited from odSurveyObject
BufferString errmsg_
 
BufferString name_
 
bool overwrite_ = false
 
bool readonly_ = true
 
const odSurveysurvey_
 
BufferString tgname_
 
bool zistime_
 

Additional Inherited Members

- Protected Member Functions inherited from odSurveyObject
IOObjioobj_ptr () const
 

Constructor & Destructor Documentation

◆ odHorizon2D() [1/2]

odHorizon2D::odHorizon2D ( const odSurvey thesurvey,
const char *  name 
)

◆ odHorizon2D() [2/2]

odHorizon2D::odHorizon2D ( const odSurvey thesurvey,
const char *  name,
bool  creategeom,
bool  overwrite = false 
)

◆ ~odHorizon2D()

odHorizon2D::~odHorizon2D ( )

Member Function Documentation

◆ getFeature()

void odHorizon2D::getFeature ( OD::JSON::Object ,
bool  towgs = true 
) const
overridevirtual

Reimplemented from odSurveyObject.

◆ getInfo()

void odHorizon2D::getInfo ( OD::JSON::Object ) const
overridevirtual

Implements odSurveyObject.

◆ getLineIDs()

void odHorizon2D::getLineIDs ( int  num,
int *  ids 
) const

◆ getLineName()

BufferString odHorizon2D::getLineName ( int  lineid) const

◆ getLineNames()

BufferStringSet* odHorizon2D::getLineNames ( ) const

◆ getNrLines()

int odHorizon2D::getNrLines ( ) const

◆ getPoints()

void odHorizon2D::getPoints ( OD::JSON::Array ,
bool   
) const
overridevirtual

Implements odSurveyObject.

◆ getXY()

void odHorizon2D::getXY ( hAllocator  ,
int  lineid 
)

◆ getZ()

void odHorizon2D::getZ ( hAllocator  ,
int  lineid 
)

◆ translatorGrp()

static const char* odHorizon2D::translatorGrp ( )
inlinestatic

Member Data Documentation

◆ creategeom_

bool odHorizon2D::creategeom_
protected

◆ hor_

RefMan<EM::Horizon2D> odHorizon2D::hor_
protected

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