SMIL  0.9.1
QVtkViewer< T > Class Template Reference

QVtk image viewer. More...

#include <DQVtkViewer.hpp>

+ Inheritance diagram for QVtkViewer< T >:
+ Collaboration diagram for QVtkViewer< T >:

Public Types

typedef ImageViewer< T > parentClass
enum  RepresentationType { NONE, COMPOSITE, MIP }
- Public Types inherited from ImageViewer< T >
typedef BaseImageViewer parentClass
- Public Types inherited from BaseImageViewer
typedef BaseObject parentClass
- Public Types inherited from BaseObject
typedef void parentClass
typedef void(BaseObject::* voidMemberFunc) ()

Public Member Functions

virtual void clearOverlay ()
virtual void drawImage ()
virtual void drawOverlay (const Image< T > &)
virtual void hide ()
void hideAxes ()
virtual bool isVisible ()
virtual void onSizeChanged (size_t, size_t, size_t)
 QVtkViewer (Image< T > &im)
virtual void setAutoRange (bool on)
virtual void setCurSlice (int)
virtual void setImage (Image< T > &im)
void setInterpolationTypeToLinear ()
void setInterpolationTypeToNearest ()
virtual void setName (const char *_name)
void setRepresentationType (RepresentationType type)
virtual void show ()
virtual void show (Image< T > &im)
void showAxes ()
virtual void showLabel ()
- Public Member Functions inherited from ImageViewer< T >
virtual void disconnect ()
virtual Image< T > * getImage ()
virtual RES_T getOverlay (Image< T > &)
 ImageViewer (Image< T > &im)
virtual void resetLookup ()
virtual void setLookup (const map< UINT8, RGB > &)
 Set the color table as a 8bits RGB map (keys between 0 and 255)
virtual void update ()
- Public Member Functions inherited from BaseImageViewer
 BaseImageViewer (const char *_className="BaseImageViewer")
virtual void saveSnapshot (const char *)
- Public Member Functions inherited from BaseObject
 BaseObject (const char *_className, bool _register=true)
 BaseObject (const BaseObject &rhs, bool _register=true)
virtual size_t getAllocatedSize () const
virtual const char * getClassName () const
CoregetCoreInstance ()
virtual const char * getInfoString (const char *="") const
virtual const char * getName () const
BaseObjectoperator= (const BaseObject &rhs)
virtual void printSelf (ostream &=std::cout, string="") const

Protected Member Functions

void initLookup (int typeMax)
- Protected Member Functions inherited from QVtkViewerWidget
void hideAxes ()
void initLookup (int typeMax)
void setInterpolationTypeToLinear ()
void setInterpolationTypeToNearest ()
virtual void setLabelImage (bool val)
void setRepresentationType (RepresentationType type)
void showAxes ()
void showLabel ()
void showNormal ()
 QVtkViewerWidget (QWidget *parent=0)
virtual void update ()
- Protected Member Functions inherited from ImageViewerWidget
void createActions ()
void displayHint (QString msg, int timerVal=1000)
void dragEnterEvent (QDragEnterEvent *event)
void dragMoveEvent (QDragMoveEvent *de)
virtual void dropEvent (QDropEvent *)
void initColorTables ()
void scrollContentsBy (int dx, int dy)
void updatePixmaps (QImage *image, QList< QGraphicsPixmapItem * > *pixmaps)
void updateTitle ()
virtual void createOverlayImage ()
void dataChanged ()
virtual void deleteOverlayImage ()
virtual void displayHistogram (bool=false)
virtual void displayMagnifyView (size_t, size_t, size_t)
virtual void displayMagnifyView ()
virtual void displayPixelValue (size_t, size_t, size_t)
virtual void displayProfile (bool=false)
 ImageViewerWidget (QWidget *parent=0)
virtual void keyPressEvent (QKeyEvent *)
virtual void leaveEvent (QEvent *event)
void linkViewer (ImageViewerWidget *viewer)
virtual void mouseMoveEvent (QMouseEvent *event)
virtual void mousePressEvent (QMouseEvent *event)
virtual void mouseReleaseEvent (QMouseEvent *event)
virtual void redrawImage ()
void setImageSize (int w, int h, int d=1)
void setName (QString name)
void unlinkViewer (ImageViewerWidget *viewer)
virtual void wheelEvent (QWheelEvent *)

Additional Inherited Members

- Signals inherited from ImageViewerWidget
void onDataChanged ()
void onKeyPressEvent (QKeyEvent *)
void onRescaled (double scaleFactor)
void onScrollBarPositionChanged (int dx, int dy)
- Public Attributes inherited from ImageViewer< T >
Signal onOverlayModified
- Public Attributes inherited from BaseImageViewer
MemberFunctionSlot< BaseImageViewerupdateSlot
- Public Attributes inherited from BaseObject
bool triggerEvents
- Protected Types inherited from QVtkViewerWidget
typedef ImageViewerWidget parentClass
enum  RepresentationType { NONE, COMPOSITE, MIP }
- Protected Types inherited from ImageViewerWidget
enum  cursorMode { cursorMove, cursorDraw, cursorDrawLine, cursorDrawBox }
- Protected Slots inherited from QVtkViewerWidget
void keyPressed (vtkObject *, unsigned long, void *, void *, vtkCommand *command)
void showContextMenu (vtkObject *, unsigned long, void *, void *, vtkCommand *command)
- Protected Slots inherited from ImageViewerWidget
void setScrollBarPosition (int x, int y)
void load (const QString fileName)
void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
virtual void overlayDataChanged (bool triggerEvents=true)
void saveAs (const char *fileName=NULL)
void scale (double factor, bool absolute=true)
void setCursorMode (const int &mode)
void setDrawPenColor (const QColor &color)
void showContextMenu (const QPoint &pos)
void showHelp ()
void sliderChanged (int newVal)
void updateIcon ()
void zoomIn ()
void zoomOut ()
- Protected Attributes inherited from ImageViewer< T >
Image< T > * image
bool labelImage
- Protected Attributes inherited from BaseImageViewer
bool labelImage
- Protected Attributes inherited from BaseObject
string className
string name
bool registered
- Protected Attributes inherited from QVtkViewerWidget
vtkAxesActor * axesActor
vtkCamera * camera
vtkPiecewiseFunction * colorOpacityTransfertFunction
vtkDiscretizableColorTransferFunction * colorTransfertFunction
vtkCubeSource * cube
vtkImageImport * imageImport
vtkRenderWindowInteractor * interactor
vtkPiecewiseFunction * opacityTransfertFunction
vtkOrientationMarkerWidget * orientationMarker
vtkOutlineFilter * outline
vtkActor * outlineActor
vtkPolyDataMapper * outlineMapper
vtkRenderer * renderer
vtkRenderWindow * renderWindow
RepresentationType representationType
vtkVolume * volume
vtkVolumeProperty * volumeProperty
vtkVolumeRayCastFunction * volumeRayCastFunction
vtkVolumeRayCastMapper * volumeRayCastMapper
vtkEventQtSlotConnect * vtkQtEventConnect
QVTKWidget * qvtkWidget
- Protected Attributes inherited from ImageViewerWidget
QMap< QString, QAction * > actionMap
QVector< QRgb > baseColorTable
int cursorMode
bool drawing
QPen drawPen
QLabel * hintLabel
QTimer * hintTimer
QTimer * iconTimer
QList< QGraphicsPixmapItem * > imagePixmaps
size_t imDepth
size_t imHeight
size_t imWidth
QVector< QRgb > labelColorTable
int lastPixX
int lastPixY
int lastPixZ
QGridLayout * layout
QGraphicsLineItem * line
QList< ImageViewerWidget * > linkedWidgets
bool magnActivated
QString name
QVector< QRgb > overlayColorTable
QList< QGraphicsPixmapItem * > overlayPixmaps
QVector< QRgb > rainbowColorTable
double scaleFactor
QSlider * slider
QLabel * valueLabel
bool valueLblActivated
bool autoRange
bool drawLabelized
QImage::Format imageFormat
QImage * qImage
QVector< QImage * > qOverlayImage
QStatusBar * statusBar

Detailed Description

template<class T>
class smil::QVtkViewer< T >

QVtk image viewer.

Requires the Qt, Vtk and QVtk libraries.

Keyboard shortcuts:

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