21#ifndef __ctkVTKDataSetArrayComboBox_h
22#define __ctkVTKDataSetArrayComboBox_h
28#include "ctkVisualizationVTKWidgetsExport.h"
30class ctkVTKDataSetArrayComboBoxPrivate;
32class 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)
ctkVTKDataSetModel * dataSetModel() const
virtual ~ctkVTKDataSetArrayComboBox()
ctkVTKDataSetModel::AttributeTypes attributeTypes() const
void currentArrayChanged(vtkAbstractArray *)
void setCurrentArray(vtkAbstractArray *dataArray)
The array must exist in the dataset.
void onCurrentIndexChanged(int)
vtkDataSet * dataSet() const
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
vtkAbstractArray * currentArray() const