Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound 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 class GLLine3D : public DrawObj
00018 {
00019  public:
00020 
00021   GLLine3D(Wpt_list pl, Color c = Color::yellow);
00022   GLLine3D(Wpt_list pl, ARRAY<Color> colorList);
00023   virtual ~GLLine3D();
00024 
00025   void setPoint(int n, Wpt value) { _points[n] = value; }
00026 
00027   void draw();
00028 
00029  protected:
00030 
00031   Wpt_list _points;
00032   ARRAY<Color> _colors;
00033 
00034   float _lineWidth;
00035   float _shininess;
00036   Color _specular;
00037   Color _emission;
00038 
00039 };
00040 
00041 #endif

Generated on Mon Sep 15 16:27:55 2003 for inspace by doxygen1.2.18