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 override;
82 QVariant
data(
const QModelIndex &
index,
int role = Qt::DisplayRole)
const override;
83 bool setData(
const QModelIndex &index,
const QVariant &
value,
int role = Qt::EditRole)
override;
84 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
85 QVariant headerData(
int section, Qt::Orientation
orientation,
86 int role = Qt::DisplayRole)
const override;
87 QModelIndex
index(
int row,
int column,
88 const QModelIndex &parent = QModelIndex())
const override;
89 QModelIndex parent(
const QModelIndex &index)
const override;
90 int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
91 int columnCount(
const QModelIndex &parent = QModelIndex())
const override;
104 bool noAnnotationsCheck()
const;
vtkAnnotationLayers * annotationLayers() const
Set up the model based on the current table.
Adapts annotations to a Qt item model.
data object that represents a "selection" in VTK.
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