Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkImplicitFunctionToImageStencil.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImplicitFunctionToImageStencil.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00028 #ifndef __vtkImplicitFunctionToImageStencil_h
00029 #define __vtkImplicitFunctionToImageStencil_h
00030 
00031 
00032 #include "vtkImageStencilSource.h"
00033 
00034 class vtkImplicitFunction;
00035 
00036 class VTK_IMAGING_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
00037 {
00038 public:
00039   static vtkImplicitFunctionToImageStencil *New();
00040   vtkTypeRevisionMacro(vtkImplicitFunctionToImageStencil, vtkImageStencilSource);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00045   virtual void SetInput(vtkImplicitFunction*);
00046   vtkGetObjectMacro(Input, vtkImplicitFunction);
00048 
00050 
00051   vtkSetMacro(Threshold, double);
00052   vtkGetMacro(Threshold, double);
00054 
00055 protected:
00056   vtkImplicitFunctionToImageStencil();
00057   ~vtkImplicitFunctionToImageStencil();
00058 
00059   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00060 
00061   virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00062   
00063   vtkImplicitFunction *Input;
00064   double Threshold;
00065 private:
00066   vtkImplicitFunctionToImageStencil(const vtkImplicitFunctionToImageStencil&);  // Not implemented.
00067   void operator=(const vtkImplicitFunctionToImageStencil&);  // Not implemented.
00068 };
00069 
00070 #endif
00071 

Generated on Mon Jan 21 23:07:30 2008 for VTK by  doxygen 1.4.3-20050530