VTK  9.2.6
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 =========================================================================*/
29 #ifndef vtkSimpleImageFilterExample_h
30 #define vtkSimpleImageFilterExample_h
31 
32 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
33 #include "vtkImagingGeneralModule.h" // For export macro
35 
36 VTK_DEPRECATED_IN_9_1_0("This class is an example and should not have been public")
37 class VTKIMAGINGGENERAL_EXPORT vtkSimpleImageFilterExample : public vtkSimpleImageToImageFilter
38 {
39 public:
40  static vtkSimpleImageFilterExample* New();
41  vtkTypeMacro(vtkSimpleImageFilterExample, vtkSimpleImageToImageFilter);
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
44 protected:
45  vtkSimpleImageFilterExample() = default;
46  ~vtkSimpleImageFilterExample() override = default;
47 
48  void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
49 
50 private:
52  void operator=(const vtkSimpleImageFilterExample&) = delete;
53 };
54 
55 #endif
#define VTK_DEPRECATED_IN_9_1_0(reason)
Simple example of an image-image filter.
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:53
Generic image filter with one input.