proj home

Files   Classes   Functions   Hierarchy  

gobjglColor3ub Class Reference

#include <gobj.h>

Inheritance diagram for gobjglColor3ub:
Collaboration diagram for gobjglColor3ub:

List of all members.

Public Types

typedef GLubyte W

Public Member Functions

 gobjglColor3ub (W const x_, W const y_, W const z_)
void set (W const x_, W const y_, W const z_)
void draw ()
 Draw the object.


Detailed Description

Definition at line 194 of file gobj.h.


Member Typedef Documentation

typedef GLubyte gobjglColor3ub::W

Definition at line 198 of file gobj.h.


Constructor & Destructor Documentation

gobjglColor3ub::gobjglColor3ub ( W const   x_,
W const   y_,
W const   z_ 
) [inline]

Definition at line 200 of file gobj.h.

00201     : point3<W>(x_,y_,z_) {}


Member Function Documentation

void gobjglColor3ub::draw (  )  [inline, virtual]

Draw the object.

Implements gobj.

Definition at line 206 of file gobj.h.

References GOBJDEBUGCODE, point3< GLubyte >::x, point3< GLubyte >::y, and point3< GLubyte >::z.

Referenced by graphicsImmediateDeferredTest::display01(), writegridobj::draw(), and writesurfaceobj::draw().

00207     { GOBJDEBUGCODE glColor3ub(x,y,z); }

void gobjglColor3ub::set ( W const   x_,
W const   y_,
W const   z_ 
) [inline]

Definition at line 203 of file gobj.h.

References point3< GLubyte >::x, point3< GLubyte >::y, and point3< GLubyte >::z.

00204     { x=x_; y=y_; z=z_; }


The documentation for this class was generated from the following file:

Generated on Fri Mar 4 00:49:58 2011 for Chelton Evans Source by  doxygen 1.5.8