#include <nurbsSub.h>
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 |
Definition at line 146 of file nurbsSub.h.
|
write the footer of a PS file.
Implements PLib::RenderMesh. Definition at line 471 of file nurbsSub.cpp. |
|
write the header of a PS file.
Implements PLib::RenderMesh. Definition at line 453 of file nurbsSub.cpp. |
|
Draw a line.
Definition at line 507 of file nurbsSub.cpp. |
|
Draw a triangle.
Implements PLib::RenderMesh. Definition at line 487 of file nurbsSub.cpp. |
|
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. Definition at line 362 of file nurbsSub.cpp. |