 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
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;
void setNoneEnabled(bool enable)
void setDataSet(vtkDataSet *dataSet)
QString currentArrayName() const
int currentArrayLocation() const
vtkAbstractArray * currentArray() const
void onCurrentIndexChanged(int)
ctkVTKDataSetModel::AttributeTypes attributeTypes() const
void setAttributeTypes(const ctkVTKDataSetModel::AttributeTypes &attributeTypes)
vtkDataSet * dataSet() const
void currentArrayChanged(vtkAbstractArray *)
QComboBox Superclass
Superclass typedef.
void currentArrayChanged(const QString &name)
virtual ~ctkVTKDataSetArrayComboBox()
ctkVTKDataSetModel * dataSetModel() const
void setCurrentArray(vtkAbstractArray *dataArray)
The array must exist in the dataset.
ctkVTKDataSetArrayComboBox(QWidget *parent=0)
Constructors.
void setCurrentArray(const QString &name)
the array must exist in the dataset
QScopedPointer< ctkVTKDataSetArrayComboBoxPrivate > d_ptr