VTK  9.6.20260615
vtkImagePadFilter.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
12
13#ifndef vtkImagePadFilter_h
14#define vtkImagePadFilter_h
15
16#include "vtkImagingCoreModule.h" // For export macro
18
19VTK_ABI_NAMESPACE_BEGIN
20class VTKIMAGINGCORE_EXPORT vtkImagePadFilter : public vtkThreadedImageAlgorithm
21{
22public:
25 void PrintSelf(ostream& os, vtkIndent indent) override;
26
28
31 void SetOutputWholeExtent(int extent[6]);
32 void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY, int minZ, int maxZ);
33 void GetOutputWholeExtent(int extent[6]);
36
38
44
45protected:
47 ~vtkImagePadFilter() override = default;
48
51
54
56 int inExt[6], VTK_FUTURE_CONST int outExt[6], int wholeExtent[6]);
57
58private:
59 vtkImagePadFilter(const vtkImagePadFilter&) = delete;
60 void operator=(const vtkImagePadFilter&) = delete;
61};
62
63VTK_ABI_NAMESPACE_END
64#endif
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
The image extent of the output has to be set explicitly.
virtual void ComputeInputUpdateExtent(int inExt[6], VTK_FUTURE_CONST int outExt[6], int wholeExtent[6])
int * GetOutputWholeExtent()
The image extent of the output has to be set explicitly.
~vtkImagePadFilter() override=default
static vtkImagePadFilter * New()
void SetOutputWholeExtent(int extent[6])
The image extent of the output has to be set explicitly.
void GetOutputWholeExtent(int extent[6])
The image extent of the output has to be set explicitly.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
#define VTK_SIZEHINT(...)