#include <ViewerOpenGLViewport.hpp>
Inherits QOpenGLWidget, and QOpenGLFunctions.
◆ ViewerOpenGLViewport()
ViewerOpenGLViewport::ViewerOpenGLViewport |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ ~ViewerOpenGLViewport()
ViewerOpenGLViewport::~ViewerOpenGLViewport |
( |
| ) |
|
◆ camera()
Camera ViewerOpenGLViewport::camera |
( |
| ) |
const |
◆ cameraChanged()
void ViewerOpenGLViewport::cameraChanged |
( |
| ) |
|
|
protected |
◆ clearScreen()
void ViewerOpenGLViewport::clearScreen |
( |
| ) |
|
|
protected |
◆ hideEvent()
void ViewerOpenGLViewport::hideEvent |
( |
QHideEvent * | event | ) |
|
|
overrideprotected |
◆ initializeGL()
void ViewerOpenGLViewport::initializeGL |
( |
| ) |
|
|
overrideprotected |
◆ mouseMoveEvent()
void ViewerOpenGLViewport::mouseMoveEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void ViewerOpenGLViewport::mousePressEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void ViewerOpenGLViewport::mouseReleaseEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ paintEvent()
void ViewerOpenGLViewport::paintEvent |
( |
QPaintEvent * | event | ) |
|
|
overrideprotected |
◆ paintGL()
void ViewerOpenGLViewport::paintGL |
( |
| ) |
|
|
overrideprotected |
◆ renderAttributes()
void ViewerOpenGLViewport::renderAttributes |
( |
| ) |
|
|
protected |
◆ renderFirstFrame()
void ViewerOpenGLViewport::renderFirstFrame |
( |
| ) |
|
|
protected |
◆ renderGuides()
void ViewerOpenGLViewport::renderGuides |
( |
| ) |
|
|
protected |
◆ renderLastFrame()
void ViewerOpenGLViewport::renderLastFrame |
( |
| ) |
|
|
protected |
◆ renderScene()
void ViewerOpenGLViewport::renderScene |
( |
| ) |
|
|
protected |
◆ renderSceneSettingsDisable()
void ViewerOpenGLViewport::renderSceneSettingsDisable |
( |
| ) |
|
|
protected |
◆ renderSceneSettingsEnable()
void ViewerOpenGLViewport::renderSceneSettingsEnable |
( |
| ) |
|
|
protected |
◆ renderSegments()
void ViewerOpenGLViewport::renderSegments |
( |
| ) |
|
|
protected |
◆ resetScene()
void ViewerOpenGLViewport::resetScene |
( |
Editor * | editor, |
|
|
bool | resetView ) |
◆ resizeEvent()
void ViewerOpenGLViewport::resizeEvent |
( |
QResizeEvent * | event | ) |
|
|
overrideprotected |
◆ resizeGL()
void ViewerOpenGLViewport::resizeGL |
( |
int | w, |
|
|
int | h ) |
|
overrideprotected |
◆ selected()
bool ViewerOpenGLViewport::selected |
( |
| ) |
const |
◆ setFocus()
void ViewerOpenGLViewport::setFocus |
( |
| ) |
|
|
protected |
◆ setSelected()
void ViewerOpenGLViewport::setSelected |
( |
bool | selected | ) |
|
◆ setView3d()
void ViewerOpenGLViewport::setView3d |
( |
| ) |
|
◆ setViewDefault()
void ViewerOpenGLViewport::setViewDefault |
( |
| ) |
|
|
protected |
◆ setViewDirection()
void ViewerOpenGLViewport::setViewDirection |
( |
const QVector3D & | dir, |
|
|
const QVector3D & | up ) |
|
protected |
◆ setViewFront()
void ViewerOpenGLViewport::setViewFront |
( |
| ) |
|
◆ setViewOrthographic()
void ViewerOpenGLViewport::setViewOrthographic |
( |
| ) |
|
◆ setViewPerspective()
void ViewerOpenGLViewport::setViewPerspective |
( |
| ) |
|
◆ setViewports()
void ViewerOpenGLViewport::setViewports |
( |
ViewerViewports * | viewer, |
|
|
size_t | viewportId ) |
◆ setViewResetCenter()
void ViewerOpenGLViewport::setViewResetCenter |
( |
| ) |
|
◆ setViewResetDistance()
void ViewerOpenGLViewport::setViewResetDistance |
( |
| ) |
|
◆ setViewRight()
void ViewerOpenGLViewport::setViewRight |
( |
| ) |
|
◆ setViewTop()
void ViewerOpenGLViewport::setViewTop |
( |
| ) |
|
◆ showEvent()
void ViewerOpenGLViewport::showEvent |
( |
QShowEvent * | event | ) |
|
|
overrideprotected |
◆ updateScene()
void ViewerOpenGLViewport::updateScene |
( |
Editor * | editor | ) |
|
◆ viewportId()
size_t ViewerOpenGLViewport::viewportId |
( |
| ) |
const |
◆ wheelEvent()
void ViewerOpenGLViewport::wheelEvent |
( |
QWheelEvent * | event | ) |
|
|
overrideprotected |
◆ aabb_
◆ camera_
Referenced by camera(), mouseMoveEvent(), mousePressEvent(), paintGL(), renderFirstFrame(), renderGuides(), renderSceneSettingsEnable(), resizeGL(), setViewDefault(), setViewDirection(), setViewOrthographic(), setViewPerspective(), setViewports(), setViewResetCenter(), setViewResetDistance(), and wheelEvent().
◆ editor_
Editor* ViewerOpenGLViewport::editor_ |
|
protected |
◆ resized_
bool ViewerOpenGLViewport::resized_ |
|
protected |
◆ selected_
bool ViewerOpenGLViewport::selected_ |
|
protected |
◆ viewportId_
size_t ViewerOpenGLViewport::viewportId_ |
|
protected |
Referenced by cameraChanged(), renderFirstFrame(), renderScene(), resetScene(), setView3d(), setViewDefault(), setViewDirection(), setViewFront(), setViewports(), setViewResetCenter(), setViewResetDistance(), setViewRight(), setViewTop(), updateScene(), and viewportId().
◆ windowViewports_
The documentation for this class was generated from the following files:
- ViewerOpenGLViewport.hpp
- ViewerOpenGLViewport.cpp