VTK
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
35
36#include "vtkImagingCoreModule.h" // For export macro
38
40class vtkImageData;
41
42class VTKIMAGINGCORE_EXPORT vtkImageStencilSource :
44{
45public:
48
49 void PrintSelf(ostream& os, vtkIndent indent);
50
52
61 vtkGetObjectMacro(InformationInput, vtkImageData);
63
65
70 vtkSetVector3Macro(OutputOrigin, double);
71 vtkGetVector3Macro(OutputOrigin, double);
73
75
80 vtkSetVector3Macro(OutputSpacing, double);
81 vtkGetVector3Macro(OutputSpacing, double);
83
85
89 vtkSetVector6Macro(OutputWholeExtent, int);
90 vtkGetVector6Macro(OutputWholeExtent, int);
92
97
98protected:
101
104
106
107 int OutputWholeExtent[6];
108 double OutputOrigin[3];
109 double OutputSpacing[3];
110
111private:
112 vtkImageStencilSource(const vtkImageStencilSource&) VTK_DELETE_FUNCTION;
113 void operator=(const vtkImageStencilSource&) VTK_DELETE_FUNCTION;
114};
115
116#endif
117
Detect and break reference loops.
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
producer of vtkImageStencilData
efficient description of an image stencil
generate an image stencil
static vtkImageStencilSource * New()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void ReportReferences(vtkGarbageCollector *) override
Report object referenced by instances of this class.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetInformationInput(vtkImageData *)
Set a vtkImageData that has the Spacing, Origin, and WholeExtent that will be used for the stencil.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.