11 #ifndef CXDICOMIMAGEREADER_H 12 #define CXDICOMIMAGEREADER_H 14 #include "org_custusx_dicom_Export.h" 16 #include "ctkDICOMDatabase.h" 19 #include "vtkImageData.h" 21 #include <vtkImageAppend.h> 24 #include "ctkDICOMItem.h" 54 static DicomImageReaderPtr createFromFile(QString filename);
59 int getNumberOfFrames()
const;
60 QString getPatientName()
const;
61 bool isLocalizerImage()
const;
64 DcmFileFormat mFileFormat;
69 bool loadFile(QString filename);
70 Eigen::Array3d getSpacing()
const;
71 Eigen::Array3i getDim(
const DicomImage& dicomImage)
const;
72 void error(QString message)
const;
73 double getDouble(
const DcmTagKey& tag,
const unsigned long pos=0,
const OFBool searchIntoSub = OFFalse)
const;
75 QString formatPatientName(QString rawName)
const;
78 double getSliceSpacing()
const;
79 QVector<double> getZPositions()
const;
80 bool isMultiFrameImage()
const;
87 #endif // CXDICOMIMAGEREADER_H
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class ctkDICOMItem > ctkDICOMItemPtr
boost::shared_ptr< class DicomImageReader > DicomImageReaderPtr
Namespace for all CustusX production code.