• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Graphics/vtkImageDataGeometryFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageDataGeometryFilter.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 =========================================================================*/
00040 #ifndef __vtkImageDataGeometryFilter_h
00041 #define __vtkImageDataGeometryFilter_h
00042 
00043 #include "vtkPolyDataAlgorithm.h"
00044 
00045 class VTK_GRAPHICS_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
00046 {
00047 public:
00048   vtkTypeRevisionMacro(vtkImageDataGeometryFilter,vtkPolyDataAlgorithm);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050   
00052   static vtkImageDataGeometryFilter *New();
00053  
00055 
00056   void SetExtent(int extent[6]);
00057   void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
00058   int *GetExtent() { return this->Extent;};
00060 
00062 
00065   vtkSetMacro(ThresholdCells,int);
00066   vtkGetMacro(ThresholdCells,int);
00067   vtkBooleanMacro(ThresholdCells,int);
00069 
00071 
00074   vtkSetMacro(ThresholdValue,double);
00075   vtkGetMacro(ThresholdValue,double);
00076   vtkBooleanMacro(ThresholdValue,double);
00078 
00080 
00083   vtkSetMacro(OutputTriangles,int);
00084   vtkGetMacro(OutputTriangles,int);
00085   vtkBooleanMacro(OutputTriangles,int);
00087 
00088 protected:
00089   vtkImageDataGeometryFilter();
00090   ~vtkImageDataGeometryFilter() {};
00091 
00092   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00093   virtual int FillInputPortInformation(int port, vtkInformation *info);
00094 
00095   int    Extent[6];
00096   int    ThresholdCells;
00097   double ThresholdValue;
00098   int    OutputTriangles;
00099 
00100 private:
00101   vtkImageDataGeometryFilter(const vtkImageDataGeometryFilter&);  // Not implemented.
00102   void operator=(const vtkImageDataGeometryFilter&);  // Not implemented.
00103 };
00104 
00105 #endif

Generated by  doxygen 1.7.1