#include <nurbsSub.hh>
Inheritance diagram for PLib::RenderMeshPS::
Public Methods | |
RenderMeshPS (ostream &os) | |
virtual | ~RenderMeshPS () |
virtual void | drawHeader () |
virtual void | drawTriangle (const SurfSample< T > &v0, const SurfSample< T > &v1, const SurfSample< T > &v2) |
void | drawLine (const SurfSample< T > &v0, const SurfSample< T > &v1) |
virtual void | drawFooter () |
virtual void | screenProject (const HPoint_nD< T, 3 > &worldPt, Point_nD< T, 3 > &screenPt) |
Protected Attributes | |
ostream & | out |
|
write the footer of a PS file.
Reimplemented from PLib::RenderMesh. |
|
write the header of a PS file.
Reimplemented from PLib::RenderMesh. |
|
Draw a line.
|
|
Draw a triangle.
Reimplemented from PLib::RenderMesh. |
|
projects from world to screen coordinates.
A Post Script point is the projection of the point from the homogenous space to the 2D paper surface with the axis multiplied by 100 and with an offset of 200. There is no perspective projection performed.
Reimplemented from PLib::RenderMesh. |