21 #ifndef Tulip_GLFEEDBACKBUILDER_H 22 #define Tulip_GLFEEDBACKBUILDER_H 24 #include <tulip/OpenGlIncludes.h> 26 #include <tulip/tulipconf.h> 27 #include <tulip/Vector.h> 32 typedef struct _FeedBack3Dcolor {
43 typedef struct _DepthIndex {
52 class TLP_GL_SCOPE GlFeedBackBuilder {
55 virtual ~GlFeedBackBuilder() {}
57 virtual void begin(
const Vector<int, 4> &, GLfloat *, GLfloat, GLfloat) {}
58 virtual void passThroughToken(GLfloat *) {}
59 virtual void pointToken(GLfloat *) {}
60 virtual void lineToken(GLfloat *) {}
61 virtual void lineResetToken(GLfloat *) {}
62 virtual void polygonToken(GLfloat *) {}
63 virtual void bitmapToken(GLfloat *) {}
64 virtual void drawPixelToken(GLfloat *) {}
65 virtual void copyPixelToken(GLfloat *) {}
68 virtual void getResult(std::string *str) = 0;
72 #endif // Tulip_GLFEEDBACKBUILDER_H