VTK  9.3.20240327
vtkImageToStructuredGrid.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
15 #ifndef vtkImageToStructuredGrid_h
16 #define vtkImageToStructuredGrid_h
17 
18 #include "vtkCommonExecutionModelModule.h" // For export macro
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class vtkStructuredGrid;
23 class vtkImageData;
24 class vtkInformation;
26 
27 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageToStructuredGrid : public vtkStructuredGridAlgorithm
28 {
29 public:
32  void PrintSelf(ostream& oss, vtkIndent indent) override;
33 
34 protected:
37 
38  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
39  vtkInformationVector* outputVector) override;
40 
42 
48 
51 
52 private:
54  void operator=(const vtkImageToStructuredGrid&) = delete;
55 };
56 
57 VTK_ABI_NAMESPACE_END
58 #endif /* VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_ */
topologically and geometrically regular array of data
Definition: vtkImageData.h:155
a structured grid instance.
static vtkImageToStructuredGrid * New()
~vtkImageToStructuredGrid() override
int FillOutputPortInformation(int, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void CopyPointData(vtkImageData *, vtkStructuredGrid *)
Helper function to copy point/cell data from image to grid.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void CopyCellData(vtkImageData *, vtkStructuredGrid *)
Helper function to copy point/cell data from image to grid.
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 only structured grid as output.
topologically regular array of data
@ info
Definition: vtkX3D.h:376