OpendTect  7.0
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
EM::FaultAuxData Class Reference

Fault surface data. More...

Classes

struct  DataInfo
 

Public Member Functions

 FaultAuxData (const Fault3D &)
 
 FaultAuxData (const MultiID &)
 
virtual ~FaultAuxData ()
 
int dataIndex (const char *sdname) const
 
uiString errMsg () const
 
void getAuxDataList (BufferStringSet &) const
 
bool init ()
 
const Array2D< float > * loadIfNotLoaded (const char *sdname)
 
const Array2D< float > * loadIfNotLoaded (int sdidx)
 
void removeAllData ()
 
void removeData (const char *sdname)
 
void removeData (int sdidx)
 
void renameFault (const char *fltnewname)
 
const TypeSet< int > & selectedIndices () const
 
const BufferStringSetselectedNames () const
 
int setData (const char *sdname, const Array2D< float > *data, OD::PtrPolicy)
 
void setData (int sdidx, const Array2D< float > *, OD::PtrPolicy)
 
void setDataName (const char *oldname, const char *newname)
 
void setDataName (int sdidx, const char *newname)
 
void setSelected (const TypeSet< int > &sl)
 
bool storeData (int sdidx, bool binary)
 

Protected Types

enum  Action { Remove =0 , SetName =1 }
 

Protected Member Functions

BufferString createFltDataName (const char *base, int sdidx)
 
bool loadData (int sdidx)
 
void readSDInfoFile (ObjectSet< IOPar > &)
 
const char * sKeyExtension ()
 
const char * sKeyFaultAuxData ()
 
void updateDataFiles (Action, int idx, const char *newnme=0)
 

Protected Attributes

ObjectSet< DataInfodataset_
 
uiString errmsg_
 
const MultiIDfaultmid_
 
BufferString fltfullnm_
 
BufferStringSet selattribnames_
 
TypeSet< int > selected_
 

Detailed Description

Fault surface data.

<>

Member Enumeration Documentation

◆ Action

enum EM::FaultAuxData::Action
protected
Enumerator
Remove 
SetName 

Constructor & Destructor Documentation

◆ FaultAuxData() [1/2]

EM::FaultAuxData::FaultAuxData ( const Fault3D )

◆ FaultAuxData() [2/2]

EM::FaultAuxData::FaultAuxData ( const MultiID )

◆ ~FaultAuxData()

virtual EM::FaultAuxData::~FaultAuxData ( )
virtual

Member Function Documentation

◆ createFltDataName()

BufferString EM::FaultAuxData::createFltDataName ( const char *  base,
int  sdidx 
)
protected

◆ dataIndex()

int EM::FaultAuxData::dataIndex ( const char *  sdname) const

◆ errMsg()

uiString EM::FaultAuxData::errMsg ( ) const
inline

◆ getAuxDataList()

void EM::FaultAuxData::getAuxDataList ( BufferStringSet ) const

◆ init()

bool EM::FaultAuxData::init ( )

◆ loadData()

bool EM::FaultAuxData::loadData ( int  sdidx)
protected

◆ loadIfNotLoaded() [1/2]

const Array2D<float>* EM::FaultAuxData::loadIfNotLoaded ( const char *  sdname)

◆ loadIfNotLoaded() [2/2]

const Array2D<float>* EM::FaultAuxData::loadIfNotLoaded ( int  sdidx)

◆ readSDInfoFile()

void EM::FaultAuxData::readSDInfoFile ( ObjectSet< IOPar > &  )
protected

◆ removeAllData()

void EM::FaultAuxData::removeAllData ( )

◆ removeData() [1/2]

void EM::FaultAuxData::removeData ( const char *  sdname)

◆ removeData() [2/2]

void EM::FaultAuxData::removeData ( int  sdidx)

◆ renameFault()

void EM::FaultAuxData::renameFault ( const char *  fltnewname)

◆ selectedIndices()

const TypeSet<int>& EM::FaultAuxData::selectedIndices ( ) const
inline

◆ selectedNames()

const BufferStringSet& EM::FaultAuxData::selectedNames ( ) const
inline

◆ setData() [1/2]

int EM::FaultAuxData::setData ( const char *  sdname,
const Array2D< float > *  data,
OD::PtrPolicy   
)

◆ setData() [2/2]

void EM::FaultAuxData::setData ( int  sdidx,
const Array2D< float > *  ,
OD::PtrPolicy   
)

◆ setDataName() [1/2]

void EM::FaultAuxData::setDataName ( const char *  oldname,
const char *  newname 
)

◆ setDataName() [2/2]

void EM::FaultAuxData::setDataName ( int  sdidx,
const char *  newname 
)

◆ setSelected()

void EM::FaultAuxData::setSelected ( const TypeSet< int > &  sl)

◆ sKeyExtension()

const char* EM::FaultAuxData::sKeyExtension ( )
inlineprotected

◆ sKeyFaultAuxData()

const char* EM::FaultAuxData::sKeyFaultAuxData ( )
inlineprotected

◆ storeData()

bool EM::FaultAuxData::storeData ( int  sdidx,
bool  binary 
)

◆ updateDataFiles()

void EM::FaultAuxData::updateDataFiles ( Action  ,
int  idx,
const char *  newnme = 0 
)
protected

Member Data Documentation

◆ dataset_

ObjectSet<DataInfo> EM::FaultAuxData::dataset_
protected

◆ errmsg_

uiString EM::FaultAuxData::errmsg_
protected

◆ faultmid_

const MultiID& EM::FaultAuxData::faultmid_
protected

◆ fltfullnm_

BufferString EM::FaultAuxData::fltfullnm_
protected

◆ selattribnames_

BufferStringSet EM::FaultAuxData::selattribnames_
protected

◆ selected_

TypeSet<int> EM::FaultAuxData::selected_
protected

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