VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkAnnotationLayers.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkAnnotationLayers.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
32
#ifndef __vtkAnnotationLayers_h
33
#define __vtkAnnotationLayers_h
34
35
#include "
vtkDataObject.h
"
36
37
class
vtkAnnotation
;
38
class
vtkSelection
;
39
40
class
VTK_FILTERING_EXPORT
vtkAnnotationLayers
:
public
vtkDataObject
41
{
42
public
:
43
vtkTypeMacro(
vtkAnnotationLayers
,
vtkDataObject
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
static
vtkAnnotationLayers
*
New
();
46
48
49
virtual
void
SetCurrentAnnotation(
vtkAnnotation
* ann);
50
vtkGetObjectMacro(CurrentAnnotation,
vtkAnnotation
);
52
54
56
virtual
void
SetCurrentSelection(
vtkSelection
* sel);
57
virtual
vtkSelection
* GetCurrentSelection();
59
61
unsigned
int
GetNumberOfAnnotations();
62
64
vtkAnnotation
* GetAnnotation(
unsigned
int
idx);
65
67
void
AddAnnotation(
vtkAnnotation
* ann);
68
70
void
RemoveAnnotation(
vtkAnnotation
* ann);
71
73
virtual
void
Initialize
();
74
77
virtual
void
ShallowCopy
(
vtkDataObject
* other);
78
81
virtual
void
DeepCopy
(
vtkDataObject
* other);
82
84
85
static
vtkAnnotationLayers
*
GetData
(
vtkInformation
*
info
);
86
static
vtkAnnotationLayers
*
GetData
(
vtkInformationVector
* v,
int
i=0);
88
90
virtual
unsigned
long
GetMTime
();
91
92
//BTX
93
protected
:
94
vtkAnnotationLayers
();
95
~
vtkAnnotationLayers
();
96
97
class
Internals;
98
Internals*
Implementation
;
99
vtkAnnotation
*
CurrentAnnotation
;
100
101
private
:
102
vtkAnnotationLayers
(
const
vtkAnnotationLayers
&);
// Not implemented.
103
void
operator=(
const
vtkAnnotationLayers
&);
// Not implemented.
104
//ETX
105
};
106
107
#endif
Generated on Fri Aug 2 2013 12:19:47 for VTK by
1.8.4