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 
Store vtkAlgorithm input/output information.
producer of vtkImageStencilData
Detect and break reference loops.
virtual void ReportReferences(vtkGarbageCollector *)
a simple class to control print indentation
Definition: vtkIndent.h:37
efficient description of an image stencil
#define VTK_IMAGING_EXPORT
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
void PrintSelf(ostream &os, vtkIndent indent)
static vtkImageStencilAlgorithm * New()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
generate an image stencil