Main Page   Class Hierarchy   Compound List   File List   Compound Members  

PLib::RenderMeshPS Class Template Reference

a mesh renderer for PS files. More...

#include <nurbsSub.h>

Inheritance diagram for PLib::RenderMeshPS:

PLib::RenderMesh List of all members.

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

Detailed Description

template<class T>
class PLib::RenderMeshPS< T >

a mesh renderer for PS files.

Author:
Philippe Lavoie
Date:
20 January, 1999

Definition at line 146 of file nurbsSub.h.


Member Function Documentation

template<class T>
void PLib::RenderMeshPS< T >::drawFooter   [virtual]
 

write the footer of a PS file.

Author:
Philippe Lavoie
Date:
20 January 1999

Implements PLib::RenderMesh.

Definition at line 471 of file nurbsSub.cpp.

template<class T>
void PLib::RenderMeshPS< T >::drawHeader   [virtual]
 

write the header of a PS file.

Author:
Philippe Lavoie
Date:
20 January 1999

Implements PLib::RenderMesh.

Definition at line 453 of file nurbsSub.cpp.

template<class T>
void PLib::RenderMeshPS< T >::drawLine const SurfSample< T > &    v0,
const SurfSample< T > &    v1
 

Draw a line.

Parameters:
v0 
v1 
Author:
Philippe Lavoie
Date:
18 may 1999

Definition at line 507 of file nurbsSub.cpp.

template<class T>
void PLib::RenderMeshPS< T >::drawTriangle const SurfSample< T > &    v0,
const SurfSample< T > &    v1,
const SurfSample< T > &    v2
[virtual]
 

Draw a triangle.

Parameters:
v0 
v1 
v2 
Author:
Philippe Lavoie
Date:
20 January 1999

Implements PLib::RenderMesh.

Definition at line 487 of file nurbsSub.cpp.

template<class T>
void PLib::RenderMeshPS< T >::screenProject const HPoint_nD< T, 3 > &    worldPt,
Point_nD< T, 3 > &    screenPt
[virtual]
 

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.

Parameters:
worldPt  the point in world coordinate
screenPt  the point in the VRML coordinate
Author:
Philippe Lavoie
Date:
20 January 1999

Implements PLib::RenderMesh.

Definition at line 362 of file nurbsSub.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 13:27:01 2003 for NURBS++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002