OGS
VtkFilterInfo Struct Reference

Detailed Description

Holds meta information about a filter.

Definition at line 45 of file VtkFilterFactory.h.

#include <VtkFilterFactory.h>

Public Member Functions

 VtkFilterInfo (QString name, QString readableName, QString description, int inputDataObjectType, int outputDataObjectType)
 Constructor.
 
 VtkFilterInfo ()
 Default constructor.
 
QString OutputDataObjectTypeAsString () const
 Returns the data type as a string.
 

Public Attributes

QString name
 
QString readableName
 
QString description
 
int inputDataObjectType
 
int outputDataObjectType
 

Constructor & Destructor Documentation

◆ VtkFilterInfo() [1/2]

VtkFilterInfo::VtkFilterInfo ( QString name,
QString readableName,
QString description,
int inputDataObjectType,
int outputDataObjectType )
inline

Constructor.

Parameters
nameThe name of the filter (the class name)
readableName
descriptionA short description of what the filter does
inputDataObjectTypeThe input data type (see OutputDataObjectTypeAsString())
outputDataObjectTypeThe output data type (see OutputDataObjectTypeAsString())

Definition at line 53 of file VtkFilterFactory.h.

References description, inputDataObjectType, name, outputDataObjectType, and readableName.

◆ VtkFilterInfo() [2/2]

VtkFilterInfo::VtkFilterInfo ( )
inline

Default constructor.

Definition at line 64 of file VtkFilterFactory.h.

65 {
66 this->name = QString();
67 this->readableName = QString();
68 this->description = QString();
69 this->inputDataObjectType = -1;
70 this->outputDataObjectType = -1;
71 }

References description, inputDataObjectType, name, outputDataObjectType, and readableName.

Member Function Documentation

◆ OutputDataObjectTypeAsString()

QString VtkFilterInfo::OutputDataObjectTypeAsString ( ) const
inline

Returns the data type as a string.

Definition at line 74 of file VtkFilterFactory.h.

75 {
77 {
78 case VTK_POLY_DATA: return QString("vtkPolyData");
79 case VTK_STRUCTURED_POINTS: return QString("vtkStructuredPoints");
80 case VTK_STRUCTURED_GRID: return QString("vtkStructuredGrid");
81 case VTK_RECTILINEAR_GRID: return QString("vtkRectilinearGrid");
82 case VTK_UNSTRUCTURED_GRID: return QString("vtkUnstructuredGrid");
83 case VTK_IMAGE_DATA: return QString("vtkImageData");
84 case VTK_DATA_SET: return QString("vtkDataSet");
85 default: return QString("Data type not defined!");
86 }
87 }

References outputDataObjectType.

Member Data Documentation

◆ description

QString VtkFilterInfo::description

Definition at line 91 of file VtkFilterFactory.h.

Referenced by VtkFilterInfo(), and VtkFilterInfo().

◆ inputDataObjectType

int VtkFilterInfo::inputDataObjectType

Definition at line 92 of file VtkFilterFactory.h.

Referenced by VtkFilterInfo(), and VtkFilterInfo().

◆ name

QString VtkFilterInfo::name

Definition at line 89 of file VtkFilterFactory.h.

Referenced by VtkFilterInfo(), and VtkFilterInfo().

◆ outputDataObjectType

int VtkFilterInfo::outputDataObjectType

Definition at line 93 of file VtkFilterFactory.h.

Referenced by VtkFilterInfo(), VtkFilterInfo(), and OutputDataObjectTypeAsString().

◆ readableName

QString VtkFilterInfo::readableName

Definition at line 90 of file VtkFilterFactory.h.

Referenced by VtkFilterInfo(), and VtkFilterInfo().


The documentation for this struct was generated from the following file: