proj home

Files   Classes   Functions   Hierarchy  

tessD1disp01< TESS, PT, INDX > Class Template Reference

Wraps a graphics in a switch for the tessellation. More...

#include <tessD1disp01.h>

Inheritance diagram for tessD1disp01< TESS, PT, INDX >:
Collaboration diagram for tessD1disp01< TESS, PT, INDX >:

List of all members.

Public Member Functions

 tessD1disp01 (TESS &tess_)
 Constructor.
template<typename K >
K * displayDeferred (uint &index, typeop< K > tp)
 Add function for deferred display.
template<typename K >
K * displayImmediate (uint &index, typeop< K > tp)
 Add function for immediate display.

Public Attributes

TESS & tess
 The tessellation being drawn.


Detailed Description

template<typename TESS, typename PT, typename INDX>
class tessD1disp01< TESS, PT, INDX >

Wraps a graphics in a switch for the tessellation.

Example
  typeop< tessD1draw01lines<tesstype,pt2> > linestype;
  tessdisp->displayDeferred(displaylines,linestype);

Definition at line 21 of file tessD1disp01.h.


Constructor & Destructor Documentation

template<typename TESS, typename PT, typename INDX>
tessD1disp01< TESS, PT, INDX >::tessD1disp01 ( TESS &  tess_  )  [inline]

Constructor.

Definition at line 29 of file tessD1disp01.h.

00029 : tess(tess_) {};


Member Function Documentation

template<typename TESS, typename PT, typename INDX>
template<typename K >
K* tessD1disp01< TESS, PT, INDX >::displayDeferred ( uint index,
typeop< K >  tp 
) [inline]

Add function for deferred display.

Definition at line 33 of file tessD1disp01.h.

References graphicsImmediateDeferredSwitch::pushdeferred(), and tessD1disp01< TESS, PT, INDX >::tess.

Referenced by simplexD1tessapp01::createdisplay().

00034   {
00035     K* x = new K(tess);
00036 
00037     pushdeferred(index,x);
00038 
00039     return x;
00040   }

template<typename TESS, typename PT, typename INDX>
template<typename K >
K* tessD1disp01< TESS, PT, INDX >::displayImmediate ( uint index,
typeop< K >  tp 
) [inline]

Add function for immediate display.

Definition at line 44 of file tessD1disp01.h.

References tessD1disp01< TESS, PT, INDX >::tess.

00045   {
00046     K* x = new K(tess);
00047 
00048     pushSwitchImmediate(index,x);
00049 
00050     return x;
00051   }


Member Data Documentation

template<typename TESS, typename PT, typename INDX>
TESS& tessD1disp01< TESS, PT, INDX >::tess

The tessellation being drawn.

Definition at line 26 of file tessD1disp01.h.

Referenced by tessD1disp01< TESS, PT, INDX >::displayDeferred(), and tessD1disp01< TESS, PT, INDX >::displayImmediate().


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

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