56 #ifndef QT_WIDGET_NODE_HH 57 #define QT_WIDGET_NODE_HH 61 #include <ACG/Geometry/Types/PlaneType.hh> 62 #include <ACG/Scenegraph/BaseNode.hh> 63 #include <ACG/Scenegraph/DrawModes.hh> 64 #include <ACG/GL/VertexDeclaration.hh> 65 #include <ACG/GL/IRenderer.hh> 66 #include <ACG/GL/GLPrimitives.hh> 114 void mouseEvent(
GLState& _state, QMouseEvent* _event);
115 void mouseEvent(QMouseEvent* _event);
117 QWidget* widget()
const{
return widget_;}
119 void setWidget(QWidget* _w);
127 bool eventFilter(QObject *obj, QEvent *event);
135 void createTexture();
138 void createGeometry(
GLState& _state);
141 void updateGeometry();
156 int oldWidgetHeight_;
165 bool anisotropicSupport_;
174 #endif // QT_WIDGET_NODE_HH defined Namespace providing different geometric functions concerning angles.
Class to define the vertex input layout.
int oldWidgetWidth_
initial widgetHeight/Width. Is 0, if widget is 0 or if plane wasn't initialized with current view/pro...
unsigned int vbo_
VBO used to render the plane.
QWidget * widget_
current widget
ACG::SceneGraph::QtWidgetNode QtWidgetNode
Simple Name for QtWidgetNode.
GLState * state_
last state
Plane plane_
plane position and dimensions