OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | Protected Member Functions
GLCanvas Class Reference

#include <gl_canvas.hh>

Inherits QGLWidget, and 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)
 
- Public Member Functions inherited from GLWinBase
virtual ~GLWinBase ()
 

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)
protectedvirtual
virtual bool HasMultisample ( ) const
inlinevirtual

Implements GLWinBase.

Definition at line 55 of file gl_canvas.hh.

virtual bool HasStereo ( ) const
inlinevirtual

Implements GLWinBase.

Definition at line 54 of file gl_canvas.hh.

virtual void initializeGL ( )
protectedvirtual
virtual void keyPressEvent ( QKeyEvent *  event)
protectedvirtual
virtual void keyReleaseEvent ( QKeyEvent *  event)
protectedvirtual
virtual void MakeActive ( )
virtual

Reimplemented from GLWinBase.

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

Implements GLWinBase.

virtual void timerEvent ( QTimerEvent *  event)
protectedvirtual
virtual void wheelEvent ( QWheelEvent *  event)
protectedvirtual

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