VTK
dox
opt
build
vtk6-6.3.0+dfsg2
Views
Qt
vtkQtAnnotationView.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtAnnotationView.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
32
#ifndef vtkQtAnnotationView_h
33
#define vtkQtAnnotationView_h
34
35
#include "
vtkViewsQtModule.h
"
// For export macro
36
#include "QVTKWin32Header.h"
37
#include "
vtkQtView.h
"
38
#include <QObject>
39
40
#include <QPointer>
41
#include "
vtkQtAnnotationLayersModelAdapter.h
"
42
43
class
QItemSelection;
44
class
QTableView;
45
46
class
VTKVIEWSQT_EXPORT
vtkQtAnnotationView
:
public
vtkQtView
47
{
48
Q_OBJECT
49
50
public
:
51
static
vtkQtAnnotationView
*
New
();
52
vtkTypeMacro
(
vtkQtAnnotationView
,
vtkQtView
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
58
virtual
QWidget*
GetWidget
();
59
61
virtual
void
Update
();
62
63
protected
:
64
vtkQtAnnotationView
();
65
~vtkQtAnnotationView
();
66
67
private
slots:
68
void
slotQtSelectionChanged(
const
QItemSelection&,
const
QItemSelection&);
69
70
private
:
71
unsigned
long
LastInputMTime;
72
73
QPointer<QTableView> View;
74
vtkQtAnnotationLayersModelAdapter
* Adapter;
75
76
vtkQtAnnotationView
(
const
vtkQtAnnotationView
&);
// Not implemented.
77
void
operator=(
const
vtkQtAnnotationView
&);
// Not implemented.
78
79
};
80
81
#endif
vtkQtAnnotationView::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkQtAnnotationView::~vtkQtAnnotationView
~vtkQtAnnotationView()
vtkQtAnnotationLayersModelAdapter
Adapts annotations to a Qt item model.
Definition:
vtkQtAnnotationLayersModelAdapter.h:42
vtkQtAnnotationLayersModelAdapter.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkViewsQtModule.h
vtkQtAnnotationView::New
static vtkQtAnnotationView * New()
VTKVIEWSQT_EXPORT
#define VTKVIEWSQT_EXPORT
Definition:
vtkViewsQtModule.h:15
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkQtAnnotationView::GetWidget
virtual QWidget * GetWidget()
vtkQtAnnotationView::vtkQtAnnotationView
vtkQtAnnotationView()
vtkQtAnnotationView
A VTK view that displays the annotations on its annotation link.
Definition:
vtkQtAnnotationView.h:47
vtkQtAnnotationView::Update
virtual void Update()
vtkQtView.h
vtkQtView
Superclass for Qt widget-based views.
Definition:
vtkQtView.h:32
Generated by
1.8.20