21 #ifndef __ctkVTKDataSetArrayComboBox_h
22 #define __ctkVTKDataSetArrayComboBox_h
28 #include "ctkVisualizationVTKWidgetsExport.h"
30 class ctkVTKDataSetArrayComboBoxPrivate;
32 class vtkAbstractArray;
42 Q_PROPERTY(ctkVTKDataSetModel::AttributeTypes attributeTypes READ attributeTypes WRITE setAttributeTypes)
43 Q_PROPERTY(
bool noneEnabled READ noneEnabled WRITE setNoneEnabled)
94 QScopedPointer<ctkVTKDataSetArrayComboBoxPrivate>
d_ptr;
int currentArrayLocation() const
ctkVTKDataSetArrayComboBox(QWidget *parent=0)
Constructors.
QComboBox Superclass
Superclass typedef.
void setDataSet(vtkDataSet *dataSet)
void setNoneEnabled(bool enable)
vtkDataSet * dataSet() const
virtual ~ctkVTKDataSetArrayComboBox()
ctkVTKDataSetModel::AttributeTypes attributeTypes() const
vtkAbstractArray * currentArray() const
void currentArrayChanged(vtkAbstractArray *)
void setCurrentArray(vtkAbstractArray *dataArray)
The array must exist in the dataset.
void onCurrentIndexChanged(int)
void setCurrentArray(const QString &name)
the array must exist in the dataset
void currentArrayChanged(const QString &name)
QString currentArrayName() const
void setAttributeTypes(const ctkVTKDataSetModel::AttributeTypes &attributeTypes)
QScopedPointer< ctkVTKDataSetArrayComboBoxPrivate > d_ptr
ctkVTKDataSetModel * dataSetModel() const