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 =========================================================================*/
26 #ifndef vtkImageMirrorPad_h
27 #define vtkImageMirrorPad_h
28 
29 
30 #include "vtkImagingCoreModule.h" // For export macro
31 #include "vtkImagePadFilter.h"
32 
33 class VTKIMAGINGCORE_EXPORT vtkImageMirrorPad : public vtkImagePadFilter
34 {
35 public:
36  static vtkImageMirrorPad *New();
38 
39 protected:
41  ~vtkImageMirrorPad() override {}
42 
43  void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int wExt[6]) override;
44  void ThreadedRequestData (vtkInformation* request,
45  vtkInformationVector** inputVector,
46  vtkInformationVector* outputVector,
47  vtkImageData ***inData, vtkImageData **outData,
48  int ext[6], int id) override;
49 private:
50  vtkImageMirrorPad(const vtkImageMirrorPad&) = delete;
51  void operator=(const vtkImageMirrorPad&) = delete;
52 };
53 
54 #endif
55 
56 
57 
58 // 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:45
~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.