VTK  9.3.1
vtkImageWrapPad.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
19 #ifndef vtkImageWrapPad_h
20 #define vtkImageWrapPad_h
21 
22 #include "vtkImagePadFilter.h"
23 #include "vtkImagingCoreModule.h" // For export macro
24 
25 VTK_ABI_NAMESPACE_BEGIN
26 class vtkInformation;
28 
29 class VTKIMAGINGCORE_EXPORT vtkImageWrapPad : public vtkImagePadFilter
30 {
31 public:
32  static vtkImageWrapPad* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
36 protected:
37  vtkImageWrapPad() = default;
38  ~vtkImageWrapPad() override = default;
39 
40  void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int wholeExtent[6]) override;
41  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
42  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData, int ext[6],
43  int id) override;
44 
45 private:
46  vtkImageWrapPad(const vtkImageWrapPad&) = delete;
47  void operator=(const vtkImageWrapPad&) = delete;
48 };
49 
50 VTK_ABI_NAMESPACE_END
51 #endif
static vtkImagePadFilter * New()
Store vtkAlgorithm input/output information.
virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int wholeExtent[6])
Makes an image larger by wrapping existing data.
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.