VTK  9.1.0
vtkSimpleImageFilterExample.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSimpleImageFilterExample.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 =========================================================================*/
26 #ifndef vtkSimpleImageFilterExample_h
27 #define vtkSimpleImageFilterExample_h
28 
29 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
30 #include "vtkImagingGeneralModule.h" // For export macro
32 
33 VTK_DEPRECATED_IN_9_1_0("This class is an example and should not have been public")
34 class VTKIMAGINGGENERAL_EXPORT vtkSimpleImageFilterExample : public vtkSimpleImageToImageFilter
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41 protected:
43  ~vtkSimpleImageFilterExample() override = default;
44 
45  void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
46 
47 private:
49  void operator=(const vtkSimpleImageFilterExample&) = delete;
50 };
51 
52 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:48
a simple class to control print indentation
Definition: vtkIndent.h:34
Simple example of an image-image filter.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkSimpleImageFilterExample * New()
~vtkSimpleImageFilterExample() override=default
void SimpleExecute(vtkImageData *input, vtkImageData *output) override
Generic image filter with one input.
#define VTK_DEPRECATED_IN_9_1_0(reason)