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

InSpace::GLLine3D Class Reference

#include <GLLine3D.H>

Inherits InSpace::DrawObj.

List of all members.

Public Member Functions

 GLLine3D (Wpt_list pl, Color c=Color::yellow)
 GLLine3D (Wpt_list pl, ARRAY< Color > colorList)
virtual ~GLLine3D ()
void setPoint (int n, Wpt value)
void draw ()

Protected Attributes

Wpt_list _points
ARRAY< Color_colors
float _lineWidth
float _shininess
Color _specular
Color _emission


Constructor & Destructor Documentation

InSpace::GLLine3D::GLLine3D Wpt_list  pl,
Color  c = Color::yellow
 

InSpace::GLLine3D::GLLine3D Wpt_list  pl,
ARRAY< Color colorList
 

virtual InSpace::GLLine3D::~GLLine3D  )  [virtual]
 


Member Function Documentation

void InSpace::GLLine3D::draw  )  [virtual]
 

This is the most important function to implement in your subclass. Use GL calls inside this to draw something. This object's xform() has already been pushed onto the MODELVIEW stack when this gets called. If using inspace with G3D, use drawG3D() as a replacement for this function.

Reimplemented from InSpace::DrawObj.

void InSpace::GLLine3D::setPoint int  n,
Wpt  value
[inline]
 


Member Data Documentation

ARRAY<Color> InSpace::GLLine3D::_colors [protected]
 

Color InSpace::GLLine3D::_emission [protected]
 

float InSpace::GLLine3D::_lineWidth [protected]
 

Wpt_list InSpace::GLLine3D::_points [protected]
 

float InSpace::GLLine3D::_shininess [protected]
 

Color InSpace::GLLine3D::_specular [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Jul 8 15:19:30 2004 for inspace by doxygen 1.3.4