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