OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ODOpenGLWidget Class Reference
Inheritance diagram for ODOpenGLWidget:
[legend]

Public Member Functions

 ODOpenGLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~ODOpenGLWidget ()
 

Protected Member Functions

osgGA::EventQueue * getEventQueue () const
 
void initializeGL () override
 
void mouseDoubleClickEvent (QMouseEvent *) override
 
void mouseMoveEvent (QMouseEvent *) override
 
void mousePressEvent (QMouseEvent *) override
 
void mouseReleaseEvent (QMouseEvent *) override
 
void paintGL () override
 
void resizeGL (int w, int h) override
 
void setKeyboardModifiers (QInputEvent *)
 
void wheelEvent (QWheelEvent *) override
 

Protected Attributes

ODGraphicsWindow2graphicswindow_
 
double scalex_ = 1
 
double scaley_ = 1
 
osgViewer::Viewer * viewer_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ ODOpenGLWidget()

ODOpenGLWidget::ODOpenGLWidget ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = Qt::WindowFlags() 
)

◆ ~ODOpenGLWidget()

ODOpenGLWidget::~ODOpenGLWidget ( )

Member Function Documentation

◆ getEventQueue()

osgGA::EventQueue* ODOpenGLWidget::getEventQueue ( ) const
protected

◆ initializeGL()

void ODOpenGLWidget::initializeGL ( )
overrideprotected

◆ mouseDoubleClickEvent()

void ODOpenGLWidget::mouseDoubleClickEvent ( QMouseEvent *  )
overrideprotected

◆ mouseMoveEvent()

void ODOpenGLWidget::mouseMoveEvent ( QMouseEvent *  )
overrideprotected

◆ mousePressEvent()

void ODOpenGLWidget::mousePressEvent ( QMouseEvent *  )
overrideprotected

◆ mouseReleaseEvent()

void ODOpenGLWidget::mouseReleaseEvent ( QMouseEvent *  )
overrideprotected

◆ paintGL()

void ODOpenGLWidget::paintGL ( )
overrideprotected

◆ resizeGL()

void ODOpenGLWidget::resizeGL ( int  w,
int  h 
)
overrideprotected

◆ setKeyboardModifiers()

void ODOpenGLWidget::setKeyboardModifiers ( QInputEvent *  )
protected

◆ wheelEvent()

void ODOpenGLWidget::wheelEvent ( QWheelEvent *  )
overrideprotected

Member Data Documentation

◆ graphicswindow_

ODGraphicsWindow2* ODOpenGLWidget::graphicswindow_
protected

◆ scalex_

double ODOpenGLWidget::scalex_ = 1
protected

◆ scaley_

double ODOpenGLWidget::scaley_ = 1
protected

◆ viewer_

osgViewer::Viewer* ODOpenGLWidget::viewer_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024