Fraxinus
16.5.0-fx-rc4
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 59 of file cxDicomModelNode.h.
cx::DicomModelNode::DicomModelNode | ( | ) |
Definition at line 87 of file cxDicomModelNode.cpp.
|
inlinevirtual |
Definition at line 66 of file cxDicomModelNode.h.
bool cx::DicomModelNode::canFetchMore | ( | ) | const |
Definition at line 109 of file cxDicomModelNode.cpp.
|
static |
Definition at line 52 of file cxDicomModelNode.cpp.
DicomImageReaderPtr cx::DicomModelNode::createReader | ( | ) | const |
Definition at line 126 of file cxDicomModelNode.cpp.
|
pure virtual |
|
inline |
Definition at line 80 of file cxDicomModelNode.h.
|
inline |
Definition at line 81 of file cxDicomModelNode.h.
|
inline |
uids of all loaded and unloaded children.
Definition at line 89 of file cxDicomModelNode.h.
|
inline |
Definition at line 79 of file cxDicomModelNode.h.
NodePtr cx::DicomModelNode::getFetchedChildForRow | ( | int | row | ) | const |
Definition at line 119 of file cxDicomModelNode.cpp.
|
inline |
all children currently loaded (filled by fetchMore())
Definition at line 88 of file cxDicomModelNode.h.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode, cx::StudyDicomModelNode, and cx::PatientDicomModelNode.
Definition at line 84 of file cxDicomModelNode.h.
QStringList cx::DicomModelNode::getHeaders | ( | ) | const |
Definition at line 98 of file cxDicomModelNode.cpp.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode.
Definition at line 77 of file cxDicomModelNode.h.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode.
Definition at line 76 of file cxDicomModelNode.h.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode, cx::StudyDicomModelNode, and cx::PatientDicomModelNode.
Definition at line 74 of file cxDicomModelNode.h.
|
static |
Definition at line 40 of file cxDicomModelNode.cpp.
|
inline |
Definition at line 87 of file cxDicomModelNode.h.
int cx::DicomModelNode::getRow | ( | ) | const |
Definition at line 169 of file cxDicomModelNode.cpp.
|
inlinevirtual |
Reimplemented in cx::SeriesDicomModelNode, cx::StudyDicomModelNode, and cx::PatientDicomModelNode.
Definition at line 75 of file cxDicomModelNode.h.
|
pure virtual |
|
inline |
Definition at line 85 of file cxDicomModelNode.h.
|
protected |
Definition at line 143 of file cxDicomModelNode.cpp.
QVariant cx::DicomModelNode::getValue | ( | int | column | ) | const |
Definition at line 132 of file cxDicomModelNode.cpp.
bool cx::DicomModelNode::hasChildren | ( | ) | const |
Definition at line 114 of file cxDicomModelNode.cpp.
|
inline |
Definition at line 94 of file cxDicomModelNode.h.
void cx::DicomModelNode::removeChild | ( | int | index | ) |
Definition at line 156 of file cxDicomModelNode.cpp.
|
mutableprotected |
Definition at line 104 of file cxDicomModelNode.h.
|
protected |
uids of all loaded and unloaded children.
Definition at line 101 of file cxDicomModelNode.h.
|
protected |
Definition at line 105 of file cxDicomModelNode.h.
|
protected |
all children currently loaded (filled by fetchMore())
Definition at line 100 of file cxDicomModelNode.h.
|
staticprotected |
Definition at line 106 of file cxDicomModelNode.h.
|
protected |
Definition at line 99 of file cxDicomModelNode.h.
|
protected |
Definition at line 103 of file cxDicomModelNode.h.