VTK  9.3.20240425
vtkImageConstantPad.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
67#ifndef vtkImageConstantPad_h
68#define vtkImageConstantPad_h
69
70#include "vtkImagePadFilter.h"
71#include "vtkImagingCoreModule.h" // For export macro
72
73VTK_ABI_NAMESPACE_BEGIN
74class VTKIMAGINGCORE_EXPORT vtkImageConstantPad : public vtkImagePadFilter
75{
76public:
79
80 void PrintSelf(ostream& os, vtkIndent indent) override;
81
83
86 vtkSetMacro(Constant, double);
87 vtkGetMacro(Constant, double);
89
90protected:
92 ~vtkImageConstantPad() override = default;
93
94 double Constant;
95
97 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData, int ext[6],
98 int id) override;
99
100private:
102 void operator=(const vtkImageConstantPad&) = delete;
103};
104
105VTK_ABI_NAMESPACE_END
106#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
Super class for filters that fill in extra pixels.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.