#include <nurbsSub.hh>
Inheritance diagram for PLib::RenderMeshPoints::

Public Methods | |
| RenderMeshPoints (BasicArray< Point_nD< T, 3 > > &pts) | |
| virtual | ~RenderMeshPoints () |
| virtual void | drawHeader () |
| virtual void | drawTriangle (const SurfSample< T > &v0, const SurfSample< T > &v1, const SurfSample< T > &v2) |
| virtual void | drawFooter () |
| virtual void | screenProject (const HPoint_nD< T, 3 > &worldPt, Point_nD< T, 3 > &screenPt) |
Protected Attributes | |
| BasicArray< Point_nD< T, 3 > > & | points |
The triangle points are written the the vector specified in the constructor call. The points composing the triangle n are at 3n, 3n+1 and 3n+2 in the vector.
|
|||||||||
|
empty function.
Reimplemented from PLib::RenderMesh. |
|
|||||||||
|
write the header information for a mesh file.
Reimplemented from PLib::RenderMesh. |
|
||||||||||||||||||||
|
draws the triangle.
Adds the triangle points to the point vector.
Reimplemented from PLib::RenderMesh. |
|
||||||||||||||||
|
projects from world to screen coordinates.
The world and screen coordinate are the same. Except that one is in homogenous space and the other in normal space.
Reimplemented from PLib::RenderMesh. |
1.2.12 written by Dimitri van Heesch,
© 1997-2001