VTK  9.3.1
vtkSimpleImageToImageFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
28 #ifndef vtkSimpleImageToImageFilter_h
29 #define vtkSimpleImageToImageFilter_h
30 
31 #include "vtkCommonExecutionModelModule.h" // For export macro
32 #include "vtkImageAlgorithm.h"
33 
34 VTK_ABI_NAMESPACE_BEGIN
35 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkSimpleImageToImageFilter : public vtkImageAlgorithm
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41 protected:
43  ~vtkSimpleImageToImageFilter() override;
44 
45  // These are called by the superclass.
47 
48  // You don't have to touch this unless you have a good reason.
50 
51  // In the simplest case, this is the only method you need to define.
52  virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) = 0;
53 
54 private:
56  void operator=(const vtkSimpleImageToImageFilter&) = delete;
57 };
58 
59 VTK_ABI_NAMESPACE_END
60 #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:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
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.