VTK
vtkImageWrapPad.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageWrapPad.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 =========================================================================*/
25 #ifndef vtkImageWrapPad_h
26 #define vtkImageWrapPad_h
27 
28 
29 #include "vtkImagingCoreModule.h" // For export macro
30 #include "vtkImagePadFilter.h"
31 
32 class vtkInformation;
34 
35 class VTKIMAGINGCORE_EXPORT vtkImageWrapPad : public vtkImagePadFilter
36 {
37 public:
38  static vtkImageWrapPad *New();
40 
41 protected:
43  ~vtkImageWrapPad() override {}
44 
45  void ComputeInputUpdateExtent (int inExt[6], int outExt[6], int wExt[6]) override;
46  void ThreadedRequestData (vtkInformation* request,
47  vtkInformationVector** inputVector,
48  vtkInformationVector* outputVector,
49  vtkImageData ***inData, vtkImageData **outData,
50  int ext[6], int id) override;
51 private:
52  vtkImageWrapPad(const vtkImageWrapPad&) = delete;
53  void operator=(const vtkImageWrapPad&) = delete;
54 };
55 
56 #endif
57 
58 
59 
60 // VTK-HeaderTest-Exclude: vtkImageWrapPad.h
static vtkImagePadFilter * New()
Store vtkAlgorithm input/output information.
~vtkImageWrapPad() override
Makes an image larger by wrapping existing data.
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
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.