VTK
vtkImageDataToUniformGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageDataToUniformGrid.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 =========================================================================*/
29 #ifndef vtkImageDataToUniformGrid_h
30 #define vtkImageDataToUniformGrid_h
31 
32 #include "vtkFiltersGeometryModule.h" // For export macro
33 #include "vtkDataObjectAlgorithm.h"
34 
35 class vtkDataArray;
36 class vtkFieldData;
37 class vtkImageData;
38 class vtkUniformGrid;
39 
40 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataToUniformGrid
42 {
43  public:
46  void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE;
47 
49 
55  vtkSetClampMacro(Reverse, int, 0, 1);
56  vtkGetMacro(Reverse, int);
57  vtkBooleanMacro(Reverse, int);
59 
60 protected:
62  ~vtkImageDataToUniformGrid() VTK_OVERRIDE;
63 
64  int RequestData(vtkInformation *req,
66  vtkInformationVector *outV) VTK_OVERRIDE;
67  int RequestDataObject(vtkInformation *req,
69  vtkInformationVector *outV) VTK_OVERRIDE;
70 
71  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
72  int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
73 
74  virtual int Process(vtkImageData* input, int association, const char* arrayName,
75  vtkUniformGrid* output);
76 
77 private:
78  vtkImageDataToUniformGrid(const vtkImageDataToUniformGrid&) VTK_DELETE_FUNCTION;
79  void operator=(const vtkImageDataToUniformGrid&) VTK_DELETE_FUNCTION;
80 
81  int Reverse;
82 };
83 
84 #endif
convert vtkImageData to vtkUniformGrid
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
image data with blanking
Superclass for algorithms that produce only data object as output.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
represent and manipulate fields of data
Definition: vtkFieldData.h:56
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.