#include <Exporter.h>
Public Member Functions | |
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)=0 |
virtual void | spewPolygone (const Polygone *, QTextStream &out)=0 |
virtual void | spewSegment (const Segment *, QTextStream &out)=0 |
virtual void | writeFooter (QTextStream &out) const =0 |
virtual void | writeHeader (QTextStream &out) const =0 |
Protected Attributes | |
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 |
Definition at line 64 of file Exporter.h.
Definition at line 60 of file Exporter.cpp.
virtual vrender::Exporter::~Exporter | ( | ) | [inline, virtual] |
Definition at line 68 of file Exporter.h.
void Exporter::exportToFile | ( | const QString & | filename, |
const std::vector< PtrPrimitive > & | , | ||
VRenderParams & | |||
) | [virtual] |
Definition at line 66 of file Exporter.cpp.
void Exporter::setBlackAndWhite | ( | bool | b | ) |
Definition at line 116 of file Exporter.cpp.
void Exporter::setBoundingBox | ( | float | xmin, |
float | ymin, | ||
float | xmax, | ||
float | ymax | ||
) |
Definition at line 106 of file Exporter.cpp.
void Exporter::setClearBackground | ( | bool | b | ) |
Definition at line 115 of file Exporter.cpp.
void Exporter::setClearColor | ( | float | r, |
float | g, | ||
float | b | ||
) |
Definition at line 114 of file Exporter.cpp.
virtual void vrender::Exporter::spewPoint | ( | const Point * | , |
QTextStream & | out | ||
) | [protected, pure virtual] |
Implemented in vrender::FIGExporter, and vrender::EPSExporter.
virtual void vrender::Exporter::spewPolygone | ( | const Polygone * | , |
QTextStream & | out | ||
) | [protected, pure virtual] |
Implemented in vrender::FIGExporter, and vrender::EPSExporter.
virtual void vrender::Exporter::spewSegment | ( | const Segment * | , |
QTextStream & | out | ||
) | [protected, pure virtual] |
Implemented in vrender::FIGExporter, and vrender::EPSExporter.
virtual void vrender::Exporter::writeFooter | ( | QTextStream & | out | ) | const [protected, pure virtual] |
Implemented in vrender::FIGExporter, vrender::PSExporter, and vrender::EPSExporter.
virtual void vrender::Exporter::writeHeader | ( | QTextStream & | out | ) | const [protected, pure virtual] |
Implemented in vrender::FIGExporter, and vrender::EPSExporter.
bool vrender::Exporter::_blackAndWhite [protected] |
Definition at line 91 of file Exporter.h.
float vrender::Exporter::_clearB [protected] |
Definition at line 85 of file Exporter.h.
bool vrender::Exporter::_clearBG [protected] |
Definition at line 91 of file Exporter.h.
float vrender::Exporter::_clearG [protected] |
Definition at line 85 of file Exporter.h.
float vrender::Exporter::_clearR [protected] |
Definition at line 85 of file Exporter.h.
float vrender::Exporter::_lineWidth [protected] |
Definition at line 87 of file Exporter.h.
float vrender::Exporter::_pointSize [protected] |
Definition at line 86 of file Exporter.h.
GLfloat vrender::Exporter::_xmax [protected] |
Definition at line 89 of file Exporter.h.
GLfloat vrender::Exporter::_xmin [protected] |
Definition at line 89 of file Exporter.h.
GLfloat vrender::Exporter::_ymax [protected] |
Definition at line 89 of file Exporter.h.
GLfloat vrender::Exporter::_ymin [protected] |
Definition at line 89 of file Exporter.h.
GLfloat vrender::Exporter::_zmax [protected] |
Definition at line 89 of file Exporter.h.
GLfloat vrender::Exporter::_zmin [protected] |
Definition at line 89 of file Exporter.h.