proj home

Files   Classes   Functions   Hierarchy  

gobjglTranslatef Class Reference

#include <gobj.h>

Inheritance diagram for gobjglTranslatef:
Collaboration diagram for gobjglTranslatef:

List of all members.

Public Member Functions

 gobjglTranslatef (GLfloat const x_, GLfloat const y_, GLfloat const z_)
 gobjglTranslatef (point3< float > const &p)
 gobjglTranslatef (point3< double > const &p)
void draw ()
 Draw the object.

Public Attributes

GLfloat x
GLfloat y
GLfloat z


Detailed Description

Definition at line 588 of file gobj.h.


Constructor & Destructor Documentation

gobjglTranslatef::gobjglTranslatef ( GLfloat const   x_,
GLfloat const   y_,
GLfloat const   z_ 
) [inline]

Definition at line 597 of file gobj.h.

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

gobjglTranslatef::gobjglTranslatef ( point3< float > const &  p  )  [inline]

Definition at line 605 of file gobj.h.

00608     : x(p.x), y(p.y), z(p.z) {}

gobjglTranslatef::gobjglTranslatef ( point3< double > const &  p  )  [inline]

Definition at line 611 of file gobj.h.

00614     : x(p.x), y(p.y), z(p.z) {}


Member Function Documentation

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

Draw the object.

Implements gobj.

Definition at line 616 of file gobj.h.

References GOBJDEBUGCODE, y, and z.

00617     { GOBJDEBUGCODE glTranslatef(x,y,z); }


Member Data Documentation

Definition at line 592 of file gobj.h.

Definition at line 593 of file gobj.h.

Referenced by draw().

Definition at line 594 of file gobj.h.

Referenced by draw(), and menu01< T >::readImmediate().


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

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