|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   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(
vtkAnnotationLayers* vtkann) 
const;
 
   79   QVariant 
data(
const QModelIndex& 
index, 
int role = Qt::DisplayRole) 
const override;
 
   80   bool setData(
const QModelIndex& 
index, 
const QVariant& 
value, 
int role = Qt::EditRole) 
override;
 
   81   Qt::ItemFlags flags(
const QModelIndex& 
index) 
const override;
 
   83     int section, Qt::Orientation 
orientation, 
int role = Qt::DisplayRole) 
const override;
 
   84   QModelIndex 
index(
int row, 
int column, 
const QModelIndex& parent = QModelIndex()) 
const override;
 
   85   QModelIndex parent(
const QModelIndex& 
index) 
const override;
 
   86   int rowCount(
const QModelIndex& parent = QModelIndex()) 
const override;
 
   87   int columnCount(
const QModelIndex& parent = QModelIndex()) 
const override;
 
  100   bool noAnnotationsCheck() 
const;
 
  
Adapts annotations to a Qt item model.
virtual void SetKeyColumnName(const char *name)=0
data object that represents a "selection" in VTK.
virtual void SetColorColumnName(const char *name)=0
Stores a ordered collection of annotation sets.
virtual vtkSelection * QModelIndexListToVTKIndexSelection(const QModelIndexList qmil) const =0
Selection conversion from VTK land to Qt land.
Superclass for Qt model adapters.
virtual void SetVTKDataObject(vtkDataObject *data)=0
Set/Get the VTK data object as input to this adapter.
vtkAnnotationLayers * annotationLayers() const
virtual vtkDataObject * GetVTKDataObject() const =0
general representation of visualization data
virtual QItemSelection VTKIndexSelectionToQItemSelection(vtkSelection *vtksel) const =0