Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

GLLine3D.H

Go to the documentation of this file.
00001 
00010 #ifndef GLLINE3D_H
00011 #define GLLINE3D_H
00012 
00013 
00014 #include "DrawObj.H"
00015 #include "Color.H"
00016 
00017 namespace InSpace {
00018 
00019 class GLLine3D : public DrawObj
00020 {
00021  public:
00022 
00023   GLLine3D(Wpt_list pl, Color c = Color::yellow);
00024   GLLine3D(Wpt_list pl, ARRAY<Color> colorList);
00025   virtual ~GLLine3D();
00026 
00027   void setPoint(int n, Wpt value) { _points[n] = value; }
00028 
00029   void draw();
00030 
00031  protected:
00032 
00033   Wpt_list _points;
00034   ARRAY<Color> _colors;
00035 
00036   float _lineWidth;
00037   float _shininess;
00038   Color _specular;
00039   Color _emission;
00040 
00041 };
00042 
00043 }
00044 
00045 #endif

Generated on Thu Jul 8 15:19:28 2004 for inspace by doxygen 1.3.4