OpendTect  6.6
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 ()
 
const uiWorldRectboundingBox () const
 
Interval< float > getDataRange (bool iswva) const
 
uiGraphicsItemgetDisplay ()
 
float getOverlap () const
 
void removeDisplay ()
 
void setBoundingBox (const uiWorldRect &)
 
void setDataPack (const FlatDataPack *, bool wva)
 
void setOverlap (float v)
 
void update ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Public Attributes

Notifier< uiBitMapDisplayrangeUpdated
 

Private Member Functions

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

Private Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

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

<>

Constructor & Destructor Documentation

◆ uiBitMapDisplay()

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

◆ ~uiBitMapDisplay()

uiBitMapDisplay::~uiBitMapDisplay ( )

Member Function Documentation

◆ boundingBox()

const uiWorldRect& uiBitMapDisplay::boundingBox ( ) const

◆ createDynamicTask()

Task* uiBitMapDisplay::createDynamicTask ( bool  issnapshot)
private

◆ dynamicTaskFinishCB()

void uiBitMapDisplay::dynamicTaskFinishCB ( CallBacker )
private

◆ getBoundingBox()

uiWorldRect uiBitMapDisplay::getBoundingBox ( bool  wva) const
private

◆ getDataPackRange()

StepInterval<double> uiBitMapDisplay::getDataPackRange ( bool  wva,
bool  x1 
) const
private

◆ getDataRange()

Interval<float> uiBitMapDisplay::getDataRange ( bool  iswva) const

◆ getDisplay()

uiGraphicsItem* uiBitMapDisplay::getDisplay ( )

◆ getOverlap()

float uiBitMapDisplay::getOverlap ( ) const
inline

◆ isVisible()

bool uiBitMapDisplay::isVisible ( bool  wva) const
private

◆ reGenerateCB()

void uiBitMapDisplay::reGenerateCB ( CallBacker )
private

◆ removeDisplay()

void uiBitMapDisplay::removeDisplay ( )

◆ setBoundingBox()

void uiBitMapDisplay::setBoundingBox ( const uiWorldRect )

◆ setDataPack()

void uiBitMapDisplay::setDataPack ( const FlatDataPack ,
bool  wva 
)

◆ setOverlap()

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.

◆ snapshotFinishedCB()

void uiBitMapDisplay::snapshotFinishedCB ( CallBacker )
private

◆ update()

void uiBitMapDisplay::update ( )

Member Data Documentation

◆ appearance_

FlatView::Appearance& uiBitMapDisplay::appearance_
private

◆ basetask_

uiBitMapDisplayTask* uiBitMapDisplay::basetask_
private

◆ boundingbox_

uiWorldRect uiBitMapDisplay::boundingbox_
private

◆ display_

uiDynamicImageItem* uiBitMapDisplay::display_
private

◆ finishedcb_

CallBack uiBitMapDisplay::finishedcb_
private

◆ overlap_

float uiBitMapDisplay::overlap_
private

◆ rangeUpdated

Notifier<uiBitMapDisplay> uiBitMapDisplay::rangeUpdated

◆ vdpack_

ConstDataPackRef<FlatDataPack> uiBitMapDisplay::vdpack_
private

◆ withalpha_

bool uiBitMapDisplay::withalpha_
private

◆ workqueueid_

int uiBitMapDisplay::workqueueid_
private

◆ wvapack_

ConstDataPackRef<FlatDataPack> uiBitMapDisplay::wvapack_
private

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