VTK  9.3.20240418
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 
26 VTK_ABI_NAMESPACE_BEGIN
28 class vtkImageData;
29 
30 class VTKIMAGINGCORE_EXPORT vtkImageStencilSource : public vtkImageStencilAlgorithm
31 {
32 public:
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 
85 protected:
88 
90 
92 
93  int OutputWholeExtent[6];
94  double OutputOrigin[3];
95  double OutputSpacing[3];
96 
97 private:
99  void operator=(const vtkImageStencilSource&) = delete;
100 };
101 
102 VTK_ABI_NAMESPACE_END
103 #endif
Detect and break reference loops.
topologically and geometrically regular array of data
Definition: vtkImageData.h:156
producer of vtkImageStencilData
efficient description of an image stencil
generate an image stencil
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
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.
static vtkImageStencilSource * New()
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.