VTK  9.4.20250212
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
21VTK_ABI_NAMESPACE_BEGIN
23class vtkImageData;
24class vtkInformation;
26
27class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageToStructuredGrid : public vtkStructuredGridAlgorithm
28{
29public:
32 void PrintSelf(ostream& oss, vtkIndent indent) override;
33
34protected:
37
38 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
39 vtkInformationVector* outputVector) override;
40
42
48
49 int FillInputPortInformation(int, vtkInformation* info) override;
50 int FillOutputPortInformation(int, vtkInformation* info) override;
51
52private:
54 void operator=(const vtkImageToStructuredGrid&) = delete;
55};
56
57VTK_ABI_NAMESPACE_END
58#endif /* VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_ */
topologically and geometrically regular array of data
a structured grid instance.
~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.
static vtkImageToStructuredGrid * New()
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