Flat Viewer using FlatView::Data and FlatView::Appearance.
More...
List of all members.
Public Types |
| enum | DataChangeType {
None,
All,
Annot,
WVAData,
VDData,
WVAPars,
VDPars
} |
Public Member Functions |
| | Viewer () |
| virtual | ~Viewer () |
| virtual Appearance & | appearance () |
| const Appearance & | appearance () const |
| void | addPack (::DataPack::ID, bool observe=false) |
| | Adds to list, but doesn't use for WVA or VD.
|
| void | usePack (bool wva,::DataPack::ID, bool usedefs=true) |
| | Does not add new packs, just selects from added.
|
| void | removePack (::DataPack::ID) |
| void | setPack (bool wva,::DataPack::ID id, bool obs, bool usedefs=true) |
| const FlatDataPack * | pack (bool wva) const |
| DataPack::ID | packID (bool wva) const |
| const TypeSet< ::DataPack::ID > & | availablePacks () const |
| virtual bool | isVertical () const |
| bool | isVisible (bool wva) const |
| | Depends on show_ and availability of data.
|
| virtual void | handleChange (DataChangeType, bool dofill=true)=0 |
| virtual void | fillAppearancePar (IOPar &iop) const |
| | Does not store any data, just how data is displayed.
|
| 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 (Annotation::AuxData &, bool) |
| virtual void | updateProperties (const Annotation::AuxData &) |
| virtual void | reGenerate (Annotation::AuxData &) |
| virtual void | remove (const Annotation::AuxData &) |
| virtual Interval< float > | getDataRange (bool) const |
Protected Member Functions |
| void | addAuxInfo (bool, const Point &, IOPar &) const |
Protected Attributes |
| TypeSet< ::DataPack::ID > | ids_ |
| BoolTypeSet | obs_ |
| const FlatDataPack * | wvapack_ |
| const FlatDataPack * | vdpack_ |
| Appearance * | defapp_ |
| DataPackMgr & | dpm_ |
| FlatView_CB_Rcvr * | cbrcvr_ |
Detailed Description
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. If you pass the data pack in observe mode, the viewer will not release the pack when it's deleted or when removePack is called for the pack.
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.
Member Enumeration Documentation
- Enumerator:
| None |
|
| All |
|
| Annot |
|
| WVAData |
|
| VDData |
|
| WVAPars |
|
| VDPars |
|
Constructor & Destructor Documentation
| FlatView::Viewer::Viewer |
( |
|
) |
|
| virtual FlatView::Viewer::~Viewer |
( |
|
) |
[virtual] |
Member Function Documentation
| void FlatView::Viewer::addAuxInfo |
( |
bool |
, |
|
|
const Point & |
, |
|
|
IOPar & |
| |
|
) |
| | const [protected] |
| void FlatView::Viewer::addPack |
( |
::DataPack::ID |
, |
|
|
bool |
observe = false | |
|
) |
| | |
Adds to list, but doesn't use for WVA or VD.
| const Appearance& FlatView::Viewer::appearance |
( |
|
) |
const [inline] |
| virtual Appearance& FlatView::Viewer::appearance |
( |
|
) |
[virtual] |
| virtual void FlatView::Viewer::fillAppearancePar |
( |
IOPar & |
iop |
) |
const [inline, virtual] |
Does not store any data, just how data is displayed.
| void FlatView::Viewer::getAuxInfo |
( |
const Point & |
, |
|
|
IOPar & |
| |
|
) |
| | const |
| virtual Interval<float> FlatView::Viewer::getDataRange |
( |
bool |
|
) |
const [inline, virtual] |
| virtual void FlatView::Viewer::handleChange |
( |
DataChangeType |
, |
|
|
bool |
dofill = true | |
|
) |
| | [pure virtual] |
| virtual bool FlatView::Viewer::isVertical |
( |
|
) |
const [inline, virtual] |
| bool FlatView::Viewer::isVisible |
( |
bool |
wva |
) |
const |
Depends on show_ and availability of data.
| const FlatDataPack* FlatView::Viewer::pack |
( |
bool |
wva |
) |
const [inline] |
| DataPack::ID FlatView::Viewer::packID |
( |
bool |
wva |
) |
const [inline] |
| void FlatView::Viewer::setPack |
( |
bool |
wva, |
|
|
::DataPack::ID |
id, |
|
|
bool |
obs, |
|
|
bool |
usedefs = true | |
|
) |
| | [inline] |
| virtual void FlatView::Viewer::showAuxDataObjects |
( |
Annotation::AuxData & |
, |
|
|
bool |
| |
|
) |
| | [inline, virtual] |
| void FlatView::Viewer::storeDefaults |
( |
const char * |
key |
) |
const |
| virtual void FlatView::Viewer::updateProperties |
( |
const Annotation::AuxData & |
|
) |
[inline, virtual] |
| virtual void FlatView::Viewer::useAppearancePar |
( |
const IOPar & |
iop |
) |
[inline, virtual] |
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 |
) |
|
Member Data Documentation