#include <Libs/Visualization/VTK/Widgets/ctkVTKDataSetArrayComboBox.h>
|
QScopedPointer< ctkVTKDataSetArrayComboBoxPrivate > | d_ptr |
|
QComboBox linked to vtkDataSet field arrays
Definition at line 38 of file ctkVTKDataSetArrayComboBox.h.
◆ Superclass
◆ ctkVTKDataSetArrayComboBox()
ctkVTKDataSetArrayComboBox::ctkVTKDataSetArrayComboBox |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ ~ctkVTKDataSetArrayComboBox()
virtual ctkVTKDataSetArrayComboBox::~ctkVTKDataSetArrayComboBox |
( |
| ) |
|
|
virtual |
◆ attributeTypes()
ctkVTKDataSetModel::AttributeTypes ctkVTKDataSetArrayComboBox::attributeTypes |
( |
| ) |
const |
◆ currentArray()
vtkAbstractArray* ctkVTKDataSetArrayComboBox::currentArray |
( |
| ) |
const |
◆ currentArrayChanged [1/2]
void ctkVTKDataSetArrayComboBox::currentArrayChanged |
( |
const QString & |
name | ) |
|
|
signal |
◆ currentArrayChanged [2/2]
void ctkVTKDataSetArrayComboBox::currentArrayChanged |
( |
vtkAbstractArray * |
| ) |
|
|
signal |
◆ currentArrayLocation()
int ctkVTKDataSetArrayComboBox::currentArrayLocation |
( |
| ) |
const |
◆ currentArrayName()
QString ctkVTKDataSetArrayComboBox::currentArrayName |
( |
| ) |
const |
◆ dataSet()
vtkDataSet* ctkVTKDataSetArrayComboBox::dataSet |
( |
| ) |
const |
◆ dataSetModel()
Return a pointer to the model used to populate the combobox.
- See also
- dataSet()
◆ noneEnabled()
bool ctkVTKDataSetArrayComboBox::noneEnabled |
( |
| ) |
const |
◆ onCurrentIndexChanged
void ctkVTKDataSetArrayComboBox::onCurrentIndexChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ setAttributeTypes()
void ctkVTKDataSetArrayComboBox::setAttributeTypes |
( |
const ctkVTKDataSetModel::AttributeTypes & |
attributeTypes | ) |
|
◆ setCurrentArray [1/2]
void ctkVTKDataSetArrayComboBox::setCurrentArray |
( |
const QString & |
name | ) |
|
|
slot |
the array must exist in the dataset
◆ setCurrentArray [2/2]
void ctkVTKDataSetArrayComboBox::setCurrentArray |
( |
vtkAbstractArray * |
dataArray | ) |
|
|
slot |
The array must exist in the dataset.
◆ setDataSet
void ctkVTKDataSetArrayComboBox::setDataSet |
( |
vtkDataSet * |
dataSet | ) |
|
|
slot |
◆ setNoneEnabled()
void ctkVTKDataSetArrayComboBox::setNoneEnabled |
( |
bool |
enable | ) |
|
Set/Get NoneEnabled flags An additional empty item is added into the list, where the user can select. It is recommended to enable this if the combobox is used to select active scalar of the observed VTK data set, because if there is no None option is available then the combobox selects the first array automatically if an array becomes available, causing unintended change of the VTK data set (and often infinite loop of widget/MRML node updates).
◆ d_ptr
QScopedPointer<ctkVTKDataSetArrayComboBoxPrivate> ctkVTKDataSetArrayComboBox::d_ptr |
|
protected |
◆ attributeTypes
ctkVTKDataSetModel::AttributeTypes ctkVTKDataSetArrayComboBox::attributeTypes |
|
readwrite |
◆ noneEnabled
bool ctkVTKDataSetArrayComboBox::noneEnabled |
|
readwrite |
The documentation for this class was generated from the following file: