VTK  9.3.1
vtkRectilinearGridToPointSet.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 
22 #ifndef vtkRectilinearGridToPointSet_h
23 #define vtkRectilinearGridToPointSet_h
24 
25 #include "vtkFiltersGeneralModule.h" // For export macro
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class vtkRectilinearGrid;
30 class vtkStructuredData;
31 
32 class VTKFILTERSGENERAL_EXPORT vtkRectilinearGridToPointSet : public vtkStructuredGridAlgorithm
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
40 protected:
42  ~vtkRectilinearGridToPointSet() override;
43 
44  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
45  vtkInformationVector* outputVector) override;
46 
48 
49 private:
51  void operator=(const vtkRectilinearGridToPointSet&) = delete;
52 
53  int CopyStructure(vtkStructuredGrid* outData, vtkRectilinearGrid* inData);
54 };
55 
56 VTK_ABI_NAMESPACE_END
57 #endif // vtkRectilinearGridToPointSet_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
Singleton class for topologically regular data.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
Converts a vtkRectilinearGrid to a vtkPointSet.
static vtkStructuredGridAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
Superclass for algorithms that produce only structured grid as output.
topologically regular array of data
Store zero or more vtkInformation instances.