#include <nurbsSub.h>
Inheritance diagram for PLib::RenderMeshPS< T >:
Public Member Functions | |
RenderMeshPS (ostream &os) | |
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
Implements PLib::RenderMesh< T >. |
|
write the header of a PS file
Implements PLib::RenderMesh< T >. |
|
Draw a line.
|
|
Draw a triangle.
Implements PLib::RenderMesh< T >. |
|
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.
Implements PLib::RenderMesh< T >. |