VTK
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  =========================================================================*/
27 #ifndef vtkImageToStructuredGrid_h
28 #define vtkImageToStructuredGrid_h
29 
30 #include "vtkCommonExecutionModelModule.h" // For export macro
32 
33 class vtkStructuredGrid;
34 class vtkImageData;
35 class vtkInformation;
37 
38 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageToStructuredGrid:
40 {
41  public:
42  static vtkImageToStructuredGrid* New();
44  void PrintSelf(ostream &oss, vtkIndent indent ) override;
45 
46  protected:
48  ~vtkImageToStructuredGrid() override;
49 
50  int RequestData(
51  vtkInformation* request,
52  vtkInformationVector** inputVector,
53  vtkInformationVector* outputVector ) override;
54 
56 
59  void CopyPointData( vtkImageData*, vtkStructuredGrid* );
60  void CopyCellData( vtkImageData*, vtkStructuredGrid* );
62 
63  int FillInputPortInformation(int, vtkInformation* info) override;
64  int FillOutputPortInformation(int, vtkInformation* info ) override;
65 
66  private:
68  const vtkImageToStructuredGrid& ) = delete;
69  void operator=(const vtkImageToStructuredGrid&) = delete;
70 
71 
72 };
73 
74 #endif /* VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_ */
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
virtual int RequestData(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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
static vtkStructuredGridAlgorithm * New()
a structured grid instance.
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
Superclass for algorithms that produce only structured grid as output.
topologically regular array of data
Store zero or more vtkInformation instances.