VTK
vtkImageMirrorPad.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageMirrorPad.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 =========================================================================*/
23 #ifndef vtkImageMirrorPad_h
24 #define vtkImageMirrorPad_h
25 
26 
27 #include "vtkImagingCoreModule.h" // For export macro
28 #include "vtkImagePadFilter.h"
29 
30 class VTKIMAGINGCORE_EXPORT vtkImageMirrorPad : public vtkImagePadFilter
31 {
32 public:
33  static vtkImageMirrorPad *New();
35 
36 protected:
38  ~vtkImageMirrorPad() override {}
39 
40  void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int wExt[6]) override;
41  void ThreadedRequestData (vtkInformation* request,
42  vtkInformationVector** inputVector,
43  vtkInformationVector* outputVector,
44  vtkImageData ***inData, vtkImageData **outData,
45  int ext[6], int id) override;
46 private:
47  vtkImageMirrorPad(const vtkImageMirrorPad&) = delete;
48  void operator=(const vtkImageMirrorPad&) = delete;
49 };
50 
51 #endif
52 
53 
54 
55 // VTK-HeaderTest-Exclude: vtkImageMirrorPad.h
static vtkImagePadFilter * New()
Extra pixels are filled by mirror images.
Store vtkAlgorithm input/output information.
Super class for filters that fill in extra pixels.
virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int wExt[6])
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
~vtkImageMirrorPad() override
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method.
Store zero or more vtkInformation instances.