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
46class VTKCOMMONEXECUTIONMODEL_EXPORT vtkSimpleImageToImageFilter : public vtkImageAlgorithm
47{
48public:
50 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
51
52protected:
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 *,
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
69private:
71 void operator=(const vtkSimpleImageToImageFilter&) VTK_DELETE_FUNCTION;
72};
73
74#endif
75
76
77
78
79
80
81
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic image filter with one input.
~vtkSimpleImageToImageFilter() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.