VTK: Imaging/Core/vtkImageConstantPad.h Source File

| VTK 9.3.1

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
27 #ifndef vtkImageConstantPad_h
28 #define vtkImageConstantPad_h
29
30 #include "vtkImagePadFilter.h"
31 #include "vtkImagingCoreModule.h" // For export macro
32
33 VTK_ABI_NAMESPACE_BEGIN
34 class VTKIMAGINGCORE_EXPORT vtkImageConstantPad : public vtkImagePadFilter
35 {
36 public:
37 static vtkImageConstantPad* New();
38 vtkTypeMacro(vtkImageConstantPad, vtkImagePadFilter);
39
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
46 vtkSetMacro(Constant, double);
47 vtkGetMacro(Constant, double);
49
50 protected:
51 vtkImageConstantPad();
52 ~vtkImageConstantPad() override = default;
53
54 double Constant;
55
56 void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
57 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData, int ext[6],
58 int id) override;
59
60 private:
61 vtkImageConstantPad(const vtkImageConstantPad&) = delete;
62 void operator=(const vtkImageConstantPad&) = delete;
63 };
64
65 VTK_ABI_NAMESPACE_END
66 #endif
vtkImageConstantPad
Makes image larger by padding with constant.
Definition: vtkImageConstantPad.h:35
vtkImageConstantPad::vtkImageConstantPad
vtkImageConstantPad()
vtkImageConstantPad::~vtkImageConstantPad
~vtkImageConstantPad() override=default
vtkImageConstantPad::New
static vtkImageConstantPad * New()
vtkImageConstantPad::Constant
double Constant
Definition: vtkImageConstantPad.h:54
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,...
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
vtkImagePadFilter
Super class for filters that fill in extra pixels.
Definition: vtkImagePadFilter.h:21
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkImagePadFilter.h