VTK  9.3.20240419
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:
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
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
Definition: vtkImageData.h:156
a simple class to control print indentation
Definition: vtkIndent.h:108
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.