VTK
vtkDataSetAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetAlgorithm.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 vtkDataSetAlgorithm_h
37 #define vtkDataSetAlgorithm_h
38 
39 #include "vtkCommonExecutionModelModule.h" // For export macro
40 #include "vtkAlgorithm.h"
41 
42 class vtkDataSet;
43 class vtkImageData;
44 class vtkPolyData;
46 class vtkStructuredGrid;
48 class vtkRectilinearGrid;
49 
51 {
52 public:
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
58 
62 
66 
69 
72 
75 
78 
81 
84 
86 
92  void SetInputData(int, vtkDataSet*);
94 
96 
104 
106 
107  virtual int ProcessRequest(vtkInformation* request,
108  vtkInformationVector** inputVector,
109  vtkInformationVector* outputVector);
111 
112 protected:
115 
117 
124  vtkInformationVector*) {return 1;};
126 
128 
135  {
136  return 1;
137  };
139 
140 
142 
149  virtual int RequestDataObject(vtkInformation* request,
150  vtkInformationVector** inputVector,
151  vtkInformationVector* outputVector);
153 
155 
161  vtkInformationVector*) {return 1;};
163 
164 
165  // see algorithm for more info
168 
170 
171 private:
172  vtkDataSetAlgorithm(const vtkDataSetAlgorithm&); // Not implemented.
173  void operator=(const vtkDataSetAlgorithm&); // Not implemented.
174 };
175 
176 #endif
177 
178 
vtkStructuredPoints
A subclass of ImageData.
Definition: vtkStructuredPoints.h:39
vtkDataSetAlgorithm::GetRectilinearGridOutput
vtkRectilinearGrid * GetRectilinearGridOutput()
VTKCOMMONEXECUTIONMODEL_EXPORT
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Definition: vtkCommonExecutionModelModule.h:15
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkRectilinearGrid
a dataset that is topologically regular with variable spacing in the three coordinate directions
Definition: vtkRectilinearGrid.h:56
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkDataSetAlgorithm::GetStructuredPointsOutput
vtkStructuredPoints * GetStructuredPointsOutput()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:63
vtkDataSetAlgorithm::vtkDataSetAlgorithm
vtkDataSetAlgorithm()
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkDataSetAlgorithm.h:159
vtkDataSetAlgorithm::GetOutput
vtkDataSet * GetOutput(int)
vtkCommonExecutionModelModule.h
vtkDataSetAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
vtkDataSetAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkDataSetAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
vtkDataSetAlgorithm::GetStructuredGridOutput
vtkStructuredGrid * GetStructuredGridOutput()
vtkDataSetAlgorithm::~vtkDataSetAlgorithm
~vtkDataSetAlgorithm()
Definition: vtkDataSetAlgorithm.h:114
vtkDataSetAlgorithm::GetOutput
vtkDataSet * GetOutput()
vtkAlgorithm.h
vtkDataSetAlgorithm::GetUnstructuredGridOutput
vtkUnstructuredGrid * GetUnstructuredGridOutput()
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:51
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkDataSetAlgorithm::SetInputData
void SetInputData(int, vtkDataSet *)
vtkDataSetAlgorithm::ProcessRequest
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkDataSetAlgorithm::AddInputData
void AddInputData(int, vtkDataSet *)
vtkDataSetAlgorithm::GetPolyDataOutput
vtkPolyData * GetPolyDataOutput()
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkDataSetAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkDataSetAlgorithm::GetImageDataOutput
vtkImageData * GetImageDataOutput()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkDataSetAlgorithm::AddInputData
void AddInputData(vtkDataSet *)
vtkDataSetAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkDataSetAlgorithm.h:132
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:82
vtkDataSetAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkDataSetAlgorithm::SetInputData
void SetInputData(vtkDataSet *)
vtkDataSetAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkDataSetAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
vtkDataSetAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkDataSetAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkDataSetAlgorithm.h:122
vtkDataSetAlgorithm::GetInput
vtkDataObject * GetInput()