VTK
dox/Filters/Extraction/vtkExtractPolyDataGeometry.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExtractPolyDataGeometry.h
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 =========================================================================*/
00040 #ifndef __vtkExtractPolyDataGeometry_h
00041 #define __vtkExtractPolyDataGeometry_h
00042 
00043 #include "vtkFiltersExtractionModule.h" // For export macro
00044 #include "vtkPolyDataAlgorithm.h"
00045 
00046 class vtkImplicitFunction;
00047 
00048 class VTKFILTERSEXTRACTION_EXPORT vtkExtractPolyDataGeometry : public vtkPolyDataAlgorithm
00049 {
00050 public:
00051   vtkTypeMacro(vtkExtractPolyDataGeometry,vtkPolyDataAlgorithm);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055   static vtkExtractPolyDataGeometry *New();
00056 
00058   unsigned long GetMTime();
00059 
00061 
00062   virtual void SetImplicitFunction(vtkImplicitFunction*);
00063   vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
00065 
00067 
00070   vtkSetMacro(ExtractInside,int);
00071   vtkGetMacro(ExtractInside,int);
00072   vtkBooleanMacro(ExtractInside,int);
00074 
00076 
00078   vtkSetMacro(ExtractBoundaryCells,int);
00079   vtkGetMacro(ExtractBoundaryCells,int);
00080   vtkBooleanMacro(ExtractBoundaryCells,int);
00082 
00083 protected:
00084   vtkExtractPolyDataGeometry(vtkImplicitFunction *f=NULL);
00085   ~vtkExtractPolyDataGeometry();
00086 
00087   // Usual data generation method
00088   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00089 
00090   vtkImplicitFunction *ImplicitFunction;
00091   int ExtractInside;
00092   int ExtractBoundaryCells;
00093 private:
00094   vtkExtractPolyDataGeometry(const vtkExtractPolyDataGeometry&);  // Not implemented.
00095   void operator=(const vtkExtractPolyDataGeometry&);  // Not implemented.
00096 };
00097 
00098 #endif