22 #ifndef __ctkDICOMImage_h
23 #define __ctkDICOMImage_h
29 #include "ctkDICOMWidgetsExport.h"
31 class ctkDICOMImagePrivate;
43 Q_PROPERTY(
unsigned long frameCount READ frameCount);
64 QImage
frame(
int frame = 0)
const;
77 QScopedPointer<ctkDICOMImagePrivate>
d_ptr;
Wrapper around a DCMTK DicomImage.
QScopedPointer< ctkDICOMImagePrivate > d_ptr
QImage frame(int frame=0) const
Returns a specific frame of the dicom image.
DicomImage * dicomImage() const
Returns the pointer on the dicom image given in the constructor.
ctkDICOMImage(DicomImage *dicomImage, QObject *parent=0)
Construct a ctkDICOMImage The dicomImage pointer must remain valid during all the life of the constru...
unsigned long frameCount() const
Returns the number of frames contained in the dicom image.