32 #ifndef CXDICOMIMAGEREADER_H 33 #define CXDICOMIMAGEREADER_H 35 #include "org_custusx_dicom_Export.h" 37 #include "ctkDICOMDatabase.h" 40 #include "vtkImageData.h" 42 #include <vtkImageAppend.h> 45 #include "ctkDICOMItem.h" 75 static DicomImageReaderPtr createFromFile(QString filename);
80 int getNumberOfFrames()
const;
81 QString getPatientName()
const;
82 bool isLocalizerImage()
const;
85 DcmFileFormat mFileFormat;
90 bool loadFile(QString filename);
91 Eigen::Array3d getSpacing()
const;
92 Eigen::Array3i getDim(
const DicomImage& dicomImage)
const;
93 void error(QString message)
const;
94 double getDouble(
const DcmTagKey& tag,
const unsigned long pos=0,
const OFBool searchIntoSub = OFFalse)
const;
96 QString formatPatientName(QString rawName)
const;
99 double getSliceSpacing()
const;
100 QVector<double> getZPositions()
const;
101 bool isMultiFrameImage()
const;
108 #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.