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

Public Methods | |
| RenderMeshVRML97 (ostream &os, const Color &col) | |
| virtual | ~RenderMeshVRML97 () |
| 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 | |
| int | size |
| ostream & | out |
| Color | color |
| Point_nD< T, 3 > | p_min |
| Point_nD< T, 3 > | p_max |
| int | init |
|
|||||||||
|
write the footer information for a VRML file.
Write the footer information for a VRML file
Reimplemented from PLib::RenderMesh. |
|
|||||||||
|
write the header information for a VRML file.
Reimplemented from PLib::RenderMesh. |
|
||||||||||||||||||||
|
draws the triangle.
This function draws the triangle points to the ostream.
Reimplemented from PLib::RenderMesh. |
|
||||||||||||||||
|
projects from world to screen coordinates.
In the case of a VRML file, 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