Qt model for mesh selection This class use the Qt model/view design.
More...
#include <MeshSelectionModel.h>
Qt model for mesh selection This class use the Qt model/view design.
◆ InsertionPolicy
Enumerator |
---|
REPLACE | |
MERGE | |
SUBTRACT | |
DISCARD | |
◆ MeshSelectionModel()
camitk::MeshSelectionModel::MeshSelectionModel |
( |
MeshComponent *const |
meshComp | ) |
|
◆ columnCount()
int camitk::MeshSelectionModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
Number of selection columns.
◆ data()
QVariant camitk::MeshSelectionModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ flags()
Qt::ItemFlags camitk::MeshSelectionModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ headerData()
QVariant camitk::MeshSelectionModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ insertSelection()
int camitk::MeshSelectionModel::insertSelection |
( |
const QString & |
name, |
|
|
int |
fieldType, |
|
|
int |
contentType, |
|
|
vtkSmartPointer< vtkAbstractArray > |
array, |
|
|
InsertionPolicy |
policy = REPLACE |
|
) |
| |
◆ removeSelection()
int camitk::MeshSelectionModel::removeSelection |
( |
const QString & |
name | ) |
|
◆ rowCount()
int camitk::MeshSelectionModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ setData()
bool camitk::MeshSelectionModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
override |
◆ contentName
QMap< int, QString > camitk::MeshSelectionModel::contentName |
|
private |
◆ fieldName
QMap< int, QString > camitk::MeshSelectionModel::fieldName |
|
private |
The component where the selection are stored.
◆ meshComponent
The documentation for this class was generated from the following files: