![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Wrapper around a DCMTK DicomImage. More...
#include <Libs/DICOM/Widgets/ctkDICOMImage.h>


Public Member Functions | |
| ctkDICOMImage (DicomImage *dicomImage, QObject *parent=0) | |
| Construct a ctkDICOMImage The dicomImage pointer must remain valid during all the life of the constructed ctkDICOMImage. More... | |
| DicomImage * | dicomImage () const |
| Returns the pointer on the dicom image given in the constructor. More... | |
| QImage | frame (int frame=0) const |
| Returns a specific frame of the dicom image. More... | |
| unsigned long | frameCount () const |
| Returns the number of frames contained in the dicom image. More... | |
| virtual | ~ctkDICOMImage () |
Protected Attributes | |
| QScopedPointer< ctkDICOMImagePrivate > | d_ptr |
Properties | |
| unsigned long | frameCount |
Wrapper around a DCMTK DicomImage.
This class wraps a DicomImage object and exposes it as a Qt class.
Definition at line 40 of file ctkDICOMImage.h.
|
explicit |
Construct a ctkDICOMImage The dicomImage pointer must remain valid during all the life of the constructed ctkDICOMImage.
|
virtual |
| DicomImage* ctkDICOMImage::dicomImage | ( | ) | const |
Returns the pointer on the dicom image given in the constructor.
This is provided as a utility function. Do not delete the returned pointer. TBD: Return a "const DicomImage*" instead?
| QImage ctkDICOMImage::frame | ( | int | frame = 0 | ) | const |
Returns a specific frame of the dicom image.
| unsigned long ctkDICOMImage::frameCount | ( | ) | const |
Returns the number of frames contained in the dicom image.
Please note that this function does not return the number of frames stored in the DICOM file/dataset. It rather refers to the number of frames processed by this class.
|
protected |
Definition at line 77 of file ctkDICOMImage.h.
|
read |
Definition at line 1 of file ctkDICOMImage.h.