open_iA 2024.9
Loading...
Searching...
No Matches
iAObjectsData Class Reference

dataset type containing data about a list of objects of same type More...

#include <iAObjectsData.h>

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

Public Member Functions

 iAObjectsData (QString const &name, iAObjectVisType visType, vtkSmartPointer< vtkTable > m_table, iAColMapP m_colMapping)
 
QString info () const override
 should deliver information about the dataset interesting to users viewing it; implemented by derived classes
 
- 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
 
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)
 

Public Attributes

iAColMapP m_colMapping
 mapping of columns (see the respective visualization classes which mappings are required)
 
std::map< size_t, std::vector< iAVec3f > > m_curvedFiberData
 optional (if non-empty vector) information on curved fiber objects
 
vtkSmartPointer< vtkTable > m_table
 one row per object to visualize
 
iAObjectVisType m_visType
 type of visualization to create
 

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
 
static const QString SkipSaveKey
 metadata key to mark datasets that should not be stored (e.g.
 
- 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

dataset type containing data about a list of objects of same type

Constructor & Destructor Documentation

◆ iAObjectsData()

iAObjectsData::iAObjectsData ( QString const & name,
iAObjectVisType visType,
vtkSmartPointer< vtkTable > m_table,
iAColMapP m_colMapping )

Member Function Documentation

◆ info()

QString iAObjectsData::info ( ) const
overridevirtual

should deliver information about the dataset interesting to users viewing it; implemented by derived classes

Reimplemented from iADataSet.

Member Data Documentation

◆ m_colMapping

iAColMapP iAObjectsData::m_colMapping

mapping of columns (see the respective visualization classes which mappings are required)

◆ m_curvedFiberData

std::map<size_t, std::vector<iAVec3f> > iAObjectsData::m_curvedFiberData

optional (if non-empty vector) information on curved fiber objects

◆ m_table

vtkSmartPointer<vtkTable> iAObjectsData::m_table

one row per object to visualize

◆ m_visType

iAObjectVisType iAObjectsData::m_visType

type of visualization to create


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