VTK
vtkDataSetToDataSetFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetToDataSetFilter.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 =========================================================================*/
40 #ifndef __vtkDataSetToDataSetFilter_h
41 #define __vtkDataSetToDataSetFilter_h
42 
43 #include "vtkDataSetSource.h"
44 
45 class vtkDataSet;
46 class vtkPolyData;
47 class vtkRectilinearGrid;
48 class vtkStructuredGrid;
51 
53 {
54 
55 public:
57  void PrintSelf(ostream& os, vtkIndent indent);
58 
60  void SetInput(vtkDataSet *input);
61 
63 
66  vtkDataSet *GetOutput(int idx);
68 
70  virtual vtkPolyData *GetPolyDataOutput();
71 
73  virtual vtkStructuredPoints *GetStructuredPointsOutput();
74 
76  virtual vtkStructuredGrid *GetStructuredGridOutput();
77 
79  virtual vtkUnstructuredGrid *GetUnstructuredGridOutput();
80 
82  virtual vtkRectilinearGrid *GetRectilinearGridOutput();
83 
85  vtkDataSet *GetInput();
86 
88  virtual void ComputeInputUpdateExtents( vtkDataObject *output );
89 
91 
95  virtual int ProcessRequest(vtkInformation*,
99 
100 protected:
103 
104  void ExecuteInformation();
105 
106  virtual int FillInputPortInformation(int, vtkInformation*);
107 
108  // This is called by the superclass.
109  // This is the method you should override.
110  virtual int RequestDataObject(vtkInformation* request,
111  vtkInformationVector** inputVector,
112  vtkInformationVector* outputVector);
113 
114 private:
115  vtkDataSetToDataSetFilter(const vtkDataSetToDataSetFilter&); // Not implemented.
116  void operator=(const vtkDataSetToDataSetFilter&); // Not implemented.
117 };
118 
119 #endif
120 
121 
122 
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
virtual int FillInputPortInformation(int, vtkInformation *)
Store vtkAlgorithm input/output information.
#define VTK_FILTERING_EXPORT
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:81
a simple class to control print indentation
Definition: vtkIndent.h:37
dataset represents arbitrary combinations of all possible cell types
A subclass of ImageData.
topologically regular array of data
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
vtkDataSet * GetOutput()
virtual void ExecuteInformation()
abstract class whose subclasses generate datasets
helper class to get VTK data object types as string and instantiate them
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void ComputeInputUpdateExtents(vtkDataObject *output)