VTK  9.5.2
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
18#ifndef vtkImageConstantPad_h
19#define vtkImageConstantPad_h
20
21#include "vtkImagePadFilter.h"
22#include "vtkImagingCoreModule.h" // For export macro
23
24VTK_ABI_NAMESPACE_BEGIN
25class vtkDoubleArray;
26
27class VTKIMAGINGCORE_EXPORT vtkImageConstantPad : public vtkImagePadFilter
28{
29public:
32
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
36
41 vtkSetMacro(Constant, double);
42 vtkGetMacro(Constant, double);
44
46
52 vtkGetObjectMacro(ComponentConstants, vtkDoubleArray);
54
55protected:
58
59 double Constant;
61
63 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData, int ext[6],
64 int id) override;
65
66private:
68 void operator=(const vtkImageConstantPad&) = delete;
69};
70
71VTK_ABI_NAMESPACE_END
72#endif
dynamic, self-adjusting array of double
Makes image larger by padding with constant.
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
Super class for filters that fill in extra pixels.
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.