00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _CIvfGleSpiral_h_
00026 #define _CIvfGleSpiral_h_
00027
00028 #include <ivf/IvfShape.h>
00029
00030 #include <GL/gle.h>
00031
00032 #include <ivfgle/IvfGleCoordArray.h>
00033 #include <ivfgle/IvfGleColorArray.h>
00034 #include <ivfgle/IvfGleContour.h>
00035
00036 IvfSmartPointer(CIvfGleSpiral);
00037
00038 class IVFGLE_API CIvfGleSpiral: public CIvfShape {
00039 private:
00040 CIvfGleContourPtr m_contour;
00041 gleDouble m_up[3];
00042 gleDouble m_startXfm[2][3];
00043 gleDouble m_xfmTheta[2][3];
00044 public:
00045 CIvfGleSpiral();
00046
00047 IvfClassInfo("CIvfGleSpiral", CIvfShape);
00048
00049 void setContour(CIvfGleContour* contour);
00050 void setContourUp(double vx, double vy, double vz);
00051 void setContourUp(CIvfVec3d& vec);
00052 protected:
00053 virtual void createGeometry();
00054 };
00055
00056 #endif