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 QOpenGLWindow, and GLWinBase.

Signals

void CustomContextMenuRequested (const QPoint &point)
 

Public Member Functions

 GLCanvas ()
 
virtual ~GLCanvas ()
 
virtual void MakeActive ()
 
virtual void DoRefresh ()
 
virtual void StatusMessage (const String &m)
 
virtual bool HasStereo () const
 
virtual bool HasMultisample () const
 
void SetDefaultFormat ()
 
void SetStereoFormat ()
 
void OnTransform (gfx::InputCommand, int indx, gfx::TransformTarget, Real val)
 
void SetTestMode (bool f)
 
virtual void Export (const String &fname, unsigned int width, unsigned int height, bool transparent)
 
virtual void Export (const String &fname, unsigned int width, unsigned int height, int max_samples, bool transparent)
 
virtual void Export (const String &fname, bool transparent)
 
- Public Member Functions inherited from GLWinBase
virtual ~GLWinBase ()
 

Protected Member Functions

virtual void initializeGL ()
 
virtual void paintGL ()
 
virtual void resizeGL (int w, int h)
 
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 wheelEvent (QWheelEvent *event)
 
virtual bool event (QEvent *event)
 

Detailed Description

Definition at line 38 of file gl_canvas.hh.

Constructor & Destructor Documentation

GLCanvas ( )
virtual ~GLCanvas ( )
virtual

Member Function Documentation

void CustomContextMenuRequested ( const QPoint &  point)
signal
virtual void DoRefresh ( )
inlinevirtual

Implements GLWinBase.

Definition at line 47 of file gl_canvas.hh.

virtual bool event ( QEvent *  event)
protectedvirtual
virtual void Export ( const String fname,
unsigned int  width,
unsigned int  height,
bool  transparent 
)
virtual

Reimplemented from GLWinBase.

virtual void Export ( const String fname,
unsigned int  width,
unsigned int  height,
int  max_samples,
bool  transparent 
)
virtual

Reimplemented from GLWinBase.

virtual void Export ( const String fname,
bool  transparent 
)
virtual

Reimplemented from GLWinBase.

virtual bool HasMultisample ( ) const
inlinevirtual

Implements GLWinBase.

Definition at line 50 of file gl_canvas.hh.

virtual bool HasStereo ( ) const
inlinevirtual

Implements GLWinBase.

Definition at line 49 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
virtual void resizeGL ( int  w,
int  h 
)
protectedvirtual
void SetDefaultFormat ( )
void SetStereoFormat ( )
void SetTestMode ( bool  f)
virtual void StatusMessage ( const String m)
virtual

Implements GLWinBase.

virtual void wheelEvent ( QWheelEvent *  event)
protectedvirtual

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