VTK  9.0.20201024
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 "vtkImagingGeneralModule.h" // For export macro
31 
32 class VTKIMAGINGGENERAL_EXPORT vtkSimpleImageFilterExample : public vtkSimpleImageToImageFilter
33 {
34 public:
37 
38 protected:
39  vtkSimpleImageFilterExample() = default;
40  ~vtkSimpleImageFilterExample() override = default;
41 
42  void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
43 
44 private:
46  void operator=(const vtkSimpleImageFilterExample&) = delete;
47 };
48 
49 #endif
50 
51 // VTK-HeaderTest-Exclude: vtkSimpleImageFilterExample.h
vtkSimpleImageToImageFilter::SimpleExecute
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output)=0
vtkSimpleImageFilterExample
Simple example of an image-image filter.
Definition: vtkSimpleImageFilterExample.h:32
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:47
vtkSimpleImageToImageFilter
Generic image filter with one input.
Definition: vtkSimpleImageToImageFilter.h:46
vtkSimpleImageToImageFilter.h
vtkAlgorithm::New
static vtkAlgorithm * New()