VTK
vtkPointSetAlgorithm.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPointSetAlgorithm.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 vtkPointSetAlgorithm_h
33#define vtkPointSetAlgorithm_h
34
35#include "vtkCommonExecutionModelModule.h" // For export macro
36#include "vtkAlgorithm.h"
37
38class vtkPointSet;
39class vtkPolyData;
42
43class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPointSetAlgorithm : public vtkAlgorithm
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
49
51
57
62
67
72
74
84
86
96
97 // this method is not recommended for use, but lots of old style filters
98 // use it
100
105 vtkInformationVector** inputVector,
106 vtkInformationVector* outputVector) VTK_OVERRIDE;
107
108protected:
110 ~vtkPointSetAlgorithm() VTK_OVERRIDE {}
111
116 virtual int RequestDataObject(vtkInformation* request,
117 vtkInformationVector** inputVector,
118 vtkInformationVector* outputVector);
119
126 vtkInformationVector*) {return 1;};
127
134 vtkInformationVector*) {return 1;};
135
137
144 {
145 return 1;
146 };
148
149 // see algorithm for more info
152
153private:
154 vtkPointSetAlgorithm(const vtkPointSetAlgorithm&) VTK_DELETE_FUNCTION;
155 void operator=(const vtkPointSetAlgorithm&) VTK_DELETE_FUNCTION;
156};
157
158#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
general representation of visualization data
Definition: vtkDataObject.h:65
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as vtkUnstructuredGrid.
void SetInputData(vtkDataObject *)
Assign a data object as input.
int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
vtkPolyData * GetPolyDataOutput()
Get the output as vtkPolyData.
vtkDataObject * GetInput()
vtkPointSet * GetOutput()
Get the output data object for a port on this algorithm.
void SetInputData(vtkPointSet *)
void AddInputData(vtkDataObject *)
Assign a data object as input.
vtkPointSet * GetOutput(int)
static vtkPointSetAlgorithm * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void AddInputData(vtkPointSet *)
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void SetInputData(int, vtkPointSet *)
virtual int ComputeInputUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int ExecuteInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void AddInputData(int, vtkPointSet *)
vtkStructuredGrid * GetStructuredGridOutput()
Get the output as vtkStructuredGrid.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void AddInputData(int, vtkDataObject *)
void SetInputData(int, vtkDataObject *)
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:43
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
topologically regular array of data
dataset represents arbitrary combinations of all possible cell types
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447