VTK  9.0.1
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:
54  ~vtkSimpleImageToImageFilter() override;
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
Store vtkAlgorithm input/output information.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
a simple class to control print indentation
Definition: vtkIndent.h:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
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.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.