VTK  9.5.20250904
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
26
27VTK_ABI_NAMESPACE_BEGIN
28class vtkPointSet;
29class vtkPolyData;
32
33class VTKCOMMONEXECUTIONMODEL_EXPORT VTK_MARSHALAUTO vtkPointSetAlgorithm : public vtkAlgorithm
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
41
47
52
57
62
64
74
76
86
87 // this method is not recommended for use, but lots of old style filters
88 // use it
90
95 vtkInformationVector* outputVector) override;
96
97protected:
99 ~vtkPointSetAlgorithm() override = default;
100
105 virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
106 vtkInformationVector* outputVector);
107
113 {
114 return 1;
115 }
116
122 {
123 return 1;
124 }
125
127
133 {
134 return 1;
135 }
137
139 {
140 return 1;
141 }
142
143 // see algorithm for more info
144 int FillOutputPortInformation(int port, vtkInformation* info) override;
145 int FillInputPortInformation(int port, vtkInformation* info) override;
146
147private:
149 void operator=(const vtkPointSetAlgorithm&) = delete;
150};
151
152VTK_ABI_NAMESPACE_END
153#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
#define VTK_MARSHALAUTO