56 #ifndef QT_WIDGET_NODE_HH 57 #define QT_WIDGET_NODE_HH 61 #include <ObjectTypes/Plane/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> 111 void mouseEvent(
GLState& _state, QMouseEvent* _event);
112 void mouseEvent(QMouseEvent* _event);
114 QWidget* widget()
const{
return widget_;}
116 void setWidget(QWidget* _w);
124 bool eventFilter(QObject *obj, QEvent *event);
132 void createTexture();
135 void createGeometry(
GLState& _state);
138 void updateGeometry();
153 int oldWidgetHeight_;
162 bool anisotropicSupport_;
171 #endif // QT_WIDGET_NODE_HH defined
Class to define the vertex input layout.
Plane plane_
plane position and dimensions
ACG::SceneGraph::QtWidgetNode QtWidgetNode
Simple Name for QtWidgetNode.
int oldWidgetWidth_
initial widgetHeight/Width. Is 0, if widget is 0 or if plane wasn't initialized with current view/pro...
Namespace providing different geometric functions concerning angles.
QWidget * widget_
current widget
GLState * state_
last state
unsigned int vbo_
VBO used to render the plane.