open_iA 2024.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iAGeometricObject Class Reference

A geometric object produced by some VTK algorithm such as the various sources. More...

#include <iAGeometricObject.h>

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

Public Member Functions

 iAGeometricObject (QString const &name, std::unique_ptr< iAGeometricObjectSource > source)
 
void applyAttributes (QVariantMap const &values)
 
double const * bounds () const
 
QString info () const override
 should deliver information about the dataset interesting to users viewing it; implemented by derived classes
 
iAAttributes objectProperties ()
 
vtkPolyDataAlgorithm * source () 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 geometric object produced by some VTK algorithm such as the various sources.

Constructor & Destructor Documentation

◆ iAGeometricObject()

iAGeometricObject::iAGeometricObject ( QString const & name,
std::unique_ptr< iAGeometricObjectSource > source )

Member Function Documentation

◆ applyAttributes()

void iAGeometricObject::applyAttributes ( QVariantMap const & values)

◆ bounds()

double const * iAGeometricObject::bounds ( ) const

◆ info()

QString iAGeometricObject::info ( ) const
overridevirtual

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

Reimplemented from iADataSet.

◆ objectProperties()

iAAttributes iAGeometricObject::objectProperties ( )

◆ source()

vtkPolyDataAlgorithm * iAGeometricObject::source ( ) const

◆ unitDistance()

std::array< double, 3 > iAGeometricObject::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: