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) override;
51 
52 protected:
54  ~vtkSimpleImageToImageFilter() override;
55 
56  // These are called by the superclass.
59  vtkInformationVector *) override;
60 
61  // You don't have to touch this unless you have a good reason.
64  vtkInformationVector *) 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:
71  void operator=(const vtkSimpleImageToImageFilter&) = delete;
72 };
73 
74 #endif
75 
76 
77 
78 
79 
80 
81 
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: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.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.