![]() |
OpendTect
6.3
|
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 Appearance & | appearance () |
| const Appearance & | appearance () const |
| ZAxisTransform * | getZAxisTransform () const |
| bool | setZAxisTransform (ZAxisTransform *) |
| bool | hasZAxisTransform () const |
| void | setZDomain (const ZDomain::Def &) |
| const ZDomain::Info & | zDomain () const |
| void | addPack (::DataPack::ID) |
| void | usePack (bool wva,::DataPack::ID, bool usedefs=true) |
| Does not add new packs, just selects from added. More... | |
| void | removePack (::DataPack::ID) |
| Releases DataPack after removing from the list. More... | |
| void | setPack (bool wva,::DataPack::ID id, bool usedefs=true) |
| void | clearAllPacks () |
| ConstRefMan< FlatDataPack > | getPack (bool wva, bool checkother=false) const |
| bool | hasPack (bool wva) const |
| DataPack::ID | packID (bool wva) const |
| const TypeSet< ::DataPack::ID > & | availablePacks () const |
| virtual bool | isVertical () const |
| bool | isVisible (bool wva) const |
| void | setVisible (bool wva, bool visibility) |
| Coord3 | getCoord (const Point &) const |
| virtual void | handleChange (unsigned int datachangetype)=0 |
| virtual void | fillAppearancePar (IOPar &iop) const |
| Does not store any data, just how data is displayed. More... | |
| virtual void | useAppearancePar (const IOPar &iop) |
| void | storeDefaults (const char *key) const |
| void | useStoredDefaults (const char *key) |
| void | getAuxInfo (const Point &, IOPar &) const |
| virtual void | showAuxDataObjects (AuxData &, bool) |
| virtual void | updateProperties (const AuxData &) |
| virtual void | reGenerate (AuxData &) |
| virtual void | remove (const AuxData &) |
| StepInterval< double > | getDataPackRange (bool forx1) const |
| virtual Interval< float > | getDataRange (bool wva) const |
| virtual AuxData * | createAuxData (const char *nm) const =0 |
| virtual int | nrAuxData () const =0 |
| virtual AuxData * | getAuxData (int idx)=0 |
| virtual const AuxData * | getAuxData (int idx) const =0 |
| virtual void | addAuxData (AuxData *a)=0 |
| virtual AuxData * | removeAuxData (AuxData *a)=0 |
| virtual AuxData * | removeAuxData (int idx)=0 |
| void | removeAuxDatas (ObjectSet< AuxData > &) |
| void | removeAllAuxData () |
| virtual void | setAnnotChoice (int selannot) |
| virtual int | getAnnotChoice (BufferStringSet &) const |
| void | enableStatusBarUpdate () |
| void | disableStatusBarUpdate () |
| bool | needStatusBarUpdate () const |
| void | setSeisGeomidsToViewer (TypeSet< Pos::GeomID > &) |
| const TypeSet< Pos::GeomID > & | getAllSeisGeomids () const |
| mDeprecated const FlatDataPack * | obtainPack (bool wva, bool checkother=false) const |
Protected Member Functions | |
| void | addAuxInfo (bool, const Point &, IOPar &) const |
Protected Attributes | |
| TypeSet< ::DataPack::ID > | ids_ |
| Appearance * | defapp_ |
| DataPackMgr & | dpm_ |
| ZAxisTransform * | datatransform_ |
| ZDomain::Info * | zdinfo_ |
| FlatView_CB_Rcvr * | cbrcvr_ |
| Threads::Lock | lock_ |
| bool | needstatusbarupd_ |
Private Attributes | |
| WeakPtr< FlatDataPack > | wvapack_ |
| WeakPtr< FlatDataPack > | vdpack_ |
| TypeSet< Pos::GeomID > | geom2dids_ |
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 uiFlatViewer, and visBase::FlatViewer.
| void FlatView::Viewer::addPack | ( | ::DataPack::ID | ) |
|
virtual |
|
inline |
|
inline |
| void FlatView::Viewer::clearAllPacks | ( | ) |
|
pure virtual |
Implemented in uiFlatViewer, and visBase::FlatViewer.
|
inline |
|
inline |
|
inlinevirtual |
Does not store any data, just how data is displayed.
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in uiFlatViewer, and visBase::FlatViewer.
|
pure virtual |
Implemented in uiFlatViewer, and visBase::FlatViewer.
| StepInterval<double> FlatView::Viewer::getDataPackRange | ( | bool | forx1 | ) | const |
|
virtual |
Reimplemented in visBase::FlatViewer.
| ConstRefMan<FlatDataPack> FlatView::Viewer::getPack | ( | bool | wva, |
| bool | checkother = false |
||
| ) | const |
|
inline |
|
pure virtual |
| datachangetype | can be any combination of DataChangeType. |
Implemented in uiFlatViewer, and visBase::FlatViewer.
|
inline |
|
inline |
|
inlinevirtual |
| bool FlatView::Viewer::isVisible | ( | bool | wva | ) | const |
|
inline |
|
pure virtual |
Implemented in uiFlatViewer, and visBase::FlatViewer.
| mDeprecated 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 ConstRefMan which releases the DataPack in its destructor.
| 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 uiFlatViewer, and visBase::FlatViewer.
|
pure virtual |
Implemented in uiFlatViewer, and visBase::FlatViewer.
| 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 |
| 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. 2017