![]() |
CustusX
22.04-rc2
An IGT application
|
#include <cxDicomModelNode.h>
Public Member Functions | |
| DicomModelNode () | |
| virtual | ~DicomModelNode () |
| bool | canFetchMore () const |
| bool | hasChildren () const |
| NodePtr | getFetchedChildForRow (int row) const |
| virtual DICOMModel::IndexType | getType () const =0 |
| virtual void | fillChildrenUids ()=0 |
| virtual QVariant | getName () const |
| virtual QVariant | getTimestamp () const |
| virtual QVariant | getModality () const |
| virtual QVariant | getImageCount () const |
| QVariant | getDefaultName () const |
| QString | format_date () const |
| QString | format_time () const |
| DicomImageReaderPtr | createReader () const |
| virtual QString | getFirstDICOMFilename () const |
| QString | getUid () const |
| int | getRow () const |
| DicomModelNode * | getParent () const |
| const std::vector< NodePtr > & | getFetchedChildren () const |
| all children currently loaded (filled by fetchMore()) More... | |
| QStringList | getChildrenUID () const |
| uids of all loaded and unloaded children. More... | |
| void | removeChild (int index) |
| QVariant | getValue (int column) const |
| QStringList | getHeaders () const |
| bool | isNull () const |
Static Public Member Functions | |
| static NodePtr | createNode (int row, DicomModelNode *parent, QSharedPointer< ctkDICOMDatabase > dataBase) |
| static NodePtr | getNullNode () |
Protected Member Functions | |
| QVariant | getUncachedValue (int column) const |
Protected Attributes | |
| DicomModelNode * | Parent |
| std::vector< NodePtr > | FetchedChildren |
| all children currently loaded (filled by fetchMore()) More... | |
| QStringList | ChildrenUID |
| uids of all loaded and unloaded children. More... | |
| QString | UID |
| std::map< int, QVariant > | CachedValues |
| QSharedPointer< ctkDICOMDatabase > | DataBase |
Static Protected Attributes | |
| static NodePtr | NullNode |
One node representing one of <root/patient/study/series>
Intended for use by cx::DICOMModel Children are constructed lazily, using the fetchMore system from QAbstractItemModel.
Definition at line 38 of file cxDicomModelNode.h.
| cx::DicomModelNode::DicomModelNode | ( | ) |
Definition at line 66 of file cxDicomModelNode.cpp.
|
inlinevirtual |
Definition at line 45 of file cxDicomModelNode.h.
| bool cx::DicomModelNode::canFetchMore | ( | ) | const |
Definition at line 88 of file cxDicomModelNode.cpp.
|
static |
Definition at line 31 of file cxDicomModelNode.cpp.
| DicomImageReaderPtr cx::DicomModelNode::createReader | ( | ) | const |
Definition at line 105 of file cxDicomModelNode.cpp.
|
pure virtual |
|
inline |
Definition at line 59 of file cxDicomModelNode.h.
|
inline |
Definition at line 60 of file cxDicomModelNode.h.
|
inline |
uids of all loaded and unloaded children.
Definition at line 68 of file cxDicomModelNode.h.
|
inline |
Definition at line 58 of file cxDicomModelNode.h.
| NodePtr cx::DicomModelNode::getFetchedChildForRow | ( | int | row | ) | const |
Definition at line 98 of file cxDicomModelNode.cpp.
|
inline |
all children currently loaded (filled by fetchMore())
Definition at line 67 of file cxDicomModelNode.h.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode, cx::StudyDicomModelNode, and cx::PatientDicomModelNode.
Definition at line 63 of file cxDicomModelNode.h.
| QStringList cx::DicomModelNode::getHeaders | ( | ) | const |
Definition at line 77 of file cxDicomModelNode.cpp.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode.
Definition at line 56 of file cxDicomModelNode.h.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode.
Definition at line 55 of file cxDicomModelNode.h.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode, cx::StudyDicomModelNode, and cx::PatientDicomModelNode.
Definition at line 53 of file cxDicomModelNode.h.
|
static |
Definition at line 19 of file cxDicomModelNode.cpp.
|
inline |
Definition at line 66 of file cxDicomModelNode.h.
| int cx::DicomModelNode::getRow | ( | ) | const |
Definition at line 148 of file cxDicomModelNode.cpp.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode, cx::StudyDicomModelNode, and cx::PatientDicomModelNode.
Definition at line 54 of file cxDicomModelNode.h.
|
pure virtual |
|
inline |
Definition at line 64 of file cxDicomModelNode.h.
|
protected |
Definition at line 122 of file cxDicomModelNode.cpp.
| QVariant cx::DicomModelNode::getValue | ( | int | column | ) | const |
Definition at line 111 of file cxDicomModelNode.cpp.
| bool cx::DicomModelNode::hasChildren | ( | ) | const |
Definition at line 93 of file cxDicomModelNode.cpp.
|
inline |
Definition at line 73 of file cxDicomModelNode.h.
| void cx::DicomModelNode::removeChild | ( | int | index | ) |
Definition at line 135 of file cxDicomModelNode.cpp.
|
mutableprotected |
Definition at line 83 of file cxDicomModelNode.h.
|
protected |
uids of all loaded and unloaded children.
Definition at line 80 of file cxDicomModelNode.h.
|
protected |
Definition at line 84 of file cxDicomModelNode.h.
|
protected |
all children currently loaded (filled by fetchMore())
Definition at line 79 of file cxDicomModelNode.h.
|
staticprotected |
Definition at line 85 of file cxDicomModelNode.h.
|
protected |
Definition at line 78 of file cxDicomModelNode.h.
|
protected |
Definition at line 82 of file cxDicomModelNode.h.