00001 /* $Id: ssSwathDataReconstructionFilter.h,v 1.7 2008/06/21 00:01:26 pfb Exp $ */ 00002 00003 #ifndef _ssSwathDataReconstructionFilter_h 00004 #define _ssSwathDataReconstructionFilter_h 00005 00010 #include <vtkPolyDataToPolyDataFilter.h> 00011 #include <ss.h> 00012 00013 class vtkPolyData; 00014 class vtkPoints; 00015 class vtkCellArray; 00016 00029 class VTK_EXPORT ssSwathDataReconstructionFilter : 00030 public vtkPolyDataToPolyDataFilter 00031 { 00032 //**************************************************************************** 00033 public: 00034 00039 static ssSwathDataReconstructionFilter *New(); 00040 00041 vtkTypeMacro(ssSwathDataReconstructionFilter, vtkPolyDataToPolyDataFilter); 00042 00047 void NumberOfSwaths(int ns); 00048 00053 int NumberOfSwaths() const; 00054 00060 void PrintSelf(ostream& os, vtkIndent indent); 00061 00062 //**************************************************************************** 00063 protected: 00064 00069 ssSwathDataReconstructionFilter(); 00070 00075 virtual ~ssSwathDataReconstructionFilter(); 00076 00080 void Execute(); 00081 00082 //**************************************************************************** 00083 private: 00084 00088 ssSwathDataReconstructionFilter(const ssSwathDataReconstructionFilter&); 00089 ssSwathDataReconstructionFilter& operator= 00090 (const ssSwathDataReconstructionFilter&); 00091 00098 void BufferInternallyConsistant(); 00099 00106 void HalfRoll(int roll); 00107 00108 vtkIdType ns; 00109 SMARTP(vtkPolyData) buffer; 00110 SMARTP(vtkPoints) bufferpoints; 00111 SMARTP(vtkCellArray) cellarray; 00112 }; 00113 00114 /* 00115 * $Log: ssSwathDataReconstructionFilter.h,v $ 00116 * Revision 1.7 2008/06/21 00:01:26 pfb 00117 * Updated to Smart Pointer. 00118 * 00119 * Revision 1.6 2005/05/11 11:40:11 pfb 00120 * Added module info. 00121 * 00122 * Revision 1.5 2003/08/11 12:32:11 pfb 00123 * Changes made due to switch from VTK 4.0 VTK 4.2.2. 00124 * 00125 * Revision 1.4 2002/04/08 06:02:27 pfb 00126 * A working rev. Needs more testing. 00127 * 00128 * Revision 1.3 2002/03/28 08:54:14 pfb 00129 * Work in progress. The buffer ordering is incorrect at this time. Other 00130 * problems no doubt. 00131 * 00132 * Revision 1.2 2002/03/13 19:55:00 pfb 00133 * Work in progress. 00134 * 00135 * Revision 1.1 2002/03/11 06:55:36 pfb 00136 * Initial rev. 00137 * 00138 * 00139 */ 00140 00144 #endif