VTK  9.0.2
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) override;
51 
52 protected:
55 
56  // These are called by the superclass.
58 
59  // You don't have to touch this unless you have a good reason.
61 
62  // In the simplest case, this is the only method you need to define.
63  virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) = 0;
64 
65 private:
67  void operator=(const vtkSimpleImageToImageFilter&) = delete;
68 };
69 
70 #endif
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic image filter with one input.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
~vtkSimpleImageToImageFilter() override
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output)=0
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.