VTK  9.0.3
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 
38 class vtkPointSet;
39 class vtkPolyData;
40 class vtkStructuredGrid;
42 
43 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPointSetAlgorithm : public vtkAlgorithm
44 {
45 public:
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 
107 protected:
109  ~vtkPointSetAlgorithm() override {}
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 
152 private:
154  void operator=(const vtkPointSetAlgorithm&) = delete;
155 };
156 
157 #endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:63
general representation of visualization data
Definition: vtkDataObject.h:60
a simple class to control print indentation
Definition: vtkIndent.h:34
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.
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 *)
void AddInputData(vtkDataObject *)
Assign a data object as input.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as vtkUnstructuredGrid.
void AddInputData(vtkPointSet *)
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void SetInputData(int, vtkPointSet *)
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)
void AddInputData(int, vtkPointSet *)
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 *)
void SetInputData(int, vtkDataObject *)
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:63
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
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