VTK  9.1.0
vtkImageStencilSource.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkImageStencilSource.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
32#ifndef vtkImageStencilSource_h
33#define vtkImageStencilSource_h
34
36#include "vtkImagingCoreModule.h" // For export macro
37
39class vtkImageData;
40
41class VTKIMAGINGCORE_EXPORT vtkImageStencilSource : public vtkImageStencilAlgorithm
42{
43public:
46
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
50
59 vtkGetObjectMacro(InformationInput, vtkImageData);
61
63
68 vtkSetVector3Macro(OutputOrigin, double);
69 vtkGetVector3Macro(OutputOrigin, double);
71
73
78 vtkSetVector3Macro(OutputSpacing, double);
79 vtkGetVector3Macro(OutputSpacing, double);
81
83
87 vtkSetVector6Macro(OutputWholeExtent, int);
88 vtkGetVector6Macro(OutputWholeExtent, int);
90
95
96protected:
99
101
103
104 int OutputWholeExtent[6];
105 double OutputOrigin[3];
106 double OutputSpacing[3];
107
108private:
110 void operator=(const vtkImageStencilSource&) = delete;
111};
112
113#endif
Detect and break reference loops.
topologically and geometrically regular array of data
Definition: vtkImageData.h:157
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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.