ssPolyDatatoAttitudeFilter.h

Go to the documentation of this file.
00001 /* $Id: ssPolyDatatoAttitudeFilter.h,v 1.5 2008/08/28 13:33:10 pfb Exp $ */
00002 
00003 #ifndef _ssPolyDatatoAttitudeFilter_h
00004 #define _ssPolyDatatoAttitudeFilter_h
00005 
00010 #include "ssPolyDatatoPolyDataFilter.h"
00011 #include <ss.h>
00012 
00013 class vtkPoints;
00014 class vtkCellArray;
00015 class vtkFloatArray;
00016 class vtkUnsignedIntArray;
00017 
00022 class VTK_EXPORT ssPolyDatatoAttitudeFilter
00023                  : public ssPolyDatatoPolyDataFilter
00024   {
00025   //****************************************************************************
00026                              public:
00027 
00033   static ssPolyDatatoAttitudeFilter *New();
00034 
00038   vtkTypeMacro(ssPolyDatatoAttitudeFilter, ssPolyDatatoPolyDataFilter);
00039 
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00051   virtual void Samples(vtkIdType s);
00052 
00057   vtkIdType Samples() const;
00058 
00059   
00060   //****************************************************************************
00061                              protected:
00062 
00066   ssPolyDatatoAttitudeFilter();
00067 
00071   ~ssPolyDatatoAttitudeFilter();
00072 
00080   virtual void Execute();
00081 
00085   void InitializeBuffer();
00086 
00090   SMARTP(vtkPoints) points;
00091 
00095   SMARTP(vtkFloatArray) vectors;
00096 
00100   vtkIdType samples;
00101 
00102   //****************************************************************************
00103                              private:
00104 
00108   ssPolyDatatoAttitudeFilter(const ssPolyDatatoAttitudeFilter&);
00109   ssPolyDatatoAttitudeFilter& operator=(const ssPolyDatatoAttitudeFilter& );
00110   };
00111 
00112 /*
00113  * $Log: ssPolyDatatoAttitudeFilter.h,v $
00114  * Revision 1.5  2008/08/28 13:33:10  pfb
00115  * Added Smart Pointers.
00116  *
00117  * Revision 1.4  2005/11/02 03:55:44  pfb
00118  * Fixed doxygen tags.
00119  *
00120  * Revision 1.3  2005/07/21 04:54:46  pfb
00121  * Get rid of memory leaks.
00122  *
00123  * Revision 1.2  2005/05/10 17:08:02  pfb
00124  * Added module info.
00125  *
00126  * Revision 1.1  2004/12/15 03:38:20  pfb
00127  * Initial rev.
00128  *
00129  *
00130  */
00131 
00135 #endif