|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
12 #ifndef CXDICOMMODELNODE_H
13 #define CXDICOMMODELNODE_H
15 #include "org_custusx_dicom_Export.h"
17 #include "boost/shared_ptr.hpp"
20 #include "ctkDICOMDatabase.h"
21 #include "cxDicomImageReader.h"
25 typedef boost::shared_ptr<class DicomModelNode>
NodePtr;
41 static NodePtr createNode(
int row,
DicomModelNode* parent, QSharedPointer<ctkDICOMDatabase> dataBase);
47 bool canFetchMore()
const;
48 bool hasChildren()
const;
49 NodePtr getFetchedChildForRow(
int row)
const;
52 virtual void fillChildrenUids() = 0;
53 virtual QVariant
getName()
const {
return QVariant(); }
64 QString
getUid()
const {
return UID; }
67 const std::vector<NodePtr>& getFetchedChildren()
const {
return FetchedChildren; }
68 QStringList getChildrenUID()
const {
return ChildrenUID; }
69 void removeChild(
int index);
71 QVariant getValue(
int column)
const;
72 QStringList getHeaders()
const;
76 QVariant getUncachedValue(
int column)
const;
112 virtual void fillChildrenUids();
126 virtual void fillChildrenUids();
127 virtual QVariant getName()
const;
128 virtual QVariant getTimestamp()
const;
129 virtual QString getFirstDICOMFilename()
const;
142 virtual void fillChildrenUids();
143 virtual QVariant getName()
const;
144 virtual QVariant getTimestamp()
const;
145 virtual QString getFirstDICOMFilename()
const;
159 virtual QVariant getName()
const;
160 virtual QVariant getTimestamp()
const;
161 virtual QVariant getModality()
const;
162 virtual QVariant getImageCount()
const;
163 virtual QString getFirstDICOMFilename()
const;
164 int getFrameCountForSeries(QString series)
const;
169 #endif // CXDICOMMODELNODE_H
virtual DICOMModel::IndexType getType() const
QVariant getDefaultName() const
boost::shared_ptr< class DicomImageReader > DicomImageReaderPtr
virtual ~PatientDicomModelNode()
virtual DICOMModel::IndexType getType() const
virtual ~DicomModelNode()
QStringList ChildrenUID
uids of all loaded and unloaded children.
virtual ~NullDicomModelNode()
virtual DICOMModel::IndexType getType() const
virtual DICOMModel::IndexType getType() const
Namespace for all CustusX production code.
virtual ~RootDicomModelNode()
QSharedPointer< ctkDICOMDatabase > DataBase
virtual QVariant getName() const
std::map< int, QVariant > CachedValues
virtual QVariant getTimestamp() const
virtual void fillChildrenUids()
virtual QVariant getModality() const
QString format_date() const
virtual void fillChildrenUids()
virtual ~StudyDicomModelNode()
std::vector< NodePtr > FetchedChildren
all children currently loaded (filled by fetchMore())
QString format_time() const
DicomModelNode * getParent() const
virtual DICOMModel::IndexType getType() const
virtual ~SeriesDicomModelNode()
boost::shared_ptr< class DicomModelNode > NodePtr
virtual QString getFirstDICOMFilename() const
virtual QVariant getImageCount() const