VTK
vtkSimpleImageToImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSimpleImageToImageFilter.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 =========================================================================*/
40 #ifndef vtkSimpleImageToImageFilter_h
41 #define vtkSimpleImageToImageFilter_h
42 
43 #include "vtkCommonExecutionModelModule.h" // For export macro
44 #include "vtkImageAlgorithm.h"
45 
46 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkSimpleImageToImageFilter : public vtkImageAlgorithm
47 {
48 public:
50  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
51 
52 protected:
54  ~vtkSimpleImageToImageFilter() VTK_OVERRIDE;
55 
56  // These are called by the superclass.
57  int RequestUpdateExtent (vtkInformation *,
59  vtkInformationVector *) VTK_OVERRIDE;
60 
61  // You don't have to touch this unless you have a good reason.
62  int RequestData(vtkInformation *,
63  vtkInformationVector **,
64  vtkInformationVector *) VTK_OVERRIDE;
65 
66  // In the simplest case, this is the only method you need to define.
67  virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) = 0;
68 
69 private:
70  vtkSimpleImageToImageFilter(const vtkSimpleImageToImageFilter&) VTK_DELETE_FUNCTION;
71  void operator=(const vtkSimpleImageToImageFilter&) VTK_DELETE_FUNCTION;
72 };
73 
74 #endif
75 
76 
77 
78 
79 
80 
81 
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
Generic image filter with one input.
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.