21 #ifndef Tulip_GLFEEDBACKBUILDER_H
22 #define Tulip_GLFEEDBACKBUILDER_H
24 #include <tulip/tulipconf.h>
27 #include <tulip/OpenGlConfigManager.h>
29 #include <tulip/Vector.h>
34 typedef struct _FeedBack3Dcolor {
45 typedef struct _DepthIndex {
54 class TLP_GL_SCOPE GlFeedBackBuilder {
58 virtual ~GlFeedBackBuilder() {}
60 virtual void begin(
const Vector<int, 4> &) {}
61 virtual void passThroughToken(GLfloat*) {}
62 virtual void pointToken(GLfloat*) {}
63 virtual void lineToken(GLfloat*) {}
64 virtual void lineResetToken(GLfloat*) {}
65 virtual void polygonToken(GLfloat*) {}
66 virtual void bitmapToken(GLfloat*) {}
67 virtual void drawPixelToken(GLfloat*) {}
68 virtual void copyPixelToken(GLfloat*) {}
71 virtual void getResult(std::string* str) = 0;
77 #endif // Tulip_GLFEEDBACKBUILDER_H