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

# Graphics/vtkExtractPolyDataGeometry.h

Go to the documentation of this file.

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