Files Classes Functions Hierarchy
#include <d3tessdraw.h>
Public Member Functions | |
| writepointsobj (d3tess const &tess_) | |
| void | draw () |
| Draw the object. | |
| writepointsobj (d4tess const &_tess) | |
| void | draw () const |
Public Attributes | |
| gobjglColor3ub | col |
Definition at line 75 of file d3tessdraw.h.
| writepointsobj::writepointsobj | ( | d3tess const & | tess_ | ) | [inline] |
| writepointsobj::writepointsobj | ( | d4tess const & | _tess | ) | [inline] |
| void writepointsobj::draw | ( | ) | const |
Definition at line 74 of file d4tessdraw.cpp.
References col, gobj::global, and d3tess::pt.
00075 { 00076 gobjContainer & x = * gobjContainer::global; 00077 00078 x.push_back( new gobjglPushAttrib(GL_CURRENT_BIT) ); 00079 x.push_back( new gobjglPushAttrib(GL_LIGHTING_BIT) ); 00080 00081 x.push_back( new gobjglDisable(GL_LIGHTING) ); 00082 00083 x.push_back( new gobjglColor3ub(col) ); 00084 00085 displaypoints<pt4> dp(x,tess.pt); 00086 00087 x.push_back( new gobjglPopAttrib() ); 00088 x.push_back( new gobjglPopAttrib() ); 00089 }
| void writepointsobj::draw | ( | ) | [virtual] |
Draw the object.
Implements gobj.
Definition at line 46 of file d3tessdraw.cpp.
References col, gobj::global, d3tess::pt, and gobjContainer::push().
00047 { 00048 gobjContainer & x = * gobjContainer::global; 00049 00050 x.push( new gobjglPushAttrib(GL_CURRENT_BIT) ); 00051 x.push( new gobjglPushAttrib(GL_LIGHTING_BIT) ); 00052 00053 x.push( new gobjglDisable(GL_LIGHTING) ); 00054 00055 x.push( new gobjglColor3ub(col) ); 00056 00057 //displaypoints<pt3> dp(x,tess.pt); 00058 pointsdisplay2D<pt3> dp(x,tess.pt); 00059 00060 x.push( new gobjglPopAttrib() ); 00061 x.push( new gobjglPopAttrib() ); 00062 }
1.5.8