VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkImplicitFunctionToImageStencil.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImplicitFunctionToImageStencil.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 __vtkImplicitFunctionToImageStencil_h
29 #define __vtkImplicitFunctionToImageStencil_h
30 
31 
32 #include "vtkImagingStencilModule.h" // For export macro
33 #include "vtkImageStencilSource.h"
34 
35 class vtkImplicitFunction;
36 
37 class VTKIMAGINGSTENCIL_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  virtual void SetInput(vtkImplicitFunction*);
47  vtkGetObjectMacro(Input, vtkImplicitFunction);
49 
51 
52  vtkSetMacro(Threshold, double);
53  vtkGetMacro(Threshold, double);
55 
57  unsigned long GetMTime();
58 
59 protected:
62 
63  virtual int RequestData(vtkInformation *, vtkInformationVector **,
64  vtkInformationVector *);
65 
66  vtkImplicitFunction *Input;
67  double Threshold;
68 
69 private:
71  void operator=(const vtkImplicitFunctionToImageStencil&); // Not implemented.
72 };
73 
74 #endif
75 
static vtkImageStencilSource * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
generate an image stencil