proj home

Files   Classes   Functions   Hierarchy  

graphicsImmediateDeferredTestg02 Class Reference

Display a test shape through pushing gobj's to global graphics stream. More...

#include <graphicsImmediateDeferredTest.h>

Inheritance diagram for graphicsImmediateDeferredTestg02:
Collaboration diagram for graphicsImmediateDeferredTestg02:

List of all members.

Public Member Functions

 graphicsImmediateDeferredTestg02 (graphicsImmediateDeferredTestTri &ref_)
 Constructor.
void draw ()
 Indirect drawing by pushing geometry to global graphics stream.


Detailed Description

Display a test shape through pushing gobj's to global graphics stream.

The class when draw called writes graphics, the reference is used to forward the work to the reference class and call a function on it.

Definition at line 148 of file graphicsImmediateDeferredTest.h.


Constructor & Destructor Documentation

graphicsImmediateDeferredTestg02::graphicsImmediateDeferredTestg02 ( graphicsImmediateDeferredTestTri ref_  )  [inline]

Constructor.

Definition at line 155 of file graphicsImmediateDeferredTest.h.

00156     : ref(ref_) {}


Member Function Documentation

void graphicsImmediateDeferredTestg02::draw (  )  [virtual]

Indirect drawing by pushing geometry to global graphics stream.

Implements gobj.

Definition at line 53 of file graphicsImmediateDeferredTest.cpp.

References graphicsImmediateDeferredTestTri::addshape02().

00054 {
00055 /*
00056   gobjContainer * px = new gobjContainer(true);
00057 
00058   ref.addshape01(*px);
00059 
00060   gobjpush(px);
00061 */
00062   ref.addshape02();
00063 }


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

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