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
[legend]

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 96 of file Exporter.h.

Constructor & Destructor Documentation

EPSExporter::EPSExporter ( )

Definition at line 60 of file EPSExporter.cpp.

virtual vrender::EPSExporter::~EPSExporter ( )
inlinevirtual

Definition at line 100 of file Exporter.h.

Member Function Documentation

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

Definition at line 308 of file EPSExporter.cpp.

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

Implements vrender::Exporter.

Definition at line 296 of file EPSExporter.cpp.

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

Implements vrender::Exporter.

Definition at line 152 of file EPSExporter.cpp.

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

Implements vrender::Exporter.

Definition at line 214 of file EPSExporter.cpp.

void EPSExporter::writeFooter ( QTextStream &  out) const
protectedvirtual

Implements vrender::Exporter.

Reimplemented in vrender::PSExporter.

Definition at line 107 of file EPSExporter.cpp.

void EPSExporter::writeHeader ( QTextStream &  out) const
protectedvirtual

Implements vrender::Exporter.

Definition at line 67 of file EPSExporter.cpp.

Member Data Documentation

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

Definition at line 115 of file Exporter.h.

const double EPSExporter::EPS_GOURAUD_THRESHOLD = 0.05
staticprivate

Definition at line 113 of file Exporter.h.

const char * EPSExporter::GOURAUD_TRIANGLE_EPS
staticprivate

Definition at line 114 of file Exporter.h.

float EPSExporter::last_b = -1.0
staticprivate

Definition at line 119 of file Exporter.h.

float EPSExporter::last_g = -1.0
staticprivate

Definition at line 118 of file Exporter.h.

float EPSExporter::last_r = -1.0
staticprivate

Definition at line 117 of file Exporter.h.


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


octovis
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Mon Jun 10 2019 14:00:25