C++/Common/DataSource/FiletoPoly/StructuredPointsFiletoPoly.h

Go to the documentation of this file.
00001 /* $Id: StructuredPointsFiletoPoly.h,v 1.6 2007/04/12 15:42:34 pfb Exp $ */
00002 
00003 #ifndef _StructuredPointsFiletoPoly_h
00004 #define _StructuredPointsFiletoPoly_h
00005 
00010 #include "FiletoPoly.h"
00011 
00012 class vtkDataSet;
00013 class vtkPolyData;
00014 class vtkDataArray;
00015 class vtkPoints;
00016 class vtkImageDataGeometryFilter;
00017 class vtkTriangleFilter;
00018 class vtkStructuredPointsReader;
00019 
00026 class StructuredPointsFiletoPoly : public FiletoPoly
00027   {
00028   //****************************************************************************
00029                              public:
00030 
00036   StructuredPointsFiletoPoly(const char *pathname);
00037 
00041   ~StructuredPointsFiletoPoly();
00042  
00047   vtkDataSet *GetReaderOutput() const;
00048 
00053   void SetReleaseDataFlag(bool dynamic);
00054 
00055   //****************************************************************************
00056                              private:
00057   
00064   void fillPoints(vtkPolyData *src,
00065                   vtkDataArray *scalars,
00066                   vtkPoints *dst,
00067                   int n);
00068 
00072   vtkStructuredPointsReader *reader; 
00073 
00077   vtkImageDataGeometryFilter *convert;
00078 
00082   vtkTriangleFilter *triangle;
00083 
00087   vtkPolyData *buffer;
00088 
00092   vtkPoints *point;
00093   };
00094 
00095 
00096 
00097 /*
00098  * $Log: StructuredPointsFiletoPoly.h,v $
00099  * Revision 1.6  2007/04/12 15:42:34  pfb
00100  * Changes made necessary by the upgrade from Debian Sarge to Etch.
00101  *
00102  * Revision 1.5  2005/05/26 15:42:03  pfb
00103  * Fixed documentation.
00104  *
00105  * Revision 1.4  2005/05/11 11:40:11  pfb
00106  * Added module info.
00107  *
00108  *
00109  */
00110 
00114 #endif