OpendTect
7.0
|
Flat Viewer using FlatView::Data and FlatView::Appearance. More...
Public Types | |
enum | DataChangeType { All =0xFFFFFFFF , BitmapData =0x0001 , DisplayPars =0x0002 , Annot =0x0004 , Auxdata =0x0008 } |
enum | VwrDest { WVA , VD , Both , None } |
Public Member Functions | |
Viewer () | |
virtual | ~Viewer () |
virtual void | addAuxData (AuxData *a)=0 |
void | addPack (::DataPackID) |
virtual Appearance & | appearance () |
const Appearance & | appearance () const |
const TypeSet< ::DataPackID > & | availablePacks () const |
void | clearAllPacks () |
virtual AuxData * | createAuxData (const char *nm) const =0 |
void | disableStatusBarUpdate () |
bool | enableChange (bool yn) |
Returns previous state. More... | |
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 |
WeakPtr< FlatDataPack > | getPack (bool wva, bool checkother=false) const |
ZAxisTransform * | getZAxisTransform () const |
virtual void | handleChange (unsigned int datachangetype)=0 |
bool | hasPack (bool wva) const |
bool | hasZAxisTransform () const |
bool | isAvailable (::DataPackID id) const |
virtual bool | isVertical () const |
bool | isVisible (bool wva) const |
bool | isVisible (VwrDest) const |
bool | needStatusBarUpdate () const |
virtual int | nrAuxData () const =0 |
int | nrDec () const |
const FlatDataPack * | obtainPack (bool wva, bool checkother=false) const |
DataPackID | 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 > &) |
virtual void | removePack (::DataPackID) |
Releases DataPack after removing from the list. More... | |
void | removePack (VwrDest) |
void | removeUnusedPacks () |
virtual void | setAnnotChoice (int selannot) |
void | setPack (bool wva, ::DataPackID id, bool usedefs=true) |
void | setPack (VwrDest, FlatDataPack *, bool usedefs=true) |
Sets datapack to use on either wva or vd or both. More... | |
void | setPack (VwrDest,::DataPackID, bool usedefs=true) |
void | setSeisGeomidsToViewer (TypeSet< Pos::GeomID > &) |
void | setVisible (bool wva, bool visibility) |
bool | setVisible (VwrDest, bool visibility, od_uint32 *ctype=nullptr) |
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, ::DataPackID id, bool usedefs=true) |
void | usePack (VwrDest,::DataPackID, bool usedefs=true) |
void | useStoredDefaults (const char *key) |
const ZDomain::Info & | zDomain () const |
Static Public Member Functions | |
static VwrDest | getDest (bool dowva, bool dovd) |
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 |
bool | shouldHandleChange () const |
Protected Attributes | |
FlatView_CB_Rcvr * | cbrcvr_ |
ZAxisTransform * | datatransform_ = nullptr |
Appearance * | defapp_ = nullptr |
DataPackMgr & | dpm_ |
TypeSet< ::DataPackID > | ids_ |
Threads::Lock | lock_ |
bool | needstatusbarupd_ = true |
ZDomain::Info * | zdinfo_ |
Private Attributes | |
bool | canhandlechange_ = true |
TypeSet< Pos::GeomID > | geom2dids_ |
WeakPtr< FlatDataPack > | vdpack_ = nullptr |
WeakPtr< FlatDataPack > | wvapack_ = nullptr |
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 or vd display or both 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 | ( | ::DataPackID | ) |
|
virtual |
|
inline |
|
inline |
void FlatView::Viewer::clearAllPacks | ( | ) |
|
pure virtual |
Implemented in uiFlatViewer, and visBase::FlatViewer.
|
inline |
bool FlatView::Viewer::enableChange | ( | bool | yn | ) |
Returns previous state.
|
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.
|
static |
WeakPtr<FlatDataPack> FlatView::Viewer::getPack | ( | bool | wva, |
bool | checkother = false |
||
) | const |
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. |
|
inline |
|
pure virtual |
datachangetype | can be any combination of DataChangeType. |
Implemented in uiFlatViewer.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
bool FlatView::Viewer::isVisible | ( | bool | wva | ) | const |
bool FlatView::Viewer::isVisible | ( | VwrDest | ) | 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 |
DataPackID 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.
|
virtual |
Releases DataPack after removing from the list.
Reimplemented in uiFlatViewer.
void FlatView::Viewer::removePack | ( | VwrDest | ) |
void FlatView::Viewer::removeUnusedPacks | ( | ) |
|
inlinevirtual |
Reimplemented in uiFlatViewer.
|
inline |
void FlatView::Viewer::setPack | ( | VwrDest | , |
FlatDataPack * | , | ||
bool | usedefs = true |
||
) |
Sets datapack to use on either wva or vd or both.
void FlatView::Viewer::setPack | ( | VwrDest | , |
::DataPackID | , | ||
bool | usedefs = true |
||
) |
void FlatView::Viewer::setSeisGeomidsToViewer | ( | TypeSet< Pos::GeomID > & | ) |
|
inline |
bool FlatView::Viewer::setVisible | ( | VwrDest | , |
bool | visibility, | ||
od_uint32 * | ctype = nullptr |
||
) |
Will also handleChange unless ctype is provided, So, do not use unless you want both. returns if handled
bool FlatView::Viewer::setZAxisTransform | ( | ZAxisTransform * | ) |
void FlatView::Viewer::setZDomain | ( | const ZDomain::Def & | ) |
|
inlineprotected |
|
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
|
inline |
void FlatView::Viewer::usePack | ( | VwrDest | , |
::DataPackID | , | ||
bool | usedefs = true |
||
) |
void FlatView::Viewer::useStoredDefaults | ( | const char * | key | ) |
const ZDomain::Info& FlatView::Viewer::zDomain | ( | ) | const |
|
private |
|
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-2024