VTK
vtkAnnotationLayersAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAnnotationLayersAlgorithm.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 =========================================================================*/
32 #ifndef vtkAnnotationLayersAlgorithm_h
33 #define vtkAnnotationLayersAlgorithm_h
34 
35 #include "vtkCommonExecutionModelModule.h" // For export macro
36 #include "vtkAlgorithm.h"
37 #include "vtkAnnotationLayers.h" // makes things a bit easier
38 
39 class vtkDataSet;
40 
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
50  virtual int ProcessRequest(vtkInformation*,
54 
56 
57  vtkAnnotationLayers* GetOutput() { return this->GetOutput(0); }
58  vtkAnnotationLayers* GetOutput(int index);
60 
62 
65  void SetInputData(vtkDataObject * obj) { this->SetInputData(0, obj); }
66  void SetInputData(int index, vtkDataObject* obj);
68 
69 protected:
72 
73  // convenience method
74  virtual int RequestInformation(vtkInformation* request,
75  vtkInformationVector** inputVector,
76  vtkInformationVector* outputVector);
77 
79 
81  virtual int RequestData(vtkInformation* request,
82  vtkInformationVector** inputVector,
83  vtkInformationVector* outputVector);
85 
87 
89  virtual int RequestUpdateExtent(vtkInformation*,
93 
94  // see algorithm for more info
97 
98 private:
100  void operator=(const vtkAnnotationLayersAlgorithm&); // Not implemented.
101 };
102 
103 #endif
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Superclass for algorithms that produce only vtkAnnotationLayers as output.
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int FillInputPortInformation(int port, vtkInformation *info)
Stores a ordered collection of annotation sets.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:64
void PrintSelf(ostream &os, vtkIndent indent)