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

vtkExtractPolyDataGeometry.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkExtractPolyDataGeometry.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 =========================================================================*/
00051 #ifndef __vtkExtractPolyDataGeometry_h
00052 #define __vtkExtractPolyDataGeometry_h
00053 
00054 #include "vtkPolyDataToPolyDataFilter.h"
00055 
00056 class vtkImplicitFunction;
00057 
00058 class VTK_GRAPHICS_EXPORT vtkExtractPolyDataGeometry : public vtkPolyDataToPolyDataFilter
00059 {
00060 public:
00061   vtkTypeRevisionMacro(vtkExtractPolyDataGeometry,vtkPolyDataToPolyDataFilter);
00062   void PrintSelf(ostream& os, vtkIndent indent);
00063 
00065   static vtkExtractPolyDataGeometry *New();
00066 
00068   unsigned long GetMTime();
00069 
00071 
00072   virtual void SetImplicitFunction(vtkImplicitFunction*);
00073   vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
00075 
00077 
00080   vtkSetMacro(ExtractInside,int);
00081   vtkGetMacro(ExtractInside,int);
00082   vtkBooleanMacro(ExtractInside,int);
00084 
00086 
00088   vtkSetMacro(ExtractBoundaryCells,int);
00089   vtkGetMacro(ExtractBoundaryCells,int);
00090   vtkBooleanMacro(ExtractBoundaryCells,int);
00092 
00093 protected:
00094   vtkExtractPolyDataGeometry(vtkImplicitFunction *f=NULL);
00095   ~vtkExtractPolyDataGeometry();
00096 
00097   // Usual data generation method
00098   void Execute();
00099 
00100   vtkImplicitFunction *ImplicitFunction;
00101   int ExtractInside;
00102   int ExtractBoundaryCells;
00103 private:
00104   vtkExtractPolyDataGeometry(const vtkExtractPolyDataGeometry&);  // Not implemented.
00105   void operator=(const vtkExtractPolyDataGeometry&);  // Not implemented.
00106 };
00107 
00108 #endif
00109 
00110