VTK  9.5.20251216
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
21#ifndef vtkPointSetAlgorithm_h
22#define vtkPointSetAlgorithm_h
23
24#include "vtkAlgorithm.h"
25#include "vtkCommonExecutionModelModule.h" // For export macro
26#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
27
28VTK_ABI_NAMESPACE_BEGIN
29class vtkPointSet;
30class vtkPolyData;
33
34class VTKCOMMONEXECUTIONMODEL_EXPORT VTK_MARSHALAUTO vtkPointSetAlgorithm : public vtkAlgorithm
35{
36public:
38
44 void PrintSelf(ostream& os, vtkIndent indent) override;
46
48
54
59
64
69
71
81
83
93
94 // This method is not recommended for use, but lots of old style filters
95 // use it
97
102 vtkInformationVector* outputVector) override;
103
104protected:
106 ~vtkPointSetAlgorithm() override = default;
107
112 virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
113 vtkInformationVector* outputVector);
114
123
129 {
130 return 1;
131 }
132
134
140 {
141 return 1;
142 }
143
144
149
150 // see algorithm for more info
151 int FillOutputPortInformation(int port, vtkInformation* info) override;
152 int FillInputPortInformation(int port, vtkInformation* info) override;
153
154private:
156 void operator=(const vtkPointSetAlgorithm&) = delete;
157};
158
159VTK_ABI_NAMESPACE_END
160#endif
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.
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()
Standard methods for instantiation, obtaining type information, and printing instances of the class.
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
Standard methods for instantiation, obtaining type information, and printing instances of the class.
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
#define VTK_MARSHALAUTO
#define vtkPointSetAlgorithm