OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( const ImageHandle data,
QWidget *  p 
)
~Argand ( )

Member Function Documentation

void ClearExtent ( )
slot
virtual void ObserverRelease ( )
virtual

Called if data is released from memory.

Implements DataObserver.

virtual void ObserverUpdate ( )
virtual

called upon data change, noop by default

Reimplemented from DataObserver.

virtual void ObserverUpdate ( const Extent )
virtual

special update, calls ObserverUpdate() by default

Reimplemented from DataObserver.

virtual void ObserverUpdate ( const Point )
virtual

special update, calls ObserverUpdate() by default

Reimplemented from DataObserver.

virtual void paintEvent ( QPaintEvent *  e)
virtual
virtual void resizeEvent ( QResizeEvent *  e)
virtual
void SetCurrentPixel ( const Point p)
slot
void SetExtent ( const Extent e)
slot

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