#include <dataset.h>
Inherited by PixelDataset.
Inheritance diagram for Dataset:
Public Member Functions | |
Dataset (dataset_type type, dataset_key_type dataset_key) | |
virtual | ~Dataset () |
dataset_type | getDatasetType () const |
dataset_key_type const & | getDatasetKey () const |
bool | isDataSet () const |
virtual metadata_pointer_type | getMetadata () const =0 |
void | setDirty (bool is_dirty) |
bool | isDirty () const |
Protected Member Functions | |
Dataset (Dataset const &) | |
Protected Attributes | |
bool | is_data_set_ |
bool | is_dirty_ |
The datasets store all relevant data that can be associated with any given dataset. It provides access to a datasets image data, metadata, associated pictures, etc.
Christian Koerner (christian.koerner@imedgine.org)
Alexander Lex (alexander.lex@imedgine.org)
Marc Streit (marc.streit@imedgine.org)
Martin Reininger (martin.reininger@imedgine.org)
Definition at line 47 of file dataset.h.
|
Constructor
Definition at line 19 of file dataset.cpp. |
|
Destructor Definition at line 30 of file dataset.cpp. |
|
Copy constructor Definition at line 39 of file dataset.cpp. |
|
Return the unique key of this dataset. At the moment this key is only used for debugging purposes.
Definition at line 53 of file dataset.cpp. |
|
Return the type of the dataset (2D pixel dataset, 3D pixel dataset, ...)
Definition at line 46 of file dataset.cpp. |
|
Returns the metadata for this dataset
Implemented in PixelDataset. |
|
Tells whether the the dataset has been set (if it contains any data)
Definition at line 60 of file dataset.cpp. References Dataset::is_data_set_. |
|
Tells whether the dataset was (possibly) modified (that is a new internal dataset has been set later than at construction time or the dataset was used in an in-place algorithm)
Definition at line 74 of file dataset.cpp. References Dataset::is_dirty_. |
|
Sets the value of the dirty flag (this is done for the datasets used in in-place algorithm)
Definition at line 67 of file dataset.cpp. References Dataset::is_dirty_. |
|
Tells whether the dataset has been set Definition at line 123 of file dataset.h. Referenced by Dataset::isDataSet(), TwoByteVolumePixelDataset::setDatasetInternal(), TwoByteImagePixelDataset::setDatasetInternal(), OneByteVolumePixelDataset::setDatasetInternal(), OneByteImagePixelDataset::setDatasetInternal(), FourByteVolumePixelDataset::setDatasetInternal(), and FourByteImagePixelDataset::setDatasetInternal(). |
|
Tells whether the dataset was (possibly) modified (that is a new internal dataset has been set later than at construction time or the dataset was used in an in-place algorithm) Definition at line 130 of file dataset.h. Referenced by Dataset::isDirty(), TwoByteVolumePixelDataset::setDataset(), TwoByteImagePixelDataset::setDataset(), OneByteVolumePixelDataset::setDataset(), OneByteImagePixelDataset::setDataset(), FourByteVolumePixelDataset::setDataset(), FourByteImagePixelDataset::setDataset(), and Dataset::setDirty(). |