OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
uiBitMapDisplay Class Reference

Takes the flat-data from a FlatViewer and puts it into a uiGraphicsItem. More...

Inheritance diagram for uiBitMapDisplay:
[legend]

Public Member Functions

 uiBitMapDisplay (FlatView::Appearance &, bool withalpha=true)
 
 ~uiBitMapDisplay ()
 
void update ()
 
uiGraphicsItem * getDisplay ()
 
void removeDisplay ()
 
void setOverlap (float v)
 
float getOverlap () const
 
Interval< float > getDataRange (bool iswva) const
 
const uiWorldRectboundingBox () const
 
void setBoundingBox (const uiWorldRect &)
 
void setDataPack (const FlatDataPack *, bool wva)
 
- 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...
 

Public Attributes

Notifier< uiBitMapDisplayrangeUpdated
 

Private Member Functions

void reGenerateCB (CallBacker *)
 
void dynamicTaskFinishCB (CallBacker *)
 
TaskcreateDynamicTask (bool issnapshot)
 
bool isVisible (bool wva) const
 
StepInterval< double > getDataPackRange (bool wva, bool x1) const
 
uiWorldRect getBoundingBox (bool wva) const
 

Private Attributes

FlatView::Appearanceappearance_
 
ConstDataPackRef< FlatDataPackwvapack_
 
ConstDataPackRef< FlatDataPackvdpack_
 
uiWorldRect boundingbox_
 
float overlap_
 
int workqueueid_
 
bool withalpha_
 
uiDynamicImageItemdisplay_
 
uiBitMapDisplayTask * basetask_
 
CallBack finishedcb_
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

Takes the flat-data from a FlatViewer and puts it into a uiGraphicsItem.

Constructor & Destructor Documentation

uiBitMapDisplay::uiBitMapDisplay ( FlatView::Appearance ,
bool  withalpha = true 
)
uiBitMapDisplay::~uiBitMapDisplay ( )

Member Function Documentation

const uiWorldRect& uiBitMapDisplay::boundingBox ( ) const
Task* uiBitMapDisplay::createDynamicTask ( bool  issnapshot)
private
void uiBitMapDisplay::dynamicTaskFinishCB ( CallBacker )
private
uiWorldRect uiBitMapDisplay::getBoundingBox ( bool  wva) const
private
StepInterval<double> uiBitMapDisplay::getDataPackRange ( bool  wva,
bool  x1 
) const
private
Interval<float> uiBitMapDisplay::getDataRange ( bool  iswva) const
uiGraphicsItem* uiBitMapDisplay::getDisplay ( )
float uiBitMapDisplay::getOverlap ( ) const
inline
bool uiBitMapDisplay::isVisible ( bool  wva) const
private
void uiBitMapDisplay::reGenerateCB ( CallBacker )
private
void uiBitMapDisplay::removeDisplay ( )
void uiBitMapDisplay::setBoundingBox ( const uiWorldRect )
void uiBitMapDisplay::setDataPack ( const FlatDataPack ,
bool  wva 
)
void uiBitMapDisplay::setOverlap ( float  v)
inline

If overlap is more than 0, a larger dynamic image than requested will be made. The result is that smaller pan/zoom movements will still be covered by the dynamic image. An overlap of 1 means 1 with will be added in each direction, giving an image that is 9 times as large.

void uiBitMapDisplay::update ( )

Member Data Documentation

FlatView::Appearance& uiBitMapDisplay::appearance_
private
uiBitMapDisplayTask* uiBitMapDisplay::basetask_
private
uiWorldRect uiBitMapDisplay::boundingbox_
private
uiDynamicImageItem* uiBitMapDisplay::display_
private
CallBack uiBitMapDisplay::finishedcb_
private
float uiBitMapDisplay::overlap_
private
Notifier<uiBitMapDisplay> uiBitMapDisplay::rangeUpdated
ConstDataPackRef<FlatDataPack> uiBitMapDisplay::vdpack_
private
bool uiBitMapDisplay::withalpha_
private
int uiBitMapDisplay::workqueueid_
private
ConstDataPackRef<FlatDataPack> uiBitMapDisplay::wvapack_
private

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