VTK  9.5.20251215
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
66
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 vtkDoubleArray;
75
76class VTKIMAGINGCORE_EXPORT vtkImageConstantPad : public vtkImagePadFilter
77{
78public:
81
82 void PrintSelf(ostream& os, vtkIndent indent) override;
83
85
90 vtkSetMacro(Constant, double);
91 vtkGetMacro(Constant, double);
93
95
103
104protected:
107
108 double Constant;
110
112 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData, int ext[6],
113 int id) override;
114
115private:
117 void operator=(const vtkImageConstantPad&) = delete;
118};
119
120VTK_ABI_NAMESPACE_END
121#endif
dynamic, self-adjusting array of double
static vtkImageConstantPad * New()
vtkDoubleArray * ComponentConstants
virtual void SetComponentConstants(vtkDoubleArray *values)
Set/Get the pad values for each component.
~vtkImageConstantPad() override
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
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.