Files Classes Functions Hierarchy
#include <triangledisplay.h>
Public Member Functions | |
| triangledisplaybisectpoints (gobjContainer &_gx, TR const &_tr) | |
| The graphics output and triangle initialized. | |
| void | draw () |
| Write the graphics as gobj objects. | |
Definition at line 155 of file triangledisplay.h.
| triangledisplaybisectpoints< TR >::triangledisplaybisectpoints | ( | gobjContainer & | _gx, | |
| TR const & | _tr | |||
| ) | [inline] |
| void triangledisplaybisectpoints< TR >::draw | ( | ) | [inline, virtual] |
Write the graphics as gobj objects.
Implements gobj.
Definition at line 522 of file triangledisplay.h.
References gobjContainer::push(), and gobjQuadric::radius.
00523 { 00524 gobjQuadric * gd = new gobjQuadric(); 00525 gd->radius=.02; 00526 gx.push( gd ); 00527 00528 typename TR::PTtype b0; 00529 tr.bisectangle(b0,0); 00530 typename TR::PTtype b1; 00531 tr.bisectangle(b1,1); 00532 typename TR::PTtype b2; 00533 tr.bisectangle(b2,2); 00534 00535 gx.push( new gobjglColor3ub(185,185,211) ); 00536 gx.push( new gobjMySphereDraw(b0,gd) ); 00537 gx.push( new gobjMySphereDraw(b1,gd) ); 00538 gx.push( new gobjMySphereDraw(b2,gd) ); 00539 }
1.5.8