open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iADataCollection Class Reference

a collection of datasets More...

#include <iADataSet.h>

Inheritance diagram for iADataCollection:
[legend]
Collaboration diagram for iADataCollection:
[legend]

Public Member Functions

 iADataCollection (size_t capacity, std::shared_ptr< QSettings > settings)
 
void addDataSet (std::shared_ptr< iADataSet > dataSet)
 
std::vector< std::shared_ptr< iADataSet > > const & dataSets () const
 
QString info () const override
 should deliver information about the dataset interesting to users viewing it
 
std::shared_ptr< QSettings > settings () const
 
- Public Member Functions inherited from iADataSet
virtual ~iADataSet ()
 called when the dataset is removed/unloaded and its related resources should be released
 
QVariantMap const & allMetaData () const
 return the key, value map of all metadata items associated with the dataset
 
bool hasMetaData (QString const &key) const
 true if the dataset has metadata with the given key set, false otherwise
 
virtual QString info () const
 should deliver information about the dataset interesting to users viewing it
 
QVariant metaData (QString const &key) const
 retrieve (optional) additional parameters for the dataset
 
QString name () const
 convenience method for accessing value for NameKey in m_metaData
 
void setMetaData (QString const &key, QVariant const &value)
 set an (optional) metadata key/value pair
 
void setMetaData (QVariantMap const &other)
 set bulk metadata from another key/value map
 
iADataSetType type () const
 get type of data stored in this dataset
 
virtual std::array< double, 3 > unitDistance () const
 a sensible unit distance for this dataset (e.g. the spacing of a single voxel, for volume datasets)
 

Additional Inherited Members

- Static Public Attributes inherited from iADataSet
static const QString FileNameKey
 metadata key for filename of the dataset
 
static const QString NameKey
 metadata key for name of the dataset
 
- Protected Member Functions inherited from iADataSet
 iADataSet (iADataSetType type)
 derived classes need to construct the dataset by giving a (proposed) filename and an (optional) name
 

Detailed Description

a collection of datasets

Constructor & Destructor Documentation

◆ iADataCollection()

iADataCollection::iADataCollection ( size_t  capacity,
std::shared_ptr< QSettings >  settings 
)

Member Function Documentation

◆ addDataSet()

void iADataCollection::addDataSet ( std::shared_ptr< iADataSet dataSet)

◆ dataSets()

std::vector< std::shared_ptr< iADataSet > > const & iADataCollection::dataSets ( ) const

◆ info()

QString iADataCollection::info ( ) const
overridevirtual

should deliver information about the dataset interesting to users viewing it

Reimplemented from iADataSet.

◆ settings()

std::shared_ptr< QSettings > iADataCollection::settings ( ) const

The documentation for this class was generated from the following files: