#include <NrroImage.h>
Inheritance diagram for NrroCanvasImg:
Definition at line 35 of file NrroImage.h.
Public Member Functions | |
NrroCanvasImg (QCanvas *canvas) | |
construct | |
virtual | ~NrroCanvasImg () |
virtual void | setNrro (const NrroSP n, const gutz::vec2d minmaxVal=gutz::vec2d(AIR_NAN, AIR_NAN)) |
loads the nrro as an image, keeps it for later reference | |
virtual NrroSP | getNrro () |
virtual void | setImage (QImage *img) |
this thing assumes ownership of the image passed to it, deletes it.. | |
Protected Member Functions | |
void | drawShape (QPainter &) |
draw shape | |
Protected Attributes | |
NrroSP | _n |
QImage * | _image |
QPixmap * | _pixmap |
|
construct
Definition at line 126 of file NrroImage.cpp. |
|
Definition at line 38 of file NrroImage.h. |
|
draw shape
Definition at line 75 of file CanvasImage.cpp. References CanvasImage::_image, and CanvasImage::_pixmap. |
|
Definition at line 44 of file NrroImage.h. References _n. |
|
this thing assumes ownership of the image passed to it, deletes it..
Definition at line 50 of file CanvasImage.cpp. References CanvasImage::_image, CanvasImage::_pixmap, and img. Referenced by setNrro(). |
|
loads the nrro as an image, keeps it for later reference
Definition at line 132 of file NrroImage.cpp. References _n, genNrroQImage(), gutz::SmartPtr< Nrro >::isNull(), n, and CanvasImage::setImage(). Referenced by SlicerWidget::setSlice(). |
|
Definition at line 40 of file CanvasImage.h. Referenced by CanvasImage::drawShape(), CanvasImage::setImage(), and CanvasImage::~CanvasImage(). |
|
Definition at line 47 of file NrroImage.h. |
|
Definition at line 41 of file CanvasImage.h. Referenced by CanvasImage::drawShape(), CanvasImage::setImage(), and CanvasImage::~CanvasImage(). |