VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkAnnotation.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkAnnotation.h
5
6
-------------------------------------------------------------------------
7
Copyright 2008 Sandia Corporation.
8
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9
the U.S. Government retains certain rights in this software.
10
-------------------------------------------------------------------------
11
12
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13
All rights reserved.
14
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15
16
This software is distributed WITHOUT ANY WARRANTY; without even
17
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18
PURPOSE. See the above copyright notice for more information.
19
20
=========================================================================*/
21
35
#ifndef __vtkAnnotation_h
36
#define __vtkAnnotation_h
37
38
#include "
vtkDataObject.h
"
39
40
class
vtkInformationStringKey
;
41
class
vtkInformationDoubleVectorKey
;
42
class
vtkInformationIntegerVectorKey
;
43
class
vtkInformationDataObjectKey
;
44
class
vtkSelection
;
45
46
class
VTK_FILTERING_EXPORT
vtkAnnotation
:
public
vtkDataObject
47
{
48
public
:
49
vtkTypeMacro(
vtkAnnotation
,
vtkDataObject
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent);
51
static
vtkAnnotation
*
New
();
52
54
55
vtkGetObjectMacro(Selection,
vtkSelection
);
56
virtual
void
SetSelection(
vtkSelection
* selection);
58
60
61
static
vtkAnnotation
*
GetData
(
vtkInformation
*
info
);
62
static
vtkAnnotation
*
GetData
(
vtkInformationVector
* v,
int
i=0);
64
66
static
vtkInformationStringKey
* LABEL();
67
70
static
vtkInformationDoubleVectorKey
* COLOR();
71
74
static
vtkInformationDoubleKey
* OPACITY();
75
77
static
vtkInformationIntegerKey
* ICON_INDEX();
78
81
static
vtkInformationIntegerKey
* ENABLE();
82
84
static
vtkInformationIntegerKey
* HIDE();
85
87
static
vtkInformationDataObjectKey
* DATA();
88
90
virtual
void
Initialize
();
91
94
virtual
void
ShallowCopy
(
vtkDataObject
* other);
95
98
virtual
void
DeepCopy
(
vtkDataObject
* other);
99
101
virtual
unsigned
long
GetMTime
();
102
103
//BTX
104
protected
:
105
vtkAnnotation
();
106
~
vtkAnnotation
();
107
108
vtkSelection
*
Selection
;
109
110
private
:
111
vtkAnnotation
(
const
vtkAnnotation
&);
// Not implemented.
112
void
operator=(
const
vtkAnnotation
&);
// Not implemented.
113
//ETX
114
};
115
116
#endif
117
Generated on Sun Sep 9 2012 13:03:27 for VTK by
1.8.1.2