OpenStructure
Public Slots | Public Member Functions
Argand Class Reference

#include <argand.hh>

Inherits QWidget, and DataObserver.

Public Slots

void SetCurrentPixel (const Point &p)
 
void SetExtent (const Extent &e)
 
void ClearExtent ()
 

Public Member Functions

 Argand (const ImageHandle &data, QWidget *p)
 
 ~Argand ()
 
virtual void paintEvent (QPaintEvent *e)
 
virtual void resizeEvent (QResizeEvent *e)
 
virtual void ObserverUpdate ()
 
virtual void ObserverUpdate (const Extent &e)
 
virtual void ObserverUpdate (const Point &p)
 
virtual void ObserverRelease ()
 
- Public Member Functions inherited from DataObserver
 DataObserver (const ImageHandle &d)
 
 DataObserver (const DataObserver &o)
 
DataObserveroperator= (const DataObserver &o)
 
virtual ~DataObserver ()
 
void ObserverInvalidate ()
 
virtual const ImageHandleGetObservedData () const
 
bool IsDataValid () const
 

Additional Inherited Members

- Protected Member Functions inherited from DataObserver
void SetObservedData (const ImageHandle &d)
 
bool is_valid () const
 

Detailed Description

Definition at line 40 of file argand.hh.

Constructor & Destructor Documentation

◆ Argand()

Argand ( const ImageHandle data,
QWidget *  p 
)

◆ ~Argand()

~Argand ( )

Member Function Documentation

◆ ClearExtent

void ClearExtent ( )
slot

◆ ObserverRelease()

virtual void ObserverRelease ( )
virtual

Called if data is released from memory.

Implements DataObserver.

◆ ObserverUpdate() [1/3]

virtual void ObserverUpdate ( )
virtual

called upon data change, noop by default

Reimplemented from DataObserver.

◆ ObserverUpdate() [2/3]

virtual void ObserverUpdate ( const Extent )
virtual

special update, calls ObserverUpdate() by default

Reimplemented from DataObserver.

◆ ObserverUpdate() [3/3]

virtual void ObserverUpdate ( const Point )
virtual

special update, calls ObserverUpdate() by default

Reimplemented from DataObserver.

◆ paintEvent()

virtual void paintEvent ( QPaintEvent *  e)
virtual

◆ resizeEvent()

virtual void resizeEvent ( QResizeEvent *  e)
virtual

◆ SetCurrentPixel

void SetCurrentPixel ( const Point p)
slot

◆ SetExtent

void SetExtent ( const Extent e)
slot

The documentation for this class was generated from the following file: