VTK  9.0.20210622
vtkImageConstantPad.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageConstantPad.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 =========================================================================*/
27 #ifndef vtkImageConstantPad_h
28 #define vtkImageConstantPad_h
29 
30 #include "vtkImagePadFilter.h"
31 #include "vtkImagingCoreModule.h" // For export macro
32 
33 class VTKIMAGINGCORE_EXPORT vtkImageConstantPad : public vtkImagePadFilter
34 {
35 public:
38 
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
45  vtkSetMacro(Constant, double);
46  vtkGetMacro(Constant, double);
48 
49 protected:
51  ~vtkImageConstantPad() override = default;
52 
53  double Constant;
54 
56  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData, int ext[6],
57  int id) override;
58 
59 private:
61  void operator=(const vtkImageConstantPad&) = delete;
62 };
63 
64 #endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkImageConstantPad
Makes image larger by padding with constant.
Definition: vtkImageConstantPad.h:34
vtkImageConstantPad::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageConstantPad::ThreadedRequestData
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
vtkImageConstantPad::~vtkImageConstantPad
~vtkImageConstantPad() override=default
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkImageConstantPad::Constant
double Constant
Definition: vtkImageConstantPad.h:53
vtkImageConstantPad::New
static vtkImageConstantPad * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:74
vtkImagePadFilter
Super class for filters that fill in extra pixels.
Definition: vtkImagePadFilter.h:32
vtkImagePadFilter.h
vtkImageConstantPad::vtkImageConstantPad
vtkImageConstantPad()