VTK  9.1.0
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=========================================================================*/
26#ifndef vtkImageDataToUniformGrid_h
27#define vtkImageDataToUniformGrid_h
28
30#include "vtkFiltersGeometryModule.h" // For export macro
31
32class vtkDataArray;
33class vtkFieldData;
34class vtkImageData;
35class vtkUniformGrid;
36
37class VTKFILTERSGEOMETRY_EXPORT vtkImageDataToUniformGrid : public vtkDataObjectAlgorithm
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
51 vtkSetClampMacro(Reverse, vtkTypeBool, 0, 1);
52 vtkGetMacro(Reverse, vtkTypeBool);
53 vtkBooleanMacro(Reverse, vtkTypeBool);
55
56protected:
59
61 vtkInformation* req, vtkInformationVector** inV, vtkInformationVector* outV) override;
63 vtkInformation* req, vtkInformationVector** inV, vtkInformationVector* outV) override;
64
67
68 virtual int Process(
69 vtkImageData* input, int association, const char* arrayName, vtkUniformGrid* output);
70
71private:
73 void operator=(const vtkImageDataToUniformGrid&) = delete;
74
75 vtkTypeBool Reverse;
76};
77
78#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
Superclass for algorithms that produce only data object as output.
represent and manipulate fields of data
Definition: vtkFieldData.h:164
convert vtkImageData to vtkUniformGrid
~vtkImageDataToUniformGrid() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkImageDataToUniformGrid * New()
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
int RequestData(vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) override
int RequestDataObject(vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int Process(vtkImageData *input, int association, const char *arrayName, vtkUniformGrid *output)
topologically and geometrically regular array of data
Definition: vtkImageData.h:157
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
image data with blanking
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69