21 #ifndef Tulip_GLEPSFEEDBACKBUILDER_H
22 #define Tulip_GLEPSFEEDBACKBUILDER_H
23 #ifndef DOXYGEN_NOTFOR_DEVEL
27 #include <tulip/GlTLPFeedBackBuilder.h>
28 #include <tulip/tulipconf.h>
29 #include <tulip/Color.h>
36 class TLP_GL_SCOPE GlEPSFeedBackBuilder :
public GlTLPFeedBackBuilder {
40 GlEPSFeedBackBuilder()
41 :stream_out(std::stringstream::in | std::stringstream::out) {}
46 virtual void begin(
const Vector<int, 4> &viewport,GLfloat *clearColor,GLfloat pointSize,GLfloat lineWidth);
50 virtual void colorInfo(GLfloat *data);
54 virtual void beginGlEntity(GLfloat data);
58 virtual void endGlEntity();
62 virtual void beginGlGraph(GLfloat data);
66 virtual void endGlGraph();
70 virtual void beginNode(GLfloat data);
74 virtual void endNode();
78 virtual void beginEdge(GLfloat data);
82 virtual void endEdge();
86 virtual void pointToken(GLfloat *data);
90 virtual void lineToken(GLfloat *data);
94 virtual void lineResetToken(GLfloat *data);
98 virtual void polygonToken(GLfloat *data);
107 virtual void getResult(std::string* str);
111 std::stringstream stream_out;
123 #endif // DOXYGEN_NOTFOR_DEVEL
125 #endif // Tulip_GLEPSFEEDBACKBUILDER_H