#include <SoQtGLWidget.h>
Public Member Functions | |
SbBool | getAccumulationBuffer (void) const |
SbBool | getAlphaChannel (void) const |
QWidget * | getGLWidget (void) const |
void | getLineWidthLimits (SbVec2f &range, float &granularity) |
QWidget * | getNormalWidget (void) const |
unsigned long | getOverlayTransparentPixel (void) |
QWidget * | getOverlayWidget (void) const |
void | getPointSizeLimits (SbVec2f &range, float &granularity) |
SbBool | getStencilBuffer (void) const |
SbBool | hasNormalGLArea (void) const |
SbBool | hasOverlayGLArea (void) const |
SbBool | isBorder (void) const |
SbBool | isDoubleBuffer (void) const |
SbBool | isDrawToFrontBufferEnable (void) const |
SbBool | isOverlayRender (void) const |
SbBool | isQuadBufferStereo (void) const |
SbBool | isStealFocus (void) const |
void | setAccumulationBuffer (const SbBool enable) |
void | setAlphaChannel (const SbBool enable) |
void | setBorder (const SbBool enable) |
virtual void | setDoubleBuffer (const SbBool enable) |
void | setDrawToFrontBufferEnable (const SbBool enable) |
void | setOverlayRender (const SbBool onoff) |
void | setQuadBufferStereo (const SbBool enable) |
void | setStealFocus (SbBool enable) |
void | setStencilBuffer (const SbBool enable) |
Protected Member Functions | |
QWidget * | buildWidget (QWidget *parent) |
float | getGLAspectRatio (void) const |
SbVec2s | getGLSize (void) const |
float | getGlxAspectRatio (void) const |
SbVec2s | getGlxSize (void) const |
void | glFlushBuffer (void) |
void | glLockNormal (void) |
void | glLockOverlay (void) |
virtual SbBool | glScheduleRedraw (void) |
void | glSwapBuffers (void) |
void | glUnlockNormal (void) |
void | glUnlockOverlay (void) |
virtual void | initGraphic (void) |
virtual void | initOverlayGraphic (void) |
SbBool | isRGBMode (void) |
SbBool | isStereoBuffer (void) const |
virtual void | processEvent (QEvent *event) |
virtual void | redraw (void)=0 |
virtual void | redrawOverlay (void) |
void | setGLSize (const SbVec2s size) |
void | setGlxSize (const SbVec2s size) |
void | setStereoBuffer (SbBool flag) |
virtual void | sizeChanged (const SbVec2s &size) |
SoQtGLWidget (QWidget *const parent=NULL, const char *const name=NULL, const SbBool embed=TRUE, const int glmodes=SO_GL_RGB, const SbBool build=TRUE) | |
virtual void | widgetChanged (QWidget *w) |
~SoQtGLWidget () | |
Protected Attributes | |
SbBool | drawToFrontBuffer |
SbBool | waitForExpose |
Private Member Functions | |
SOQT_OBJECT_ABSTRACT_HEADER (SoQtGLWidget, SoQtComponent) | |
Private Attributes | |
class SoQtGLWidgetP * | pimpl |
Friends | |
class | SoGuiGLWidgetP |
class | SoQtGLWidgetP |
Definition at line 82 of file SoQtGLWidget.h.
SoQtGLWidget::SoQtGLWidget | ( | QWidget *const | parent = NULL , |
|
const char *const | name = NULL , |
|||
const SbBool | embed = TRUE , |
|||
const int | glmodes = SO_GL_RGB , |
|||
const SbBool | build = TRUE | |||
) | [protected] |
SoQtGLWidget::~SoQtGLWidget | ( | ) | [protected] |
QWidget* SoQtGLWidget::buildWidget | ( | QWidget * | parent | ) | [protected] |
Reimplemented in SoQtRenderArea, SoQtFullViewer, and SoQtPlaneViewer.
SbBool SoQtGLWidget::getAccumulationBuffer | ( | void | ) | const |
SbBool SoQtGLWidget::getAlphaChannel | ( | void | ) | const |
float SoQtGLWidget::getGLAspectRatio | ( | void | ) | const [protected] |
SbVec2s SoQtGLWidget::getGLSize | ( | void | ) | const [protected] |
QWidget* SoQtGLWidget::getGLWidget | ( | void | ) | const |
float SoQtGLWidget::getGlxAspectRatio | ( | void | ) | const [inline, protected] |
Definition at line 155 of file SoQtGLWidget.h.
SbVec2s SoQtGLWidget::getGlxSize | ( | void | ) | const [inline, protected] |
Definition at line 154 of file SoQtGLWidget.h.
void SoQtGLWidget::getLineWidthLimits | ( | SbVec2f & | range, | |
float & | granularity | |||
) |
QWidget* SoQtGLWidget::getNormalWidget | ( | void | ) | const |
unsigned long SoQtGLWidget::getOverlayTransparentPixel | ( | void | ) |
QWidget* SoQtGLWidget::getOverlayWidget | ( | void | ) | const |
void SoQtGLWidget::getPointSizeLimits | ( | SbVec2f & | range, | |
float & | granularity | |||
) |
SbBool SoQtGLWidget::getStencilBuffer | ( | void | ) | const |
void SoQtGLWidget::glFlushBuffer | ( | void | ) | [protected] |
void SoQtGLWidget::glLockNormal | ( | void | ) | [protected] |
void SoQtGLWidget::glLockOverlay | ( | void | ) | [protected] |
virtual SbBool SoQtGLWidget::glScheduleRedraw | ( | void | ) | [protected, virtual] |
Reimplemented in SoQtRenderArea.
void SoQtGLWidget::glSwapBuffers | ( | void | ) | [protected] |
void SoQtGLWidget::glUnlockNormal | ( | void | ) | [protected] |
void SoQtGLWidget::glUnlockOverlay | ( | void | ) | [protected] |
SbBool SoQtGLWidget::hasNormalGLArea | ( | void | ) | const |
SbBool SoQtGLWidget::hasOverlayGLArea | ( | void | ) | const |
virtual void SoQtGLWidget::initGraphic | ( | void | ) | [protected, virtual] |
Reimplemented in SoQtRenderArea.
virtual void SoQtGLWidget::initOverlayGraphic | ( | void | ) | [protected, virtual] |
Reimplemented in SoQtRenderArea.
SbBool SoQtGLWidget::isBorder | ( | void | ) | const |
SbBool SoQtGLWidget::isDoubleBuffer | ( | void | ) | const |
SbBool SoQtGLWidget::isDrawToFrontBufferEnable | ( | void | ) | const |
SbBool SoQtGLWidget::isOverlayRender | ( | void | ) | const |
SbBool SoQtGLWidget::isQuadBufferStereo | ( | void | ) | const |
SbBool SoQtGLWidget::isRGBMode | ( | void | ) | [protected] |
SbBool SoQtGLWidget::isStealFocus | ( | void | ) | const |
SbBool SoQtGLWidget::isStereoBuffer | ( | void | ) | const [protected] |
virtual void SoQtGLWidget::processEvent | ( | QEvent * | event | ) | [protected, virtual] |
Reimplemented in SoQtRenderArea.
virtual void SoQtGLWidget::redraw | ( | void | ) | [protected, pure virtual] |
Implemented in SoQtRenderArea.
virtual void SoQtGLWidget::redrawOverlay | ( | void | ) | [protected, virtual] |
Reimplemented in SoQtRenderArea.
void SoQtGLWidget::setAccumulationBuffer | ( | const SbBool | enable | ) |
void SoQtGLWidget::setAlphaChannel | ( | const SbBool | enable | ) |
void SoQtGLWidget::setBorder | ( | const SbBool | enable | ) |
virtual void SoQtGLWidget::setDoubleBuffer | ( | const SbBool | enable | ) | [virtual] |
Reimplemented in SoQtViewer.
void SoQtGLWidget::setDrawToFrontBufferEnable | ( | const SbBool | enable | ) |
void SoQtGLWidget::setGLSize | ( | const SbVec2s | size | ) | [protected] |
void SoQtGLWidget::setGlxSize | ( | const SbVec2s | size | ) | [inline, protected] |
Definition at line 153 of file SoQtGLWidget.h.
void SoQtGLWidget::setOverlayRender | ( | const SbBool | onoff | ) |
void SoQtGLWidget::setQuadBufferStereo | ( | const SbBool | enable | ) |
void SoQtGLWidget::setStealFocus | ( | SbBool | enable | ) |
void SoQtGLWidget::setStencilBuffer | ( | const SbBool | enable | ) |
void SoQtGLWidget::setStereoBuffer | ( | SbBool | flag | ) | [protected] |
virtual void SoQtGLWidget::sizeChanged | ( | const SbVec2s & | size | ) | [protected, virtual] |
Reimplemented from SoQtComponent.
Reimplemented in SoQtRenderArea, SoQtFullViewer, and SoQtViewer.
SoQtGLWidget::SOQT_OBJECT_ABSTRACT_HEADER | ( | SoQtGLWidget | , | |
SoQtComponent | ||||
) | [private] |
virtual void SoQtGLWidget::widgetChanged | ( | QWidget * | w | ) | [protected, virtual] |
Reimplemented in SoQtRenderArea.
friend class SoGuiGLWidgetP [friend] |
Definition at line 178 of file SoQtGLWidget.h.
friend class SoQtGLWidgetP [friend] |
Definition at line 179 of file SoQtGLWidget.h.
SbBool SoQtGLWidget::drawToFrontBuffer [protected] |
Definition at line 163 of file SoQtGLWidget.h.
class SoQtGLWidgetP* SoQtGLWidget::pimpl [private] |
Reimplemented from SoQtComponent.
Reimplemented in SoQtRenderArea, SoQtConstrainedViewer, SoQtExaminerViewer, SoQtFlyViewer, SoQtFullViewer, SoQtPlaneViewer, and SoQtViewer.
Definition at line 177 of file SoQtGLWidget.h.
SbBool SoQtGLWidget::waitForExpose [protected] |
Definition at line 162 of file SoQtGLWidget.h.