Files Classes Functions Hierarchy
#include <tessD1disp01.h>
Public Member Functions | |
| tessD1draw01points (TESS &tess_) | |
| Constructor. | |
| void | draw () |
| Draw to the global graphics stream. | |
Public Attributes | |
| gobjglColor3ub | col |
| Change the text color. | |
Definition at line 59 of file tessD1disp01.h.
| tessD1draw01points< TESS, PT >::tessD1draw01points | ( | TESS & | tess_ | ) | [inline] |
| void tessD1draw01points< TESS, PT >::draw | ( | ) | [inline, virtual] |
Draw to the global graphics stream.
Reimplemented from gobjContainer.
Definition at line 154 of file tessD1disp01.h.
References tessD1draw01points< TESS, PT >::col, gobjContainer::gobjContainer(), gobjpush, and gobjContainer::push().
00155 { 00156 gobjContainer & y = * new gobjContainer(true); 00157 00158 y.push( new gobjglPushAttrib(GL_CURRENT_BIT) ); 00159 y.push( new gobjglPushAttrib(GL_LIGHTING_BIT) ); 00160 00161 y.push( new gobjglDisable(GL_LIGHTING) ); 00162 00163 y.push( new gobjglColor3ub(col) ); 00164 00165 pointsdisplay2D< PT > dp(y,tess.pts); 00166 00167 y.push( new gobjglPopAttrib() ); 00168 y.push( new gobjglPopAttrib() ); 00169 00170 gobjpush(&y); 00171 }
| gobjglColor3ub tessD1draw01points< TESS, PT >::col |
Change the text color.
Definition at line 65 of file tessD1disp01.h.
Referenced by tessD1draw01points< TESS, PT >::draw().
1.5.8