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 
40 class vtkImageData;
41 
42 class VTKIMAGINGCORE_EXPORT vtkImageStencilSource :
44 {
45 public:
46  static vtkImageStencilSource *New();
48 
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
60  virtual void SetInformationInput(vtkImageData*);
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 
96  void ReportReferences(vtkGarbageCollector*) VTK_OVERRIDE;
97 
98 protected:
100  ~vtkImageStencilSource();
101 
102  virtual int RequestInformation(vtkInformation *, vtkInformationVector **,
103  vtkInformationVector *);
104 
105  vtkImageData *InformationInput;
106 
107  int OutputWholeExtent[6];
108  double OutputOrigin[3];
109  double OutputSpacing[3];
110 
111 private:
112  vtkImageStencilSource(const vtkImageStencilSource&) VTK_DELETE_FUNCTION;
113  void operator=(const vtkImageStencilSource&) VTK_DELETE_FUNCTION;
114 };
115 
116 #endif
117 
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ReportReferences(vtkGarbageCollector *) override
producer of vtkImageStencilData
Detect and break reference loops.
a simple class to control print indentation
Definition: vtkIndent.h:39
efficient description of an image stencil
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
static vtkImageStencilAlgorithm * New()
Store zero or more vtkInformation instances.
generate an image stencil