OpendTect
6.6
|
Flat Viewer using FlatView::Data and FlatView::Appearance. More...
Public Types | |
enum | DataChangeType { All =0xFFFFFFFF , BitmapData =0x0001 , DisplayPars =0x0002 , Annot =0x0004 , Auxdata =0x0008 } |
Public Member Functions | |
Viewer () | |
virtual | ~Viewer () |
virtual void | addAuxData (AuxData *a)=0 |
void | addPack (::DataPack::ID) |
virtual Appearance & | appearance () |
const Appearance & | appearance () const |
const TypeSet< ::DataPack::ID > & | availablePacks () const |
void | clearAllPacks () |
virtual AuxData * | createAuxData (const char *nm) const =0 |
void | disableStatusBarUpdate () |
void | enableStatusBarUpdate () |
virtual void | fillAppearancePar (IOPar &iop) const |
Does not store any data, just how data is displayed. More... | |
const TypeSet< Pos::GeomID > & | getAllSeisGeomids () const |
virtual int | getAnnotChoice (BufferStringSet &) const |
virtual const AuxData * | getAuxData (int idx) const =0 |
virtual AuxData * | getAuxData (int idx)=0 |
void | getAuxInfo (const Point &, IOPar &) const |
Coord3 | getCoord (const Point &) const |
StepInterval< double > | getDataPackRange (bool forx1) const |
virtual Interval< float > | getDataRange (bool wva) const |
ZAxisTransform * | getZAxisTransform () const |
virtual void | handleChange (unsigned int datachangetype)=0 |
bool | hasPack (bool wva) const |
bool | hasZAxisTransform () const |
virtual bool | isVertical () const |
bool | isVisible (bool wva) const |
bool | needStatusBarUpdate () const |
virtual int | nrAuxData () const =0 |
int | nrDec () const |
const FlatDataPack * | obtainPack (bool wva, bool checkother=false) const |
DataPack::ID | packID (bool wva) const |
virtual void | reGenerate (AuxData &) |
virtual void | remove (const AuxData &) |
void | removeAllAuxData () |
virtual AuxData * | removeAuxData (AuxData *a)=0 |
virtual AuxData * | removeAuxData (int idx)=0 |
void | removeAuxDatas (ObjectSet< AuxData > &) |
void | removePack (::DataPack::ID) |
Releases DataPack after removing from the list. More... | |
virtual void | setAnnotChoice (int selannot) |
void | setPack (bool wva,::DataPack::ID id, bool usedefs=true) |
void | setSeisGeomidsToViewer (TypeSet< Pos::GeomID > &) |
void | setVisible (bool wva, bool visibility) |
bool | setZAxisTransform (ZAxisTransform *) |
void | setZDomain (const ZDomain::Def &) |
virtual void | showAuxDataObjects (AuxData &, bool) |
void | storeDefaults (const char *key) const |
virtual void | updateProperties (const AuxData &) |
virtual void | useAppearancePar (const IOPar &iop) |
void | usePack (bool wva,::DataPack::ID, bool usedefs=true) |
Does not add new packs, just selects from added. More... | |
void | useStoredDefaults (const char *key) |
const ZDomain::Info & | zDomain () const |
Static Public Member Functions | |
static const char * | sKeyIsZSlice () |
static const char * | sKeyVDData () |
static const char * | sKeyVDVal () |
static const char * | sKeyViewZnrDec () |
static const char * | sKeyWVAData () |
static const char * | sKeyWVAVal () |
Protected Member Functions | |
void | addAuxInfo (bool, const Point &, IOPar &) const |
Protected Attributes | |
FlatView_CB_Rcvr * | cbrcvr_ |
ZAxisTransform * | datatransform_ |
Appearance * | defapp_ |
DataPackMgr & | dpm_ |
TypeSet< ::DataPack::ID > | ids_ |
Threads::Lock | lock_ |
bool | needstatusbarupd_ |
ZDomain::Info * | zdinfo_ |
Private Attributes | |
TypeSet< Pos::GeomID > | geom2dids_ |
const FlatDataPack * | vdpack_ |
const FlatDataPack * | wvapack_ |
Flat Viewer using FlatView::Data and FlatView::Appearance.
Interface for displaying data and related annotations where at least one of the directions is sampled regularly.
The viewer works with FlatDataPacks - period. in previous versions, you could pass 'loose' data but DataPacks are so neat&clean we got rid of this possibility.
You can attach many datapacks to the viewer; the different modes (WVA, VD) can be attached to zero or one of those packs.
addPack() -> add a DataPack to the list of available data packs usePack() -> sets one of the available packs for wva of vd display setPack() -> Combination of addPack and usePack. removePack() -> removes this pack from the available packs, if necessary it also clears the wva or vd display to no display.
<>
FlatView::Viewer::Viewer | ( | ) |
|
virtual |
|
pure virtual |
Implemented in visBase::FlatViewer, and uiFlatViewer.
void FlatView::Viewer::addPack | ( | ::DataPack::ID | ) |
|
virtual |
|
inline |
|
inline |
void FlatView::Viewer::clearAllPacks | ( | ) |
|
pure virtual |
Implemented in visBase::FlatViewer, and uiFlatViewer.
|
inline |
|
inline |
|
inlinevirtual |
Does not store any data, just how data is displayed.
const TypeSet<Pos::GeomID>& FlatView::Viewer::getAllSeisGeomids | ( | ) | const |
|
inlinevirtual |
|
pure virtual |
Implemented in visBase::FlatViewer, and uiFlatViewer.
|
pure virtual |
Implemented in visBase::FlatViewer, and uiFlatViewer.
StepInterval<double> FlatView::Viewer::getDataPackRange | ( | bool | forx1 | ) | const |
|
virtual |
Reimplemented in visBase::FlatViewer.
|
inline |
|
pure virtual |
datachangetype | can be any combination of DataChangeType. |
Implemented in visBase::FlatViewer, and uiFlatViewer.
|
inline |
|
inline |
|
inlinevirtual |
bool FlatView::Viewer::isVisible | ( | bool | wva | ) | const |
|
inline |
|
pure virtual |
Implemented in visBase::FlatViewer, and uiFlatViewer.
int FlatView::Viewer::nrDec | ( | ) | const |
const FlatDataPack* FlatView::Viewer::obtainPack | ( | bool | wva, |
bool | checkother = false |
||
) | const |
Obtains DataPack before returning the pointer. Has to be released after it is used. For convenience use ConstDataPackRef which releases the DataPack in its destructor.
wva | if true, wiggle, else variable density |
checkother | if true, the datapack of other display (i.e. variable density or wiggles) is returned if the specified display has no datapack. |
DataPack::ID FlatView::Viewer::packID | ( | bool | wva | ) | const |
|
inlinevirtual |
Reimplemented in uiFlatViewer.
|
inlinevirtual |
void FlatView::Viewer::removeAllAuxData | ( | ) |
Implemented in visBase::FlatViewer, and uiFlatViewer.
|
pure virtual |
Implemented in visBase::FlatViewer, and uiFlatViewer.
void FlatView::Viewer::removePack | ( | ::DataPack::ID | ) |
Releases DataPack after removing from the list.
|
inlinevirtual |
Reimplemented in uiFlatViewer.
|
inline |
void FlatView::Viewer::setSeisGeomidsToViewer | ( | TypeSet< Pos::GeomID > & | ) |
void FlatView::Viewer::setVisible | ( | bool | wva, |
bool | visibility | ||
) |
Will also handleChange. So, do not use unless you want both.
bool FlatView::Viewer::setZAxisTransform | ( | ZAxisTransform * | ) |
void FlatView::Viewer::setZDomain | ( | const ZDomain::Def & | ) |
|
inlinevirtual |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void FlatView::Viewer::storeDefaults | ( | const char * | key | ) | const |
|
inlinevirtual |
|
inlinevirtual |
Does not retrieve any data, just how data is displayed
void FlatView::Viewer::usePack | ( | bool | wva, |
::DataPack::ID | , | ||
bool | usedefs = true |
||
) |
Does not add new packs, just selects from added.
void FlatView::Viewer::useStoredDefaults | ( | const char * | key | ) |
const ZDomain::Info& FlatView::Viewer::zDomain | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
mutableprotected |
|
protected |
|
private |
|
private |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022