45 #ifndef _VRENDER_EXPORTER_H 46 #define _VRENDER_EXPORTER_H 52 #include "../config.h" 53 #include <QTextStream> 77 virtual void writeHeader(QTextStream& out)
const = 0 ;
78 virtual void writeFooter(QTextStream& out)
const = 0 ;
106 void setColor(QTextStream& out,
float,
float,
float) ;
109 static const char *GOURAUD_TRIANGLE_EPS[] ;
147 int FigCoordX(
double)
const ;
148 int FigCoordY(
double)
const ;
149 int FigGrayScaleIndex(
float red,
float green,
float blue)
const ;
void setClearColor(float r, float g, float b)
void setClearBackground(bool b)
virtual void spewPoint(const Point *, QTextStream &out)=0
virtual void writeHeader(QTextStream &out) const =0
static const char * CREATOR
void setBoundingBox(float xmin, float ymin, float xmax, float ymax)
void setBlackAndWhite(bool b)
virtual void spewSegment(const Segment *, QTextStream &out)=0
virtual void spewPolygone(const Polygone *, QTextStream &out)=0
static const double EPS_GOURAUD_THRESHOLD
virtual void exportToFile(const QString &filename, const std::vector< PtrPrimitive > &, VRenderParams &)
virtual void writeFooter(QTextStream &out) const =0