This class handles casting of Blitz++ Arrays to and from Qt objects. More...
#include <DGVBlitzArrayCaster.h>

| Public Member Functions | |
| DGVBlitzArrayCaster () | |
| virtual | ~DGVBlitzArrayCaster () | 
| QImage * | arrayToQImage (const Array< type, 2 > &data) | 
| void | QImageToArray (QImage *image, Array< type, 2 > &newArray) | 
| type | getMin () | 
| type | getMax () | 
| type | getMean () | 
| Protected Attributes | |
| type | min | 
| Minimum image value. | |
| type | max | 
| Maximum image value. | |
| type | mean | 
| Mean image value. | |
This class handles casting of Blitz++ Arrays to and from Qt objects.
Casts from and to Blitz++ Arrays and QImage objects. Stores the min, max and mean of the data also.
Definition at line 37 of file DGVBlitzArrayCaster.h.
| DGVBlitzArrayCaster< type >::DGVBlitzArrayCaster | ( | ) | 
Definition at line 60 of file DGVBlitzArrayCaster.h.
| DGVBlitzArrayCaster< type >::~DGVBlitzArrayCaster | ( | ) |  [virtual] | 
Definition at line 66 of file DGVBlitzArrayCaster.h.
| QImage * DGVBlitzArrayCaster< type >::arrayToQImage | ( | const Array< type, 2 > & | data | ) | 
Find Max
Set colour table
Scale values if required
Scaling is required
Copy across normally
Definition at line 72 of file DGVBlitzArrayCaster.h.
| type DGVBlitzArrayCaster< type >::getMax | ( | ) |  [inline] | 
Definition at line 48 of file DGVBlitzArrayCaster.h.
| type DGVBlitzArrayCaster< type >::getMean | ( | ) |  [inline] | 
Definition at line 50 of file DGVBlitzArrayCaster.h.
| type DGVBlitzArrayCaster< type >::getMin | ( | ) |  [inline] | 
Definition at line 46 of file DGVBlitzArrayCaster.h.
| void DGVBlitzArrayCaster< type >::QImageToArray | ( | QImage * | image, | |
| Array< type, 2 > & | newArray | |||
| ) | 
Definition at line 124 of file DGVBlitzArrayCaster.h.
| type DGVBlitzArrayCaster< type >::max  [protected] | 
Maximum image value.
Definition at line 55 of file DGVBlitzArrayCaster.h.
| type DGVBlitzArrayCaster< type >::mean  [protected] | 
Mean image value.
Definition at line 56 of file DGVBlitzArrayCaster.h.
| type DGVBlitzArrayCaster< type >::min  [protected] | 
Minimum image value.
Definition at line 54 of file DGVBlitzArrayCaster.h.
 1.7.1
 1.7.1