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 
35 #include "vtkImagingCoreModule.h" // For export macro
37 
39 class vtkImageData;
40 
43 {
44 public:
45  static vtkImageStencilSource *New();
47 
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
56  virtual void SetInformationInput(vtkImageData*);
57  vtkGetObjectMacro(InformationInput, vtkImageData);
59 
61 
64  vtkSetVector3Macro(OutputOrigin, double);
65  vtkGetVector3Macro(OutputOrigin, double);
67 
69 
72  vtkSetVector3Macro(OutputSpacing, double);
73  vtkGetVector3Macro(OutputSpacing, double);
75 
77 
79  vtkSetVector6Macro(OutputWholeExtent, int);
80  vtkGetVector6Macro(OutputWholeExtent, int);
82 
85 
86 protected:
89 
92 
94 
95  int OutputWholeExtent[6];
96  double OutputOrigin[3];
97  double OutputSpacing[3];
98 
99 private:
100  vtkImageStencilSource(const vtkImageStencilSource&); // Not implemented.
101  void operator=(const vtkImageStencilSource&); // Not implemented.
102 };
103 
104 #endif
105 
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:38
efficient description of an image stencil
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
#define VTKIMAGINGCORE_EXPORT
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