#include <nurbsSub.h>
Inheritance diagram for PLib::RenderMeshVRML:
Public Methods | |
RenderMeshVRML (ostream &os, const Color &col) | |
virtual | ~RenderMeshVRML () |
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 |
Definition at line 170 of file nurbsSub.h.
|
write the footer information for a VRML file.
Write the footer information for a VRML file
Implements PLib::RenderMesh. Definition at line 613 of file nurbsSub.cpp. References drawFooter. Referenced by drawFooter. |
|
write the header information for a VRML file.
Implements PLib::RenderMesh. Definition at line 593 of file nurbsSub.cpp. |
|
draws the triangle.
This function draws the triangle points to the ostream.
Implements PLib::RenderMesh. Definition at line 644 of file nurbsSub.cpp. |
|
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.
Implements PLib::RenderMesh. Definition at line 382 of file nurbsSub.cpp. |