VTK  9.4.20241114
vtkPointSetAlgorithm.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
20#ifndef vtkPointSetAlgorithm_h
21#define vtkPointSetAlgorithm_h
22
23#include "vtkAlgorithm.h"
24#include "vtkCommonExecutionModelModule.h" // For export macro
25
26VTK_ABI_NAMESPACE_BEGIN
27class vtkPointSet;
28class vtkPolyData;
31
32class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPointSetAlgorithm : public vtkAlgorithm
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
46
51
56
61
63
73
75
85
86 // this method is not recommended for use, but lots of old style filters
87 // use it
89
94 vtkInformationVector* outputVector) override;
95
96protected:
98 ~vtkPointSetAlgorithm() override = default;
99
104 virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
105 vtkInformationVector* outputVector);
106
112 {
113 return 1;
114 }
115
121 {
122 return 1;
123 }
124
126
132 {
133 return 1;
134 }
136
138 {
139 return 1;
140 }
141
142 // see algorithm for more info
143 int FillOutputPortInformation(int port, vtkInformation* info) override;
144 int FillInputPortInformation(int port, vtkInformation* info) override;
145
146private:
148 void operator=(const vtkPointSetAlgorithm&) = delete;
149};
150
151VTK_ABI_NAMESPACE_END
152#endif
Superclass for all sources, filters, and sinks in VTK.
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
virtual int ComputeInputUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
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:98
concrete dataset represents vertices, lines, polygons, and triangle strips
topologically regular array of data
dataset represents arbitrary combinations of all possible cell types
int vtkTypeBool
Definition vtkABI.h:64