SMIL  1.0.4
QVtkViewerWidget Class Reference
+ Inheritance diagram for QVtkViewerWidget:
+ Collaboration diagram for QVtkViewerWidget:

Public Types

enum  RepresentationType { NONE , COMPOSITE , MIP }
 
typedef ImageViewerWidget parentClass
 

Public Slots

void showContextMenu (vtkObject *, unsigned long, void *, void *, vtkCommand *command)
 
void keyPressed (vtkObject *, unsigned long, void *, void *, vtkCommand *command)
 
- Public Slots inherited from ImageViewerWidget
void load (const QString fileName)
 
void zoomIn ()
 
void zoomOut ()
 
void scale (double factor, bool absolute=true)
 
void sliderChanged (int newVal)
 
virtual void overlayDataChanged (bool triggerEvents=true)
 
void updateIcon ()
 
void showContextMenu (const QPoint &pos)
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
void setCursorMode (const int &mode)
 
void setDrawPenColor (const QColor &color)
 
void showHelp ()
 
void saveAs (const char *fileName=NULL)
 

Public Member Functions

 QVtkViewerWidget (QWidget *parent=0)
 
virtual void update ()
 
- Public Member Functions inherited from ImageViewerWidget
 ImageViewerWidget (QWidget *parent=0)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void wheelEvent (QWheelEvent *)
 
virtual void keyPressEvent (QKeyEvent *)
 
virtual void leaveEvent (QEvent *event)
 
virtual void displayPixelValue (size_t, size_t, size_t)
 
virtual void displayMagnifyView (size_t, size_t, size_t)
 
virtual void displayMagnifyView ()
 
virtual void setCurSlice (int)
 
virtual void redrawImage ()
 
virtual void createOverlayImage ()
 
virtual void deleteOverlayImage ()
 
void setName (QString name)
 
void setImageSize (int w, int h, int d=1)
 
void dataChanged ()
 
virtual void clearOverlay ()
 
virtual void displayHistogram (bool=false)
 
virtual void displayProfile (bool=false)
 
void linkViewer (ImageViewerWidget *viewer)
 
void unlinkViewer (ImageViewerWidget *viewer)
 

Public Attributes

QVTKWidget * qvtkWidget
 
- Public Attributes inherited from ImageViewerWidget
QStatusBar * statusBar
 
QImage * qImage
 
QVector< QImage * > qOverlayImage
 
QImage::Format imageFormat
 
bool drawLabelized
 
bool autoRange
 

Protected Member Functions

void initLookup (int typeMax)
 
void setRepresentationType (RepresentationType type)
 
void showAxes ()
 
void showNormal ()
 
void showLabel ()
 
void hideAxes ()
 
void setInterpolationTypeToLinear ()
 
void setInterpolationTypeToNearest ()
 
virtual void setLabelImage (bool val)
 
virtual void setAutoRange (bool)
 
- Protected Member Functions inherited from ImageViewerWidget
void initColorTables ()
 
void updatePixmaps (QImage *image, QList< QGraphicsPixmapItem * > *pixmaps)
 
void createActions ()
 
void updateTitle ()
 
void displayHint (QString msg, int timerVal=1000)
 
virtual void dropEvent (QDropEvent *)
 
void dragMoveEvent (QDragMoveEvent *de)
 
void dragEnterEvent (QDragEnterEvent *event)
 
void scrollContentsBy (int dx, int dy)
 

Protected Attributes

vtkRenderer * renderer
 
vtkRenderWindow * renderWindow
 
vtkRenderWindowInteractor * interactor
 
vtkCamera * camera
 
vtkImageImport * imageImport
 
RepresentationType representationType
 
vtkVolumeRayCastFunction * volumeRayCastFunction
 
vtkVolumeRayCastMapper * volumeRayCastMapper
 
vtkVolume * volume
 
vtkVolumeProperty * volumeProperty
 
vtkPiecewiseFunction * opacityTransfertFunction
 
vtkPiecewiseFunction * colorOpacityTransfertFunction
 
vtkDiscretizableColorTransferFunction * colorTransfertFunction
 
vtkCubeSource * cube
 
vtkOutlineFilter * outline
 
vtkPolyDataMapper * outlineMapper
 
vtkActor * outlineActor
 
vtkAxesActor * axesActor
 
vtkOrientationMarkerWidget * orientationMarker
 
vtkEventQtSlotConnect * vtkQtEventConnect
 
- Protected Attributes inherited from ImageViewerWidget
QGridLayout * layout
 
QVector< QRgb > baseColorTable
 
QVector< QRgb > rainbowColorTable
 
QVector< QRgb > labelColorTable
 
QVector< QRgb > overlayColorTable
 
double scaleFactor
 
QImageGraphicsSceneimScene
 
QList< QGraphicsPixmapItem * > imagePixmaps
 
QList< QGraphicsPixmapItem * > overlayPixmaps
 
QLabel * valueLabel
 
QLabel * hintLabel
 
QTimer * hintTimer
 
QTimer * iconTimer
 
MagnifyViewmagnView
 
size_t imWidth
 
size_t imHeight
 
size_t imDepth
 
int lastPixX
 
int lastPixY
 
int lastPixZ
 
bool magnActivated
 
bool valueLblActivated
 
QMap< QString, QAction * > actionMap
 
QString name
 
QSlider * slider
 
int cursorMode
 
QGraphicsLineItem * line
 
QList< ImageViewerWidget * > linkedWidgets
 
ColorPickercolorPicker
 
QPen drawPen
 
bool drawing
 

Additional Inherited Members

- Signals inherited from ImageViewerWidget
void onRescaled (double scaleFactor)
 
void onDataChanged ()
 
void onKeyPressEvent (QKeyEvent *)
 
void onScrollBarPositionChanged (int dx, int dy)
 
- Protected Types inherited from ImageViewerWidget
enum  cursorMode { cursorMove , cursorDraw , cursorDrawLine , cursorDrawBox }
 
- Protected Slots inherited from ImageViewerWidget
void setScrollBarPosition (int x, int y)
 

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