VTK  9.1.0
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 "vtkAlgorithm.h"
36#include "vtkCommonExecutionModelModule.h" // For export macro
37
38class vtkPointSet;
39class vtkPolyData;
42
43class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPointSetAlgorithm : public vtkAlgorithm
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent) 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* outputVector) override;
106
107protected:
109 ~vtkPointSetAlgorithm() override = default;
110
115 virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
116 vtkInformationVector* outputVector);
117
123 {
124 return 1;
125 }
126
132 {
133 return 1;
134 }
135
137
143 {
144 return 1;
145 }
147
148 // see algorithm for more info
151
152private:
154 void operator=(const vtkPointSetAlgorithm&) = delete;
155};
156
157#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:114
general representation of visualization data
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
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 *)
Assign a data object as input.
void AddInputData(vtkDataObject *)
Assign a data object as input.
vtkPointSet * GetOutput(int)
Get the output data object for a port on this algorithm.
static vtkPointSetAlgorithm * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
~vtkPointSetAlgorithm() override=default
void AddInputData(vtkPointSet *)
Assign a data object as input.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void SetInputData(int, vtkPointSet *)
Assign a data object as input.
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.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
void AddInputData(int, vtkPointSet *)
Assign a data object as input.
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 *)
Assign a data object as input.
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
concrete class for storing a set of points
Definition: vtkPointSet.h:106
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:195
topologically regular array of data
dataset represents arbitrary combinations of all possible cell types
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69