VTK  9.2.5
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 =========================================================================*/
89 #ifndef vtkImageConstantPad_h
90 #define vtkImageConstantPad_h
91 
92 #include "vtkImagePadFilter.h"
93 #include "vtkImagingCoreModule.h" // For export macro
94 
95 class VTKIMAGINGCORE_EXPORT vtkImageConstantPad : public vtkImagePadFilter
96 {
97 public:
100 
101  void PrintSelf(ostream& os, vtkIndent indent) override;
102 
104 
107  vtkSetMacro(Constant, double);
108  vtkGetMacro(Constant, double);
110 
111 protected:
113  ~vtkImageConstantPad() override = default;
114 
115  double Constant;
116 
118  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData, int ext[6],
119  int id) override;
120 
121 private:
122  vtkImageConstantPad(const vtkImageConstantPad&) = delete;
123  void operator=(const vtkImageConstantPad&) = delete;
124 };
125 
126 #endif
Makes image larger by padding with constant.
~vtkImageConstantPad() override=default
static vtkImageConstantPad * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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,...
topologically and geometrically regular array of data
Definition: vtkImageData.h:163
Super class for filters that fill in extra pixels.
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.