VTK  9.1.0
vtkImageToStructuredGrid.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkImageDataToStructuredGridFilter.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 =========================================================================*/
24#ifndef vtkImageToStructuredGrid_h
25#define vtkImageToStructuredGrid_h
26
27#include "vtkCommonExecutionModelModule.h" // For export macro
29
31class vtkImageData;
32class vtkInformation;
34
35class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageToStructuredGrid : public vtkStructuredGridAlgorithm
36{
37public:
40 void PrintSelf(ostream& oss, vtkIndent indent) override;
41
42protected:
45
46 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
47 vtkInformationVector* outputVector) override;
48
50
56
57 int FillInputPortInformation(int, vtkInformation* info) override;
58 int FillOutputPortInformation(int, vtkInformation* info) override;
59
60private:
62 void operator=(const vtkImageToStructuredGrid&) = delete;
63};
64
65#endif /* VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_ */
topologically and geometrically regular array of data
Definition: vtkImageData.h:157
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:113
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