Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Attributes | List of all members
vrender::EPSExporter Class Reference

#include <Exporter.h>

Inheritance diagram for vrender::EPSExporter:
Inheritance graph

Public Member Functions

 EPSExporter ()
virtual ~EPSExporter ()
- Public Member Functions inherited from vrender::Exporter
 Exporter ()
virtual void exportToFile (const QString &filename, const std::vector< PtrPrimitive > &, VRenderParams &)
void setBlackAndWhite (bool b)
void setBoundingBox (float xmin, float ymin, float xmax, float ymax)
void setClearBackground (bool b)
void setClearColor (float r, float g, float b)
virtual ~Exporter ()

Protected Member Functions

virtual void spewPoint (const Point *, QTextStream &out)
virtual void spewPolygone (const Polygone *, QTextStream &out)
virtual void spewSegment (const Segment *, QTextStream &out)
virtual void writeFooter (QTextStream &out) const
virtual void writeHeader (QTextStream &out) const

Private Member Functions

void setColor (QTextStream &out, float, float, float)

Static Private Attributes

static const char * CREATOR = "VRender library - (c) Cyril Soler 2005"
static const double EPS_GOURAUD_THRESHOLD = 0.05
static const char * GOURAUD_TRIANGLE_EPS []
static float last_b = -1.0
static float last_g = -1.0
static float last_r = -1.0

Additional Inherited Members

- Protected Attributes inherited from vrender::Exporter
bool _blackAndWhite
float _clearB
bool _clearBG
float _clearG
float _clearR
float _lineWidth
float _pointSize
GLfloat _xmax
GLfloat _xmin
GLfloat _ymax
GLfloat _ymin
GLfloat _zmax
GLfloat _zmin

Detailed Description

Definition at line 91 of file Exporter.h.

Constructor & Destructor Documentation

EPSExporter::EPSExporter ( )

Definition at line 60 of file EPSExporter.cpp.

virtual vrender::EPSExporter::~EPSExporter ( )

Definition at line 95 of file Exporter.h.

Member Function Documentation

void EPSExporter::setColor ( QTextStream &  out,
float  red,
float  green,
float  blue 

Definition at line 308 of file EPSExporter.cpp.

void EPSExporter::spewPoint ( const Point P,
QTextStream &  out 

Implements vrender::Exporter.

Definition at line 296 of file EPSExporter.cpp.

void EPSExporter::spewPolygone ( const Polygone P,
QTextStream &  out 

Implements vrender::Exporter.

Definition at line 152 of file EPSExporter.cpp.

void EPSExporter::spewSegment ( const Segment S,
QTextStream &  out 

Implements vrender::Exporter.

Definition at line 214 of file EPSExporter.cpp.

void EPSExporter::writeFooter ( QTextStream &  out) const

Implements vrender::Exporter.

Reimplemented in vrender::PSExporter.

Definition at line 107 of file EPSExporter.cpp.

void EPSExporter::writeHeader ( QTextStream &  out) const

Implements vrender::Exporter.

Definition at line 67 of file EPSExporter.cpp.

Member Data Documentation

const char * EPSExporter::CREATOR = "VRender library - (c) Cyril Soler 2005"

Definition at line 110 of file Exporter.h.

const double EPSExporter::EPS_GOURAUD_THRESHOLD = 0.05

Definition at line 108 of file Exporter.h.

const char * EPSExporter::GOURAUD_TRIANGLE_EPS

Definition at line 109 of file Exporter.h.

float EPSExporter::last_b = -1.0

Definition at line 114 of file Exporter.h.

float EPSExporter::last_g = -1.0

Definition at line 113 of file Exporter.h.

float EPSExporter::last_r = -1.0

Definition at line 112 of file Exporter.h.

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

Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Wed Jun 5 2019 19:26:39