Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::Graphics::PsRenderer Class Reference

#include <PsRenderer.h>

List of all members.

Public Methods

 PsRenderer ()
 ~PsRenderer ()
void writePs (char *pFilename, GLfloat *pFeedbackBuffer, int NbValues, bool sort)

Private Methods

GLfloat * spewPrimitiveEPS (FILE *file, GLfloat *loc)
void spewWireFrameEPS (FILE *file, bool doSort, GLint size, GLfloat *buffer)
void spewUnsortedFeedback (FILE *file, GLint size, GLfloat *buffer)
void spewSortedFeedback (FILE *file, GLint size, GLfloat *buffer)

Static Private Methods

int compare (const void *a, const void *b)

Private Attributes

GLfloat m_PointSize


Constructor & Destructor Documentation

Teddy::Graphics::PsRenderer::PsRenderer   [inline]
 

Definition at line 54 of file PsRenderer.h.

Teddy::Graphics::PsRenderer::~PsRenderer   [inline]
 

Definition at line 55 of file PsRenderer.h.


Member Function Documentation

int Teddy::Graphics::PsRenderer::compare const void *    a,
const void *    b
[static, private]
 

Definition at line 322 of file PsRenderer.cpp.

Referenced by spewSortedFeedback.

GLfloat * Teddy::Graphics::PsRenderer::spewPrimitiveEPS FILE *    file,
GLfloat *    loc
[private]
 

Definition at line 167 of file PsRenderer.cpp.

References EPS_SMOOTH_LINE_FACTOR, m_PointSize, and MAX.

Referenced by spewSortedFeedback, and spewUnsortedFeedback.

void Teddy::Graphics::PsRenderer::spewSortedFeedback FILE *    file,
GLint    size,
GLfloat *    buffer
[private]
 

Definition at line 337 of file PsRenderer.cpp.

References compare, and spewPrimitiveEPS.

Referenced by spewWireFrameEPS.

void Teddy::Graphics::PsRenderer::spewUnsortedFeedback FILE *    file,
GLint    size,
GLfloat *    buffer
[private]
 

Definition at line 311 of file PsRenderer.cpp.

References spewPrimitiveEPS.

Referenced by spewWireFrameEPS.

void Teddy::Graphics::PsRenderer::spewWireFrameEPS FILE *    file,
bool    doSort,
GLint    size,
GLfloat *    buffer
[private]
 

Definition at line 443 of file PsRenderer.cpp.

References EPS_GOURAUD_THRESHOLD, EPS_LINE_WIDTH, Teddy::Graphics::gouraudtriangleEPS, m_PointSize, spewSortedFeedback, and spewUnsortedFeedback.

Referenced by writePs.

void Teddy::Graphics::PsRenderer::writePs char *    pFilename,
GLfloat *    pFeedbackBuffer,
int    NbValues,
bool    sort
 

Definition at line 154 of file PsRenderer.cpp.

References spewWireFrameEPS.


Member Data Documentation

GLfloat Teddy::Graphics::PsRenderer::m_PointSize [private]
 

Definition at line 51 of file PsRenderer.h.

Referenced by spewPrimitiveEPS, and spewWireFrameEPS.


The documentation for this class was generated from the following files: