Files Classes Functions Hierarchy
#include <tetrahedrondisplay.h>
Public Types | |
| typedef triangle3D< typename TET::PTtype, typename TET::PDtype > | triType |
Public Member Functions | |
| tetrahedrontriangledisplay (gobjContainer &_gx, TET const &_tr) | |
| The graphics output and tetrahedron. | |
| ~tetrahedrontriangledisplay () | |
| Memory cleanup. | |
| void | draw () |
| Write the graphics as gobj objects. | |
Public Attributes | |
| TD * | tdi [4] |
| The client can configure the triangle displays. | |
| triType | ti [4] |
| Each display has an associated triangle. | |
Definition at line 131 of file tetrahedrondisplay.h.
| typedef triangle3D< typename TET::PTtype, typename TET::PDtype > tetrahedrontriangledisplay< TET, TD >::triType |
Definition at line 143 of file tetrahedrondisplay.h.
| tetrahedrontriangledisplay< TET, TD >::tetrahedrontriangledisplay | ( | gobjContainer & | _gx, | |
| TET const & | _tr | |||
| ) | [inline] |
The graphics output and tetrahedron.
Definition at line 157 of file tetrahedrondisplay.h.
References tetrahedrontriangledisplay< TET, TD >::tdi, and tetrahedrontriangledisplay< TET, TD >::ti.
00160 : gx(_gx), tr(_tr) 00161 { 00162 for (uint i=0; i<4; ++i) 00163 { 00164 tr.trianglei(ti[i],i); 00165 tdi[i] = new TD(gx,ti[i]); 00166 } 00167 }
| tetrahedrontriangledisplay< TET, TD >::~tetrahedrontriangledisplay | ( | ) | [inline] |
Memory cleanup.
Definition at line 170 of file tetrahedrondisplay.h.
References tetrahedrontriangledisplay< TET, TD >::tdi.
| void tetrahedrontriangledisplay< TET, TD >::draw | ( | ) | [inline, virtual] |
Write the graphics as gobj objects.
Implements gobj.
Definition at line 403 of file tetrahedrondisplay.h.
References tetrahedrontriangledisplay< TET, TD >::tdi.
Referenced by tetrahedrondisplay< TET >::draw().
00404 { 00405 for (uint i=0; i<4; ++i) 00406 { 00407 assert(tdi[i]!=0); 00408 tdi[i]->draw(); 00409 } 00410 }
| TD* tetrahedrontriangledisplay< TET, TD >::tdi[4] |
The client can configure the triangle displays.
Definition at line 146 of file tetrahedrondisplay.h.
Referenced by tetrahedrontriangledisplay< TET, TD >::draw(), tetrahedrontriangledisplay< TET, TD >::tetrahedrontriangledisplay(), and tetrahedrontriangledisplay< TET, TD >::~tetrahedrontriangledisplay().
| triType tetrahedrontriangledisplay< TET, TD >::ti[4] |
Each display has an associated triangle.
Definition at line 148 of file tetrahedrondisplay.h.
Referenced by tetrahedrontriangledisplay< TET, TD >::tetrahedrontriangledisplay().
1.5.8