VTK  9.3.20240329
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 
26 VTK_ABI_NAMESPACE_BEGIN
27 class vtkPointSet;
28 class vtkPolyData;
29 class vtkStructuredGrid;
31 
32 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPointSetAlgorithm : public vtkAlgorithm
33 {
34 public:
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 
96 protected:
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
145 
146 private:
148  void operator=(const vtkPointSetAlgorithm&) = delete;
149 };
150 
151 VTK_ABI_NAMESPACE_END
152 #endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:162
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.
vtkPolyData * GetPolyDataOutput()
Get the output as vtkPolyData.
vtkStructuredGrid * GetStructuredGridOutput()
Get the output as vtkStructuredGrid.
virtual int ComputeInputUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObject * GetInput()
void SetInputData(vtkDataObject *)
Assign a data object as input.
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.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
~vtkPointSetAlgorithm() override=default
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as vtkUnstructuredGrid.
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
vtkPointSet * GetOutput(int)
Get the output data object for a port on this algorithm.
void AddInputData(int, vtkPointSet *)
Assign a data object as input.
static vtkPointSetAlgorithm * New()
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
Definition: vtkPolyData.h:181
topologically regular array of data
dataset represents arbitrary combinations of all possible cell types
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64