VTK
vtkImageToImageStencil.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageToImageStencil.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 =========================================================================*/
28 #ifndef vtkImageToImageStencil_h
29 #define vtkImageToImageStencil_h
30 
31 
32 #include "vtkImagingStencilModule.h" // For export macro
34 
35 class vtkImageData;
36 
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
49 
51  void ThresholdByUpper(double thresh);
52 
54  void ThresholdByLower(double thresh);
55 
57  void ThresholdBetween(double lower, double upper);
58 
60 
61  vtkSetMacro(UpperThreshold, double);
62  vtkGetMacro(UpperThreshold, double);
63  vtkSetMacro(LowerThreshold, double);
64  vtkGetMacro(LowerThreshold, double);
66 
67 protected:
70 
75 
78  double Threshold;
79 private:
80  vtkImageToImageStencil(const vtkImageToImageStencil&); // Not implemented.
81  void operator=(const vtkImageToImageStencil&); // Not implemented.
82 };
83 
84 #endif
vtkImageToImageStencil::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageToImageStencil::New
static vtkImageToImageStencil * New()
vtkImageStencilAlgorithm
producer of vtkImageStencilData
Definition: vtkImageStencilAlgorithm.h:36
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkImageToImageStencil::ThresholdBetween
void ThresholdBetween(double lower, double upper)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageToImageStencil::~vtkImageToImageStencil
~vtkImageToImageStencil()
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkImageToImageStencil::Threshold
double Threshold
Definition: vtkImageToImageStencil.h:78
vtkImageToImageStencil::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageToImageStencil::ThresholdByLower
void ThresholdByLower(double thresh)
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImagingStencilModule.h
vtkImageToImageStencil::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
VTKIMAGINGSTENCIL_EXPORT
#define VTKIMAGINGSTENCIL_EXPORT
Definition: vtkImagingStencilModule.h:15
vtkImageToImageStencil::vtkImageToImageStencil
vtkImageToImageStencil()
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkImageToImageStencil::GetInput
vtkImageData * GetInput()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkImageToImageStencil::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkImageToImageStencil
clip an image with a mask image
Definition: vtkImageToImageStencil.h:38
vtkImageToImageStencil::LowerThreshold
double LowerThreshold
Definition: vtkImageToImageStencil.h:77
vtkImageToImageStencil::UpperThreshold
double UpperThreshold
Definition: vtkImageToImageStencil.h:76
vtkImageToImageStencil::ThresholdByUpper
void ThresholdByUpper(double thresh)
vtkImageToImageStencil::SetInputData
void SetInputData(vtkImageData *input)
vtkImageToImageStencil::FillInputPortInformation
virtual int FillInputPortInformation(int, vtkInformation *)
vtkImageStencilAlgorithm.h