VTK
vtkAnnotationLink.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkAnnotationLink.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=========================================================================*/
50#ifndef vtkAnnotationLink_h
51#define vtkAnnotationLink_h
52
53#include "vtkFiltersGeneralModule.h" // For export macro
55
56class vtkCommand;
58class vtkInformation;
60class vtkSelection;
61class vtkTable;
62
63class VTKFILTERSGENERAL_EXPORT vtkAnnotationLink : public vtkAnnotationLayersAlgorithm
64{
65public:
68 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
69
71
74 vtkGetObjectMacro(AnnotationLayers, vtkAnnotationLayers);
77
79
85
87
96
100 vtkMTimeType GetMTime() VTK_OVERRIDE;
101
102protected:
104 ~vtkAnnotationLink() VTK_OVERRIDE;
105
109 virtual void ProcessEvents(vtkObject* caller, unsigned long eventId,
110 void* callData);
111
115 int FillInputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
116
120 int FillOutputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
121
125 void ShallowCopyToOutput(
126 vtkAnnotationLayers* input,
127 vtkAnnotationLayers* output,
128 vtkSelection* sel);
129
133 int RequestData(
135 vtkInformationVector **inVector,
136 vtkInformationVector *outVector) VTK_OVERRIDE;
137
141 vtkAnnotationLayers* AnnotationLayers;
142
147
148
149private:
150 vtkAnnotationLink(const vtkAnnotationLink&) VTK_DELETE_FUNCTION;
151 void operator=(const vtkAnnotationLink&) VTK_DELETE_FUNCTION;
152
153 class Command;
154 friend class Command;
155 Command* Observer;
156
157};
158
159#endif
Superclass for algorithms that produce only vtkAnnotationLayers as output.
Stores a ordered collection of annotation sets.
superclass for callback/observer methods
Definition: vtkCommand.h:342
maintain an unordered list of data objects
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
abstract base class for most VTK objects
Definition: vtkObject.h:60
A node in a selection tree.
Definition: vtkSelection.h:44
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:69
@ info
Definition: vtkX3D.h:376
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248