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 =========================================================================*/
31 #ifndef __vtkImageStencilSource_h
32 #define __vtkImageStencilSource_h
33 
34 
36 
38 class vtkImageData;
39 
42 {
43 public:
44  static vtkImageStencilSource *New();
46 
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
55  virtual void SetInformationInput(vtkImageData*);
56  vtkGetObjectMacro(InformationInput, vtkImageData);
58 
60 
63  vtkSetVector3Macro(OutputOrigin, double);
64  vtkGetVector3Macro(OutputOrigin, double);
66 
68 
71  vtkSetVector3Macro(OutputSpacing, double);
72  vtkGetVector3Macro(OutputSpacing, double);
74 
76 
78  vtkSetVector6Macro(OutputWholeExtent, int);
79  vtkGetVector6Macro(OutputWholeExtent, int);
81 
84 
85 protected:
88 
91 
93 
94  int OutputWholeExtent[6];
95  double OutputOrigin[3];
96  double OutputSpacing[3];
97 
98 private:
99  vtkImageStencilSource(const vtkImageStencilSource&); // Not implemented.
100  void operator=(const vtkImageStencilSource&); // Not implemented.
101 };
102 
103 #endif
104