vtkImplicitFunctionToImageStencil.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00041 #ifndef __vtkImplicitFunctionToImageStencil_h
00042 #define __vtkImplicitFunctionToImageStencil_h
00043
00044
00045 #include "vtkImageStencilSource.h"
00046
00047 class vtkImplicitFunction;
00048
00049 class VTK_IMAGING_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
00050 {
00051 public:
00052 static vtkImplicitFunctionToImageStencil *New();
00053 vtkTypeRevisionMacro(vtkImplicitFunctionToImageStencil, vtkImageStencilSource);
00054 void PrintSelf(ostream& os, vtkIndent indent);
00055
00057
00058 virtual void SetInput(vtkImplicitFunction*);
00059 vtkGetObjectMacro(Input, vtkImplicitFunction);
00061
00063
00064 vtkSetMacro(Threshold, double);
00065 vtkGetMacro(Threshold, double);
00067
00068 protected:
00069 vtkImplicitFunctionToImageStencil();
00070 ~vtkImplicitFunctionToImageStencil();
00071
00072 void ThreadedExecute(vtkImageStencilData *output,
00073 int extent[6], int threadId);
00074
00075 void ExecuteInformation();
00076
00077 vtkImplicitFunction *Input;
00078 double Threshold;
00079 private:
00080 vtkImplicitFunctionToImageStencil(const vtkImplicitFunctionToImageStencil&);
00081 void operator=(const vtkImplicitFunctionToImageStencil&);
00082 };
00083
00084 #endif
00085