32 #ifndef vtkQtAnnotationLayersModelAdapter_h
33 #define vtkQtAnnotationLayersModelAdapter_h
35 #include "vtkConfigure.h"
36 #include "vtkGUISupportQtModule.h"
64 const QModelIndexList qmil)
const;
65 virtual QItemSelection VTKAnnotationLayersToQItemSelection(
68 const QModelIndexList qmil)
const;
82 QVariant
data(
const QModelIndex &
index,
int role = Qt::DisplayRole)
const;
83 bool setData(
const QModelIndex &
index,
const QVariant &
value,
int role = Qt::EditRole);
84 Qt::ItemFlags flags(
const QModelIndex &
index)
const;
85 QVariant headerData(
int section, Qt::Orientation
orientation,
86 int role = Qt::DisplayRole)
const;
87 QModelIndex
index(
int row,
int column,
88 const QModelIndex &parent = QModelIndex())
const;
89 QModelIndex parent(
const QModelIndex &
index)
const;
90 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
91 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
104 bool noAnnotationsCheck()
const;
vtkAnnotationLayers * annotationLayers() const
Set up the model based on the current table.
Adapts annotations to a Qt item model.
A node in a selection tree.
virtual vtkSelection * QModelIndexListToVTKIndexSelection(const QModelIndexList qmil) const =0
Selection conversion from VTK land to Qt land.
virtual void SetColorColumnName(const char *name)=0
virtual vtkDataObject * GetVTKDataObject() const =0
Set/Get the VTK data object as input to this adapter.
virtual QItemSelection VTKIndexSelectionToQItemSelection(vtkSelection *vtksel) const =0
Selection conversion from VTK land to Qt land.
Superclass for Qt model adapters.
virtual void SetKeyColumnName(const char *name)=0
Stores a ordered collection of annotation sets.
virtual void SetVTKDataObject(vtkDataObject *data)=0
Set/Get the VTK data object as input to this adapter.
general representation of visualization data