All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_GLDrawable Class Reference

#include <RE_GLDrawable.h>

+ Inheritance diagram for RE_GLDrawable:

Public Member Functions

 RE_GLDrawable (const QSurfaceFormat &format)
 RE_GLDrawable (const QSurfaceFormat &format, QWidget *parent, QOpenGLContext *sharedContext)
 ~RE_GLDrawable () override
RE_GLContextcontext ()
QPaintEngine * paintEngine () const override

Static Public Member Functions

static const char * widgetTag ()
static const char * drawableSurfaceTag ()
static const char * widgetWrapperTag ()

Protected Member Functions

void paintEvent (QPaintEvent *event) override
void resizeEvent (QResizeEvent *event) override
void mousePressEvent (QMouseEvent *event) override

Detailed Description

GL drawable for Qt5. It's basically a plain Qt widget that manages a GL context.

Definition at line 77 of file RE_GLDrawable.h.

Constructor & Destructor Documentation

RE_GLDrawable::RE_GLDrawable ( const QSurfaceFormat &  format)
RE_GLDrawable::RE_GLDrawable ( const QSurfaceFormat &  format,
QWidget *  parent,
QOpenGLContext *  sharedContext 
RE_GLDrawable::~RE_GLDrawable ( )

Member Function Documentation

RE_GLContext* RE_GLDrawable::context ( )

Definition at line 97 of file RE_GLDrawable.h.

static const char* RE_GLDrawable::drawableSurfaceTag ( )

Return the string tag used to identify whether a QWindow is used a drawable surface for Houdini.

Definition at line 109 of file RE_GLDrawable.h.

void RE_GLDrawable::mousePressEvent ( QMouseEvent *  event)
QPaintEngine* RE_GLDrawable::paintEngine ( ) const

Definition at line 104 of file RE_GLDrawable.h.

void RE_GLDrawable::paintEvent ( QPaintEvent *  event)
void RE_GLDrawable::resizeEvent ( QResizeEvent *  event)
static const char* RE_GLDrawable::widgetTag ( )

Definition at line 105 of file RE_GLDrawable.h.

static const char* RE_GLDrawable::widgetWrapperTag ( )

Return the string tag used to identify whether a QWidget is the wrapper widget of a GL drawable in Houdini.

Definition at line 114 of file RE_GLDrawable.h.

The documentation for this class was generated from the following file: