VTK  9.3.20240424
vtkImageStencilSource.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
20#ifndef vtkImageStencilSource_h
21#define vtkImageStencilSource_h
22
24#include "vtkImagingCoreModule.h" // For export macro
25
26VTK_ABI_NAMESPACE_BEGIN
28class vtkImageData;
29
30class VTKIMAGINGCORE_EXPORT vtkImageStencilSource : public vtkImageStencilAlgorithm
31{
32public:
35
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
48 vtkGetObjectMacro(InformationInput, vtkImageData);
50
52
57 vtkSetVector3Macro(OutputOrigin, double);
58 vtkGetVector3Macro(OutputOrigin, double);
60
62
67 vtkSetVector3Macro(OutputSpacing, double);
68 vtkGetVector3Macro(OutputSpacing, double);
70
72
76 vtkSetVector6Macro(OutputWholeExtent, int);
77 vtkGetVector6Macro(OutputWholeExtent, int);
79
84
85protected:
88
90
92
93 int OutputWholeExtent[6];
94 double OutputOrigin[3];
95 double OutputSpacing[3];
96
97private:
99 void operator=(const vtkImageStencilSource&) = delete;
100};
101
102VTK_ABI_NAMESPACE_END
103#endif
Detect and break reference loops.
topologically and geometrically regular array of data
producer of vtkImageStencilData
efficient description of an image stencil
generate an image stencil
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkImageStencilSource * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ReportReferences(vtkGarbageCollector *) override
Report object referenced by instances of this class.
virtual void SetInformationInput(vtkImageData *)
Set a vtkImageData that has the Spacing, Origin, and WholeExtent that will be used for the stencil.
~vtkImageStencilSource() override
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.