VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/Geometry/vtkImageDataGeometryFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImageDataGeometryFilter.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 =========================================================================*/
00043 #ifndef vtkImageDataGeometryFilter_h
00044 #define vtkImageDataGeometryFilter_h
00045 
00046 #include "vtkFiltersGeometryModule.h" // For export macro
00047 #include "vtkPolyDataAlgorithm.h"
00048 
00049 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
00050 {
00051 public:
00052   vtkTypeMacro(vtkImageDataGeometryFilter,vtkPolyDataAlgorithm);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056   static vtkImageDataGeometryFilter *New();
00057 
00059 
00060   void SetExtent(int extent[6]);
00061   void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
00062   int *GetExtent() { return this->Extent;};
00064 
00066 
00069   vtkSetMacro(ThresholdCells,int);
00070   vtkGetMacro(ThresholdCells,int);
00071   vtkBooleanMacro(ThresholdCells,int);
00073 
00075 
00078   vtkSetMacro(ThresholdValue,double);
00079   vtkGetMacro(ThresholdValue,double);
00080   vtkBooleanMacro(ThresholdValue,double);
00082 
00084 
00087   vtkSetMacro(OutputTriangles,int);
00088   vtkGetMacro(OutputTriangles,int);
00089   vtkBooleanMacro(OutputTriangles,int);
00091 
00092 protected:
00093   vtkImageDataGeometryFilter();
00094   ~vtkImageDataGeometryFilter() {}
00095 
00096   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00097   virtual int FillInputPortInformation(int port, vtkInformation *info);
00098 
00099   int    Extent[6];
00100   int    ThresholdCells;
00101   double ThresholdValue;
00102   int    OutputTriangles;
00103 
00104 private:
00105   vtkImageDataGeometryFilter(const vtkImageDataGeometryFilter&);  // Not implemented.
00106   void operator=(const vtkImageDataGeometryFilter&);  // Not implemented.
00107 };
00108 
00109 #endif