21 #ifndef Tulip_GLTLPFEEDBACKBUILDER_H
22 #define Tulip_GLTLPFEEDBACKBUILDER_H
28 #if defined(__APPLE__)
29 #include <OpenGL/gl.h>
30 #include <OpenGL/glu.h>
38 #include <tulip/GlFeedBackBuilder.h>
42 enum TLP_FB_TROUGHTOKENTYPE {
54 class TLP_GL_SCOPE GlTLPFeedBackBuilder :
public GlFeedBackBuilder {
58 GlTLPFeedBackBuilder()
66 virtual ~GlTLPFeedBackBuilder() {}
68 virtual void colorInfo(GLfloat *) {}
69 virtual void beginGlEntity(GLfloat) {}
70 virtual void endGlEntity() {}
71 virtual void beginGlGraph(GLfloat) {}
72 virtual void endGlGraph() {}
73 virtual void beginNode(GLfloat) {}
74 virtual void endNode() {}
75 virtual void beginEdge(GLfloat) {}
76 virtual void endEdge() {}
77 virtual void passThroughToken(GLfloat *);
78 virtual void pointToken(GLfloat *) {}
79 virtual void lineToken(GLfloat *) {}
80 virtual void lineResetToken(GLfloat *) {}
81 virtual void polygonToken(GLfloat *) {}
82 virtual void bitmapToken(GLfloat *) {}
83 virtual void drawPixelToken(GLfloat *) {}
84 virtual void copyPixelToken(GLfloat *) {}
96 std::vector<GLfloat> dataBuffer;
102 #endif // Tulip_GLFEEDBACKBUILDER_H