OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
MapDataPack Class Reference

DataPack for 2D data to be plotted on a Map. More...

Inheritance diagram for MapDataPack:
[legend]

Public Member Functions

 MapDataPack (const char *cat, Array2D< float > *)
 
 ~MapDataPack ()
 
Array2D< float > & data ()
 
FlatPosDataposData ()
 
const Array2D< float > & rawData () const
 
const FlatPosDatarawPosData () const
 
void setDimNames (const char *, const char *, bool forxy)
 
const char * dimName (bool dim0) const
 Alternatively, it can be in Inl/Crl. More...
 
bool posDataIsCoord () const
 
void setPosCoord (bool yn)
 int,int = Array2D position More...
 
virtual void getAuxInfo (int idim0, int idim1, IOPar &) const
 
void setProps (StepInterval< double > inlrg, StepInterval< double > crlrg, bool, BufferStringSet *)
 
void initXYRotArray (TaskRunner *=0)
 
void setRange (StepInterval< double > dim0rg, StepInterval< double > dim1rg, bool forxy)
 
- Public Member Functions inherited from FlatDataPack
 FlatDataPack (const char *categry, Array2D< float > *)
 Array2D become mine (of course) More...
 
 FlatDataPack (const FlatDataPack &)
 
 ~FlatDataPack ()
 
const Array2D< float > & data () const
 
virtual float getPosDistance (bool dim0, float posfidx) const
 
const FlatPosDataposData () const
 
virtual Coord3 getCoord (int, int) const
 
virtual void getAltDim0Keys (BufferStringSet &) const
 First one is 'default'. More...
 
virtual double getAltDim0Value (int ikey, int idim0) const
 
virtual bool dimValuesInInt (const char *key) const
 
virtual float nrKBytes () const
 
virtual void dumpInfo (IOPar &) const
 
virtual int size (bool dim0) const
 
- Public Member Functions inherited from DataPack
 DataPack (const char *categry)
 
 DataPack (const DataPack &dp)
 
virtual ~DataPack ()
 
ID id () const
 
FullID fullID (int mgrid) const
 
virtual const char * category () const
 
virtual bool isOK () const
 
Threads::LockupdateLock () const
 
void release ()
 
DataPackobtain ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Protected Member Functions

float getValAtIdx (int, int) const
 
- Protected Member Functions inherited from FlatDataPack
 FlatDataPack (const char *category)
 
- Protected Member Functions inherited from DataPack
void setManager (const DataPackMgr *)
 
void setCategory (const char *c)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

Array2D< float > * xyrotarr2d_
 
FlatPosDataxyrotposdata_
 
bool isposcoord_
 
TypeSet< BufferStringaxeslbls_
 
Threads::Lock initlock_
 
- Protected Attributes inherited from FlatDataPack
Array2D< float > * arr2d_
 
FlatPosDataposdata_
 
- Protected Attributes inherited from DataPack
const ID id_
 
const BufferString category_
 
int nrusers_
 
Threads::Lock nruserslock_
 
Threads::Lock updatelock_
 
const DataPackMgrmanager_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Friends

class MapDataPackXYRotater
 

Additional Inherited Members

- Public Types inherited from DataPack
typedef int ID
 
typedef MultiID FullID
 
- Static Public Member Functions inherited from DataPack
static ID getID (const FullID &fid)
 
static const char * sKeyCategory ()
 
static ID cNoID ()
 
- Static Protected Member Functions inherited from DataPack
static ID getNewID ()
 ensures a global data pack ID More...
 
static float sKb2MbFac ()
 1 / 1024 More...
 

Detailed Description

DataPack for 2D data to be plotted on a Map.

Constructor & Destructor Documentation

MapDataPack::MapDataPack ( const char *  cat,
Array2D< float > *   
)
MapDataPack::~MapDataPack ( )

Member Function Documentation

Array2D<float>& MapDataPack::data ( )
virtual

Reimplemented from FlatDataPack.

const char* MapDataPack::dimName ( bool  dim0) const
virtual

Alternatively, it can be in Inl/Crl.

Reimplemented from FlatDataPack.

virtual void MapDataPack::getAuxInfo ( int  idim0,
int  idim1,
IOPar  
) const
virtual

Reimplemented from FlatDataPack.

float MapDataPack::getValAtIdx ( int  ,
int   
) const
protected
void MapDataPack::initXYRotArray ( TaskRunner = 0)
FlatPosData& MapDataPack::posData ( )
virtual

Reimplemented from FlatDataPack.

bool MapDataPack::posDataIsCoord ( ) const
inlinevirtual

Reimplemented from FlatDataPack.

const Array2D<float>& MapDataPack::rawData ( ) const
inline
const FlatPosData& MapDataPack::rawPosData ( ) const
inline
void MapDataPack::setDimNames ( const char *  ,
const char *  ,
bool  forxy 
)
void MapDataPack::setPosCoord ( bool  yn)

int,int = Array2D position

void MapDataPack::setProps ( StepInterval< double >  inlrg,
StepInterval< double >  crlrg,
bool  ,
BufferStringSet  
)
void MapDataPack::setRange ( StepInterval< double >  dim0rg,
StepInterval< double >  dim1rg,
bool  forxy 
)

Friends And Related Function Documentation

friend class MapDataPackXYRotater
friend

Member Data Documentation

TypeSet<BufferString> MapDataPack::axeslbls_
protected
Threads::Lock MapDataPack::initlock_
protected
bool MapDataPack::isposcoord_
protected
Array2D<float>* MapDataPack::xyrotarr2d_
protected
FlatPosData& MapDataPack::xyrotposdata_
protected

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