ssPolyDatatoBathymetryFilter.h

Go to the documentation of this file.
00001 /* $Id: ssPolyDatatoBathymetryFilter.h,v 1.5 2008/08/28 13:33:10 pfb Exp $ */
00002 
00003 #ifndef _ssPolyDatatoBathymetryFilter_h
00004 #define _ssPolyDatatoBathymetryFilter_h
00005 
00010 #include "ssPolyDatatoPolyDataFilter.h"
00011 #include <ss.h>
00012 
00013 class vtkPoints;
00014 class vtkCellArray;
00015 class vtkUnsignedIntArray;
00016 
00021 class VTK_EXPORT ssPolyDatatoBathymetryFilter
00022                  : public ssPolyDatatoPolyDataFilter
00023   {
00024   //****************************************************************************
00025                              public:
00026 
00032   static ssPolyDatatoBathymetryFilter *New();
00033 
00037   vtkTypeMacro(ssPolyDatatoBathymetryFilter, ssPolyDatatoPolyDataFilter);
00038 
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00050   virtual void PingsPerSwath(vtkIdType pings);
00051 
00056   vtkIdType PingsPerSwath() const;
00057 
00062   virtual void Swaths(vtkIdType swaths);
00063 
00068   vtkIdType Swaths() const;
00069 
00070   
00071   //****************************************************************************
00072                              protected:
00073 
00077   ssPolyDatatoBathymetryFilter();
00078 
00082   ~ssPolyDatatoBathymetryFilter();
00083 
00091   virtual void Execute();
00092 
00096   void InitializeBuffer();
00097 
00101   SMARTP(vtkPoints)           points;
00102 
00106   SMARTP(vtkCellArray)        lines;
00107 
00111   SMARTP(vtkUnsignedIntArray) scalars;
00112 
00116   SMARTP(vtkPolyData)         buffer;
00117 
00118   //****************************************************************************
00119                              private:
00120 
00124   ssPolyDatatoBathymetryFilter(const ssPolyDatatoBathymetryFilter&);
00125   ssPolyDatatoBathymetryFilter& operator=(const ssPolyDatatoBathymetryFilter& );
00126 
00130   void MakeLines();
00131 
00132   vtkIdType lastNPings;
00133   vtkIdType nLines;
00134   };
00135 
00136 /*
00137  * $Log: ssPolyDatatoBathymetryFilter.h,v $
00138  * Revision 1.5  2008/08/28 13:33:10  pfb
00139  * Added Smart Pointers.
00140  *
00141  * Revision 1.4  2005/11/02 03:55:44  pfb
00142  * Fixed doxygen tags.
00143  *
00144  * Revision 1.3  2005/07/06 02:45:18  pfb
00145  * Removed unsued decl.
00146  *
00147  * Revision 1.2  2005/05/10 17:08:02  pfb
00148  * Added module info.
00149  *
00150  * Revision 1.1  2004/12/15 03:38:20  pfb
00151  * Initial rev.
00152  *
00153  *
00154  */
00155 
00159 #endif