VTK  9.3.1
vtkImageMirrorPad.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkImageMirrorPad_h
15 #define vtkImageMirrorPad_h
16 
17 #include "vtkImagePadFilter.h"
18 #include "vtkImagingCoreModule.h" // For export macro
19 
20 VTK_ABI_NAMESPACE_BEGIN
21 class VTKIMAGINGCORE_EXPORT vtkImageMirrorPad : public vtkImagePadFilter
22 {
23 public:
24  static vtkImageMirrorPad* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
28 protected:
29  vtkImageMirrorPad() = default;
30  ~vtkImageMirrorPad() override = default;
31 
32  void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int wExt[6]) override;
33  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
34  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData, int ext[6],
35  int id) override;
36 
37 private:
38  vtkImageMirrorPad(const vtkImageMirrorPad&) = delete;
39  void operator=(const vtkImageMirrorPad&) = delete;
40 };
41 
42 VTK_ABI_NAMESPACE_END
43 #endif
static vtkImagePadFilter * New()
Extra pixels are filled by mirror images.
Store vtkAlgorithm input/output information.
virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int wholeExtent[6])
Super class for filters that fill in extra pixels.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.