GLCanvas Class Reference

#include <gl_canvas.hh>

Inherits ost::gfx::GLWinBase.

Signals

void ReleaseFocus ()

Public Member Functions

 GLCanvas (GLWin *gl_win, QWidget *parent, const QGLFormat &f=QGLFormat::defaultFormat())
virtual void MakeActive ()
virtual void DoRefresh ()
virtual void StatusMessage (const String &m)
virtual bool HasStereo () const
virtual bool HasMultisample () const
void OnTransform (gfx::InputCommand, int indx, gfx::TransformTarget, Real val)
void SetTestMode (bool f)

Protected Member Functions

void Select (const String &query)
void CopySelectionToClipboard ()
virtual void initializeGL ()
virtual void resizeGL (int w, int h)
virtual void paintGL ()
virtual void mouseMoveEvent (QMouseEvent *event)
virtual void mousePressEvent (QMouseEvent *event)
virtual void mouseReleaseEvent (QMouseEvent *event)
virtual void mouseDoubleClickEvent (QMouseEvent *event)
virtual void keyPressEvent (QKeyEvent *event)
virtual void keyReleaseEvent (QKeyEvent *event)
virtual void timerEvent (QTimerEvent *event)
virtual void wheelEvent (QWheelEvent *event)
virtual bool event (QEvent *event)

Detailed Description

Definition at line 43 of file gl_canvas.hh.


Constructor & Destructor Documentation

GLCanvas ( GLWin gl_win,
QWidget *  parent,
const QGLFormat &  f = QGLFormat::defaultFormat() 
)

Member Function Documentation

void CopySelectionToClipboard (  )  [protected]
virtual void DoRefresh (  )  [virtual]

Implements GLWinBase.

virtual bool event ( QEvent *  event  )  [protected, virtual]
virtual bool HasMultisample (  )  const [inline, virtual]

Implements GLWinBase.

Definition at line 55 of file gl_canvas.hh.

virtual bool HasStereo (  )  const [inline, virtual]

Implements GLWinBase.

Definition at line 54 of file gl_canvas.hh.

virtual void initializeGL (  )  [protected, virtual]
virtual void keyPressEvent ( QKeyEvent *  event  )  [protected, virtual]
virtual void keyReleaseEvent ( QKeyEvent *  event  )  [protected, virtual]
virtual void MakeActive (  )  [virtual]

Reimplemented from GLWinBase.

virtual void mouseDoubleClickEvent ( QMouseEvent *  event  )  [protected, virtual]
virtual void mouseMoveEvent ( QMouseEvent *  event  )  [protected, virtual]
virtual void mousePressEvent ( QMouseEvent *  event  )  [protected, virtual]
virtual void mouseReleaseEvent ( QMouseEvent *  event  )  [protected, virtual]
void OnTransform ( gfx::InputCommand  ,
int  indx,
gfx::TransformTarget  ,
Real  val 
)
virtual void paintGL (  )  [protected, virtual]
void ReleaseFocus (  )  [signal]
virtual void resizeGL ( int  w,
int  h 
) [protected, virtual]
void Select ( const String query  )  [protected]
void SetTestMode ( bool  f  ) 
virtual void StatusMessage ( const String m  )  [virtual]

Implements GLWinBase.

virtual void timerEvent ( QTimerEvent *  event  )  [protected, virtual]
virtual void wheelEvent ( QWheelEvent *  event  )  [protected, virtual]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1