Go to the documentation of this file.
31 #ifndef vtkQtAnnotationLayersModelAdapter_h
32 #define vtkQtAnnotationLayersModelAdapter_h
35 #include "QVTKWin32Header.h"
59 const QModelIndexList qmil)
const;
63 const QModelIndexList qmil)
const;
75 QVariant
data(
const QModelIndex &
index,
int role = Qt::DisplayRole)
const;
79 int role = Qt::DisplayRole)
const;
81 const QModelIndex &parent = QModelIndex())
const;
83 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
84 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
97 bool noAnnotationsCheck()
const;
QModelIndex parent(const QModelIndex &index) const
GLsizei GLsizei GLenum GLenum const GLvoid * data
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
int rowCount(const QModelIndex &parent=QModelIndex()) const
Adapts annotations to a Qt item model.
virtual QItemSelection VTKAnnotationLayersToQItemSelection(vtkAnnotationLayers *vtkann) const
vtkQtAnnotationLayersModelAdapter(QObject *parent=0)
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
virtual void SetColorColumnName(const char *name)
A node in a selection tree. Used to store selection results.
~vtkQtAnnotationLayersModelAdapter()
virtual void SetKeyColumnName(const char *name)
GLuint const GLchar * name
Stores a ordered collection of annotation sets.
GLsizei const GLfloat * value
virtual QItemSelection VTKIndexSelectionToQItemSelection(vtkSelection *vtksel) const
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
GLenum GLenum GLvoid GLvoid * column
Superclass for Qt model adapters.
GLenum GLenum GLvoid * row
Qt::ItemFlags flags(const QModelIndex &index) const
virtual vtkDataObject * GetVTKDataObject() const
#define VTKGUISUPPORTQT_EXPORT
void setAnnotationLayers(vtkAnnotationLayers *annotations)
int columnCount(const QModelIndex &parent=QModelIndex()) const
vtkQtAnnotationLayersModelAdapter(vtkAnnotationLayers *ann, QObject *parent=0)
vtkAnnotationLayers * annotationLayers() const
virtual vtkAnnotationLayers * QModelIndexListToVTKAnnotationLayers(const QModelIndexList qmil) const
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
general representation of visualization data
virtual void SetVTKDataObject(vtkDataObject *data)
virtual vtkSelection * QModelIndexListToVTKIndexSelection(const QModelIndexList qmil) const