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

Graphics/vtkExtractGeometry.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkExtractGeometry.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00047 #ifndef __vtkExtractGeometry_h
00048 #define __vtkExtractGeometry_h
00049 
00050 #include "vtkDataSetToUnstructuredGridFilter.h"
00051 
00052 class vtkImplicitFunction;
00053 
00054 class VTK_GRAPHICS_EXPORT vtkExtractGeometry : public vtkDataSetToUnstructuredGridFilter
00055 {
00056 public:
00057   vtkTypeRevisionMacro(vtkExtractGeometry,vtkDataSetToUnstructuredGridFilter);
00058   void PrintSelf(ostream& os, vtkIndent indent);
00059 
00061   static vtkExtractGeometry *New();
00062 
00064   unsigned long GetMTime();
00065 
00067 
00068   virtual void SetImplicitFunction(vtkImplicitFunction*);
00069   vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
00071 
00073 
00076   vtkSetMacro(ExtractInside,int);
00077   vtkGetMacro(ExtractInside,int);
00078   vtkBooleanMacro(ExtractInside,int);
00080 
00082 
00084   vtkSetMacro(ExtractBoundaryCells,int);
00085   vtkGetMacro(ExtractBoundaryCells,int);
00086   vtkBooleanMacro(ExtractBoundaryCells,int);
00088 
00089 protected:
00090   vtkExtractGeometry(vtkImplicitFunction *f=NULL);
00091   ~vtkExtractGeometry();
00092 
00093   // Usual data generation method
00094   void Execute();
00095 
00096   vtkImplicitFunction *ImplicitFunction;
00097   int ExtractInside;
00098   int ExtractBoundaryCells;
00099   
00100 private:
00101   vtkExtractGeometry(const vtkExtractGeometry&);  // Not implemented.
00102   void operator=(const vtkExtractGeometry&);  // Not implemented.
00103 };
00104 
00105 #endif
00106 
00107