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 =========================================================================*/
36 #ifndef __vtkAnnotationLayersAlgorithm_h
37 #define __vtkAnnotationLayersAlgorithm_h
38 
39 #include "vtkAlgorithm.h"
40 #include "vtkAnnotationLayers.h" // makes things a bit easier
41 
42 class vtkDataSet;
43 
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
53  virtual int ProcessRequest(vtkInformation*,
57 
59 
60  vtkAnnotationLayers* GetOutput() { return this->GetOutput(0); }
61  vtkAnnotationLayers* GetOutput(int index);
63 
65 
72  void SetInput(vtkDataObject * obj) { this->SetInput(0, obj); }
73  void SetInput(int index, vtkDataObject* obj);
75 
76 protected:
79 
80  // convenience method
81  virtual int RequestInformation(vtkInformation* request,
82  vtkInformationVector** inputVector,
83  vtkInformationVector* outputVector);
84 
86 
88  virtual int RequestData(vtkInformation* request,
89  vtkInformationVector** inputVector,
90  vtkInformationVector* outputVector);
92 
94 
96  virtual int RequestUpdateExtent(vtkInformation*,
100 
101  // see algorithm for more info
104 
105 private:
107  void operator=(const vtkAnnotationLayersAlgorithm&); // Not implemented.
108 };
109 
110 #endif
Store vtkAlgorithm input/output information.
#define VTK_FILTERING_EXPORT
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
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:59
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:37
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:70
void PrintSelf(ostream &os, vtkIndent indent)