proj home

Files   Classes   Functions   Hierarchy  

Public Types | Public Member Functions | Public Attributes | List of all members
gobjglColor4d Class Reference

#include <gobj.h>

Inheritance diagram for gobjglColor4d:
Inheritance graph
Collaboration diagram for gobjglColor4d:
Collaboration graph

Public Types

typedef GLdouble W

Public Member Functions

 gobjglColor4d (W const x_, W const y_, W const z_, W const a_)
void set (W const x_, W const y_, W const z_, W const a_)
void draw ()
 Draw the object.
- Public Member Functions inherited from gobj
virtual ~gobj ()
 Destructor.

Public Attributes

W x
W y
W z
W a

Additional Inherited Members

- Static Public Member Functions inherited from gobj
static void globaldisplaylist (uintc id)
 Convert the global graphics into a display list.
- Static Public Attributes inherited from gobj
static gobjContainerglobal = 0
 The graphics stream.

Detailed Description

Definition at line 162 of file gobj.h.

Member Typedef Documentation

typedef GLdouble gobjglColor4d::W

Definition at line 166 of file gobj.h.

Constructor & Destructor Documentation

gobjglColor4d::gobjglColor4d ( W const  x_,
W const  y_,
W const  z_,
W const  a_ 
)
inline

Definition at line 174 of file gobj.h.

: x(x_), y(y_), z(z_), a(a_) {}

Member Function Documentation

void gobjglColor4d::draw ( )
inlinevirtual

Draw the object.

Implements gobj.

Definition at line 185 of file gobj.h.

References a, GOBJDEBUGCODE, x, y, and z.

{ GOBJDEBUGCODE glColor4d(x,y,z,a); }
void gobjglColor4d::set ( W const  x_,
W const  y_,
W const  z_,
W const  a_ 
)
inline

Definition at line 182 of file gobj.h.

References a, x, y, and z.

{ x=x_; y=y_; z=z_; a=a_; }

Member Data Documentation

W gobjglColor4d::a

Definition at line 171 of file gobj.h.

Referenced by draw(), and set().

W gobjglColor4d::x

Definition at line 168 of file gobj.h.

Referenced by draw(), and set().

W gobjglColor4d::y

Definition at line 169 of file gobj.h.

Referenced by draw(), and set().

W gobjglColor4d::z

Definition at line 170 of file gobj.h.

Referenced by draw(), and set().


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