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 =========================================================================*/
28 #ifndef vtkImageDataToUniformGrid_h
29 #define vtkImageDataToUniformGrid_h
30 
31 #include "vtkFiltersGeometryModule.h" // For export macro
32 #include "vtkDataObjectAlgorithm.h"
33 
34 class vtkDataArray;
35 class vtkFieldData;
36 class vtkImageData;
37 class vtkUniformGrid;
38 
41 {
42  public:
45  void PrintSelf(ostream &os, vtkIndent indent);
46 
48 
51  vtkSetClampMacro(Reverse, int, 0, 1);
52  vtkGetMacro(Reverse, int);
53  vtkBooleanMacro(Reverse, int);
55 
56 protected:
59 
60  virtual int RequestData(vtkInformation *req,
62  vtkInformationVector *outV);
63  virtual int RequestDataObject(vtkInformation *req,
65  vtkInformationVector *outV);
66 
69 
70  virtual int Process(vtkImageData* input, int association, const char* arrayName,
71  vtkUniformGrid* output);
72 
73 private:
74  vtkImageDataToUniformGrid(const vtkImageDataToUniformGrid&); // Not implemented.
75  void operator=(const vtkImageDataToUniformGrid&); // Not implemented.
76 
77  int Reverse;
78 };
79 
80 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
convert vtkImageData to vtkUniformGrid
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
virtual int FillInputPortInformation(int port, vtkInformation *info)
image data with blanking
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
#define VTKFILTERSGEOMETRY_EXPORT
virtual int FillOutputPortInformation(int port, vtkInformation *info)
represent and manipulate fields of data
Definition: vtkFieldData.h:55