![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
#include <Libs/DICOM/Widgets/ctkDICOMItemView.h>
Public Types | |
typedef ctkQImageView | Superclass |
Superclass typedef. More... | |
![]() | |
typedef QWidget | Superclass |
Superclass typedef. More... | |
Public Slots | |
void | addImage (const QImage &image) |
void | addImage (DicomImage &dcmImage, bool defaultIntensity=true) |
void | displayImage (int imageIndex) |
void | onModelSelected (const QModelIndex &index) |
virtual void | update (bool zoomChanged=false, bool sizeChanged=false) |
![]() | |
void | addImage (const QImage &image) |
void | clearImages (void) |
virtual void | enterEvent (QEvent *event) |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | leaveEvent (QEvent *event) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
void | reset () |
void | setCenter (double x, double y) |
void | setFlipXAxis (bool flip) |
void | setFlipYAxis (bool flip) |
void | setIntensityWindowLevel (double iwWindow, double iwLevel) |
void | setInvertImage (bool invert) |
void | setPosition (double x, double y) |
void | setSliceNumber (int slicenum) |
void | setTransposeXY (bool transpose) |
void | setZoom (double factor) |
virtual void | update (bool zoomChanged=false, bool sizeChanged=false) |
Signals | |
void | imageDisplayed (int imageID, int count) |
void | requestNextImage () |
void | requestPreviousImage () |
![]() | |
void | flipXAxisChanged (bool flipXAxis) |
void | flipYAxisChanged (bool flipYAxis) |
void | intensityLevelChanged (double intensityLevel) |
void | intensityWindowChanged (double intensityWindow) |
void | invertImageChanged (bool invert) |
void | numberOfSlicesChanged (int numberOfSlices) |
void | positionValueChanged (double positionValue) |
void | sliceNumberChanged (int sliceNum) |
void | slicePositionChanged (double slicePosition) |
void | sliceThicknessChanged (double sliceThickness) |
void | transposeXYChanged (bool transposeXY) |
void | xCenterChanged (double x) |
void | xPositionChanged (double xPosition) |
void | xSpacingChanged (double xSpacing) |
void | yCenterChanged (double y) |
void | yPositionChanged (double yPosition) |
void | ySpacingChanged (double ySpacing) |
void | zoomChanged (double factor) |
Public Member Functions | |
ctkDICOMItemView (QWidget *parent=0) | |
Constructor. More... | |
QModelIndex | currentImageIndex () |
void | setDatabaseDirectory (const QString &directory) |
virtual | ~ctkDICOMItemView (void) |
Destructor. More... | |
![]() | |
ctkQImageView (QWidget *parent=0) | |
Constructor. More... | |
bool | flipXAxis (void) const |
bool | flipYAxis (void) const |
double | intensityLevel (void) const |
double | intensityWindow (void) const |
bool | invertImage (void) const |
int | numberOfSlices (void) const |
double | positionValue (void) |
int | sliceNumber (void) const |
double | slicePosition (void) |
double | sliceSpacing (void) |
double | sliceThickness (void) |
bool | transposeXY (void) const |
double | xCenter (void) |
double | xPosition (void) |
double | xSpacing (void) |
double | yCenter (void) |
double | yPosition (void) |
double | ySpacing (void) |
double | zoom (void) |
virtual | ~ctkQImageView (void) |
Destructor. More... | |
Protected Member Functions | |
ctkDICOMItemView (ctkDICOMItemViewPrivate &pvt, QWidget *parent=0) | |
protected constructor to derive private implementations More... | |
virtual void | mouseMoveEvent (QMouseEvent *event) |
virtual void | mousePressEvent (QMouseEvent *event) |
re-implemented QWidget event functions More... | |
![]() | |
ctkQImageView (ctkQImageViewPrivate &pvt, QWidget *parent=0) | |
protected constructor to derive private implementations More... | |
virtual void | resizeEvent (QResizeEvent *event) |
ctkDICOMItemView is the base class of image viewer widgets.
Definition at line 40 of file ctkDICOMItemView.h.
Superclass typedef.
Definition at line 49 of file ctkDICOMItemView.h.
ctkDICOMItemView::ctkDICOMItemView | ( | QWidget * | parent = 0 | ) |
Constructor.
|
virtual |
Destructor.
|
protected |
protected constructor to derive private implementations
|
slot |
|
slot |
QModelIndex ctkDICOMItemView::currentImageIndex | ( | ) |
|
slot |
|
signal |
|
protectedvirtual |
Reimplemented from ctkQImageView.
|
protectedvirtual |
re-implemented QWidget event functions
Reimplemented from ctkQImageView.
|
slot |
|
signal |
|
signal |
void ctkDICOMItemView::setDatabaseDirectory | ( | const QString & | directory | ) |
|
virtualslot |