#include <Libs/Visualization/VTK/Widgets/ctkVTKDataSetModel.h>
Definition at line 49 of file ctkVTKDataSetModel.h.
◆ Self
◆ Superclass
◆ AttributeType
Enumerator |
---|
NoAttribute | |
ScalarsAttribute | |
VectorsAttribute | |
NormalsAttribute | |
TCoordsAttribute | |
TensorsAttribute | |
GlobalIDsAttribute | |
PedigreeIDsAttribute | |
EdgeFlagAttribute | |
AllAttribute | |
Definition at line 74 of file ctkVTKDataSetModel.h.
◆ ctkVTKDataSetModel() [1/2]
ctkVTKDataSetModel::ctkVTKDataSetModel |
( |
QObject * |
parent = 0 | ) |
|
◆ ~ctkVTKDataSetModel()
virtual ctkVTKDataSetModel::~ctkVTKDataSetModel |
( |
| ) |
|
|
virtual |
◆ ctkVTKDataSetModel() [2/2]
ctkVTKDataSetModel::ctkVTKDataSetModel |
( |
ctkVTKDataSetModelPrivate * |
pimpl, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
protected |
◆ arrayFromIndex()
vtkAbstractArray * ctkVTKDataSetModel::arrayFromIndex |
( |
const QModelIndex & |
arrayIndex | ) |
const |
|
inline |
Return the vtkAbstractArray associated to the index. 0 if the index doesn't contain a vtkAbstractArray
Definition at line 150 of file ctkVTKDataSetModel.h.
◆ arrayFromItem()
vtkAbstractArray* ctkVTKDataSetModel::arrayFromItem |
( |
QStandardItem * |
nodeItem | ) |
const |
◆ attributeTypes()
AttributeTypes ctkVTKDataSetModel::attributeTypes |
( |
| ) |
const |
◆ dataSet()
vtkDataSet* ctkVTKDataSetModel::dataSet |
( |
| ) |
const |
◆ includeNullItem()
bool ctkVTKDataSetModel::includeNullItem |
( |
| ) |
const |
◆ indexes()
QModelIndexList ctkVTKDataSetModel::indexes |
( |
vtkAbstractArray * |
array | ) |
const |
◆ indexFromArray()
QModelIndex ctkVTKDataSetModel::indexFromArray |
( |
vtkAbstractArray * |
array, |
|
|
int |
column = 0 |
|
) |
| const |
|
inline |
◆ insertArray() [1/2]
virtual void ctkVTKDataSetModel::insertArray |
( |
vtkAbstractArray * |
array, |
|
|
int |
location |
|
) |
| |
|
protectedvirtual |
◆ insertArray() [2/2]
virtual void ctkVTKDataSetModel::insertArray |
( |
vtkAbstractArray * |
array, |
|
|
int |
location, |
|
|
int |
row |
|
) |
| |
|
protectedvirtual |
◆ insertNullItem()
virtual void ctkVTKDataSetModel::insertNullItem |
( |
| ) |
|
|
protectedvirtual |
◆ itemFromArray()
QStandardItem* ctkVTKDataSetModel::itemFromArray |
( |
vtkAbstractArray * |
array, |
|
|
int |
column = 0 |
|
) |
| const |
◆ locationFromIndex()
int ctkVTKDataSetModel::locationFromIndex |
( |
const QModelIndex & |
arrayIndex | ) |
const |
|
inline |
Return the location from a given item. Fails and returns -1 if either the given index points to a null item or an invisible item.
- See also
- locationFromItem()
Definition at line 156 of file ctkVTKDataSetModel.h.
◆ locationFromItem()
int ctkVTKDataSetModel::locationFromItem |
( |
QStandardItem * |
nodeItem | ) |
const |
Return the location from a given item. Fails and returns -1 if either the given item is null or should be invisible).
- See also
- locationFromIndex(), invisibleRootItem()
◆ nullItemLocation()
int ctkVTKDataSetModel::nullItemLocation |
( |
| ) |
const |
◆ onArrayModified
void ctkVTKDataSetModel::onArrayModified |
( |
vtkObject * |
array | ) |
|
|
protectedslot |
◆ onDataSetCellDataModified
void ctkVTKDataSetModel::onDataSetCellDataModified |
( |
vtkObject * |
dataSetCellData | ) |
|
|
protectedslot |
◆ onDataSetModified
void ctkVTKDataSetModel::onDataSetModified |
( |
vtkObject * |
dataSet | ) |
|
|
protectedslot |
◆ onDataSetPointDataModified
void ctkVTKDataSetModel::onDataSetPointDataModified |
( |
vtkObject * |
dataSetPointData | ) |
|
|
protectedslot |
◆ onItemChanged
void ctkVTKDataSetModel::onItemChanged |
( |
QStandardItem * |
item | ) |
|
|
protectedslot |
◆ populateDataSet()
virtual void ctkVTKDataSetModel::populateDataSet |
( |
| ) |
|
|
protectedvirtual |
◆ removeNullItem()
virtual void ctkVTKDataSetModel::removeNullItem |
( |
| ) |
|
|
protectedvirtual |
◆ setAttributeTypes()
void ctkVTKDataSetModel::setAttributeTypes |
( |
const AttributeTypes & |
attributeTypes | ) |
|
◆ setDataSet()
virtual void ctkVTKDataSetModel::setDataSet |
( |
vtkDataSet * |
dataSet | ) |
|
|
virtual |
◆ setIncludeNullItem()
void ctkVTKDataSetModel::setIncludeNullItem |
( |
bool |
includeNullItem | ) |
|
◆ updateArrayFromItem()
virtual void ctkVTKDataSetModel::updateArrayFromItem |
( |
vtkAbstractArray * |
array, |
|
|
QStandardItem * |
item |
|
) |
| |
|
protectedvirtual |
◆ updateDataSet()
virtual void ctkVTKDataSetModel::updateDataSet |
( |
| ) |
|
|
protectedvirtual |
◆ updateItemFromArray()
virtual void ctkVTKDataSetModel::updateItemFromArray |
( |
QStandardItem * |
item, |
|
|
vtkAbstractArray * |
array, |
|
|
int |
location, |
|
|
int |
column |
|
) |
| |
|
protectedvirtual |
◆ d_ptr
QScopedPointer<ctkVTKDataSetModelPrivate> ctkVTKDataSetModel::d_ptr |
|
protected |
◆ NullItemLocation
int ctkVTKDataSetModel::NullItemLocation |
|
protected |
◆ attributeTypes
QVTK_OBJECTAttributeTypes ctkVTKDataSetModel::attributeTypes |
|
readwrite |
◆ includeNullItem
bool ctkVTKDataSetModel::includeNullItem |
|
readwrite |
This property allows adding a 'Null' item to the model, which is useful when it is necessary to offer the user an option to not select any of the items (for example, in a combo box there is always a selected item and it may be necessary to allow the user to not select any of the attributes). By default no 'Null' item is included.
Definition at line 53 of file ctkVTKDataSetModel.h.
The documentation for this class was generated from the following file: