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