OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ODGraphicsDynamicImageItem Class Reference
Inheritance diagram for ODGraphicsDynamicImageItem:
[legend]

Public Member Functions

 ODGraphicsDynamicImageItem ()
 
QRectF boundingRect () const
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *)
 
void setImage (bool isdynamic, const QImage &, const QRectF &)
 
bool updateResolution (const QPainter *)
 
const QRectF & wantedWorldRect () const
 
const QSize & wantedScreenSize () const
 
virtual int type () const
 
bool isSnapshot () const
 
- 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< ODGraphicsDynamicImageItemwantsData
 

Protected Member Functions

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

Protected Attributes

QRectF wantedwr_
 
QSize wantedscreensz_
 
QMutex imagelock_
 
QWaitCondition imagecond_
 
bool updatedynpixmap_
 
QImage dynamicimage_
 
QRectF dynamicimagebbox_
 
bool dynamicrev_ [2]
 
bool updatebasepixmap_
 
QImage baseimage_
 
QRectF bbox_
 
bool baserev_ [2]
 
bool issnapshot_
 
PtrMan< QPixmap > basepixmap_
 
PtrMan< QPixmap > dynamicpixmap_
 
QRectF dynamicpixmapbbox_
 

Constructor & Destructor Documentation

ODGraphicsDynamicImageItem::ODGraphicsDynamicImageItem ( )

Member Function Documentation

QRectF ODGraphicsDynamicImageItem::boundingRect ( ) const
inline
bool ODGraphicsDynamicImageItem::isSnapshot ( ) const

If set during a wantsData trigger, the delivered image must be of same size as requested image.

virtual void ODGraphicsDynamicImageItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
protectedvirtual
void ODGraphicsDynamicImageItem::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
void ODGraphicsDynamicImageItem::setImage ( bool  isdynamic,
const QImage &  ,
const QRectF &   
)
virtual int ODGraphicsDynamicImageItem::type ( ) const
inlinevirtual
bool ODGraphicsDynamicImageItem::updateResolution ( const QPainter *  )
const QSize& ODGraphicsDynamicImageItem::wantedScreenSize ( ) const
const QRectF& ODGraphicsDynamicImageItem::wantedWorldRect ( ) const

Member Data Documentation

QImage ODGraphicsDynamicImageItem::baseimage_
protected
PtrMan<QPixmap> ODGraphicsDynamicImageItem::basepixmap_
protected
bool ODGraphicsDynamicImageItem::baserev_[2]
protected
QRectF ODGraphicsDynamicImageItem::bbox_
protected
QImage ODGraphicsDynamicImageItem::dynamicimage_
protected
QRectF ODGraphicsDynamicImageItem::dynamicimagebbox_
protected
PtrMan<QPixmap> ODGraphicsDynamicImageItem::dynamicpixmap_
protected
QRectF ODGraphicsDynamicImageItem::dynamicpixmapbbox_
protected
bool ODGraphicsDynamicImageItem::dynamicrev_[2]
protected
QWaitCondition ODGraphicsDynamicImageItem::imagecond_
protected
QMutex ODGraphicsDynamicImageItem::imagelock_
protected
bool ODGraphicsDynamicImageItem::issnapshot_
protected
bool ODGraphicsDynamicImageItem::updatebasepixmap_
protected
bool ODGraphicsDynamicImageItem::updatedynpixmap_
protected
QSize ODGraphicsDynamicImageItem::wantedscreensz_
protected
QRectF ODGraphicsDynamicImageItem::wantedwr_
protected
Notifier<ODGraphicsDynamicImageItem> ODGraphicsDynamicImageItem::wantsData

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