open_iA 2025.6
Loading...
Searching...
No Matches
iAPolyData Class Reference

a class for vtk polydata mesh datasets More...

#include <iAPolyData.h>

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

Public Member Functions

 iAPolyData (vtkSmartPointer< vtkPolyData > mesh)
 
QString info () const override
 should deliver information about the dataset interesting to users viewing it; implemented by derived classes
 
vtkSmartPointer< vtkPolyData > poly () const
 
std::array< double, 3 > unitDistance () const override
 a sensible unit distance for this dataset (e.g. the spacing of a single voxel, for volume datasets)
 
- 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
 

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

a class for vtk polydata mesh datasets

Constructor & Destructor Documentation

◆ iAPolyData()

iAPolyData::iAPolyData ( vtkSmartPointer< vtkPolyData > mesh)

Member Function Documentation

◆ info()

QString iAPolyData::info ( ) const
overridevirtual

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

Reimplemented from iADataSet.

◆ poly()

vtkSmartPointer< vtkPolyData > iAPolyData::poly ( ) const

◆ unitDistance()

std::array< double, 3 > iAPolyData::unitDistance ( ) const
overridevirtual

a sensible unit distance for this dataset (e.g. the spacing of a single voxel, for volume datasets)

Reimplemented from iADataSet.


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