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

vtkExtractGeometry.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkExtractGeometry.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 =========================================================================*/
00056 #ifndef __vtkExtractGeometry_h
00057 #define __vtkExtractGeometry_h
00058 
00059 #include "vtkDataSetToUnstructuredGridFilter.h"
00060 
00061 class vtkImplicitFunction;
00062 
00063 class VTK_GRAPHICS_EXPORT vtkExtractGeometry : public vtkDataSetToUnstructuredGridFilter
00064 {
00065 public:
00066   vtkTypeRevisionMacro(vtkExtractGeometry,vtkDataSetToUnstructuredGridFilter);
00067   void PrintSelf(ostream& os, vtkIndent indent);
00068 
00070   static vtkExtractGeometry *New();
00071 
00073   unsigned long GetMTime();
00074 
00076 
00077   virtual void SetImplicitFunction(vtkImplicitFunction*);
00078   vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
00080 
00082 
00085   vtkSetMacro(ExtractInside,int);
00086   vtkGetMacro(ExtractInside,int);
00087   vtkBooleanMacro(ExtractInside,int);
00089 
00091 
00093   vtkSetMacro(ExtractBoundaryCells,int);
00094   vtkGetMacro(ExtractBoundaryCells,int);
00095   vtkBooleanMacro(ExtractBoundaryCells,int);
00097 
00098 protected:
00099   vtkExtractGeometry(vtkImplicitFunction *f=NULL);
00100   ~vtkExtractGeometry();
00101 
00102   // Usual data generation method
00103   void Execute();
00104 
00105   vtkImplicitFunction *ImplicitFunction;
00106   int ExtractInside;
00107   int ExtractBoundaryCells;
00108   
00109 private:
00110   vtkExtractGeometry(const vtkExtractGeometry&);  // Not implemented.
00111   void operator=(const vtkExtractGeometry&);  // Not implemented.
00112 };
00113 
00114 #endif
00115 
00116