#include <SoQtRenderArea.h>
Public Member Functions | |
void | getAntialiasing (SbBool &smoothing, int &numPasses) const |
const SbColor & | getBackgroundColor (void) const |
int | getBackgroundIndex (void) const |
SoGLRenderAction * | getGLRenderAction (void) const |
int | getOverlayBackgroundIndex (void) const |
SoGLRenderAction * | getOverlayGLRenderAction (void) const |
SoNode * | getOverlaySceneGraph (void) |
SoSceneManager * | getOverlaySceneManager (void) const |
uint32_t | getRedrawPriority (void) const |
virtual SoNode * | getSceneGraph (void) |
SoSceneManager * | getSceneManager (void) const |
SoGLRenderAction::TransparencyType | getTransparencyType (void) const |
const SbViewportRegion & | getViewportRegion (void) const |
SbBool | isAutoRedraw (void) const |
SbBool | isClearBeforeOverlayRender (void) const |
SbBool | isClearBeforeRender (void) const |
SbBool | isClearZBufferBeforeRender (void) const |
void | redrawOnSelectionChange (SoSelection *selection) |
void | redrawOverlayOnSelectionChange (SoSelection *selection) |
void | registerDevice (SoQtDevice *device) |
void | render (void) |
void | renderOverlay (void) |
void | scheduleOverlayRedraw (void) |
void | scheduleRedraw (void) |
SbBool | sendSoEvent (const SoEvent *event) |
void | setAntialiasing (SbBool smoothing, int numPasses) |
void | setAutoRedraw (SbBool enable) |
void | setBackgroundColor (const SbColor &color) |
void | setBackgroundIndex (int idx) |
void | setClearBeforeOverlayRender (SbBool enable) |
void | setClearBeforeRender (SbBool enable, SbBool zbEnable=TRUE) |
void | setColorMap (int start, int num, const SbColor *colors) |
void | setEventCallback (SoQtRenderAreaEventCB *func, void *user=NULL) |
void | setGLRenderAction (SoGLRenderAction *action) |
void | setOverlayBackgroundIndex (int idx) |
void | setOverlayColorMap (int start, int num, const SbColor *colors) |
void | setOverlayGLRenderAction (SoGLRenderAction *action) |
void | setOverlaySceneGraph (SoNode *scene) |
void | setOverlaySceneManager (SoSceneManager *manager) |
void | setRedrawPriority (uint32_t priority) |
virtual void | setSceneGraph (SoNode *scene) |
void | setSceneManager (SoSceneManager *manager) |
void | setTransparencyType (SoGLRenderAction::TransparencyType type) |
void | setViewportRegion (const SbViewportRegion &newRegion) |
SoQtRenderArea (QWidget *parent=NULL, const char *name=NULL, SbBool embed=TRUE, SbBool mouseInput=TRUE, SbBool keyboardInput=TRUE) | |
void | unregisterDevice (SoQtDevice *device) |
~SoQtRenderArea () | |
Static Public Member Functions | |
static uint32_t | getDefaultRedrawPriority (void) |
Protected Member Functions | |
virtual void | actualOverlayRedraw (void) |
virtual void | actualRedraw (void) |
virtual void | afterRealizeHook (void) |
QWidget * | buildWidget (QWidget *parent) |
virtual const char * | getDefaultIconTitle (void) const |
virtual const char * | getDefaultTitle (void) const |
virtual const char * | getDefaultWidgetName (void) const |
virtual SbBool | glScheduleRedraw (void) |
virtual void | initGraphic (void) |
virtual void | initOverlayGraphic (void) |
virtual void | processEvent (QEvent *event) |
virtual SbBool | processSoEvent (const SoEvent *const event) |
virtual void | redraw (void) |
virtual void | redrawOverlay (void) |
virtual void | sizeChanged (const SbVec2s &size) |
SoQtRenderArea (QWidget *parent, const char *name, SbBool embed, SbBool mouseInput, SbBool keyboardInput, SbBool build) | |
virtual void | widgetChanged (QWidget *widget) |
Private Member Functions | |
SOQT_OBJECT_HEADER (SoQtRenderArea, SoQtGLWidget) | |
Private Attributes | |
class SoQtRenderAreaP * | pimpl |
Friends | |
class | SoQtRenderAreaP |
Definition at line 50 of file SoQtRenderArea.h.
SoQtRenderArea::SoQtRenderArea | ( | QWidget * | parent = NULL , |
|
const char * | name = NULL , |
|||
SbBool | embed = TRUE , |
|||
SbBool | mouseInput = TRUE , |
|||
SbBool | keyboardInput = TRUE | |||
) |
SoQtRenderArea::~SoQtRenderArea | ( | ) |
SoQtRenderArea::SoQtRenderArea | ( | QWidget * | parent, | |
const char * | name, | |||
SbBool | embed, | |||
SbBool | mouseInput, | |||
SbBool | keyboardInput, | |||
SbBool | build | |||
) | [protected] |
virtual void SoQtRenderArea::actualOverlayRedraw | ( | void | ) | [protected, virtual] |
virtual void SoQtRenderArea::actualRedraw | ( | void | ) | [protected, virtual] |
Reimplemented in SoQtExaminerViewer, SoQtFlyViewer, SoQtPlaneViewer, and SoQtViewer.
virtual void SoQtRenderArea::afterRealizeHook | ( | void | ) | [protected, virtual] |
Reimplemented from SoQtComponent.
Reimplemented in SoQtExaminerViewer, SoQtFlyViewer, and SoQtPlaneViewer.
QWidget* SoQtRenderArea::buildWidget | ( | QWidget * | parent | ) | [protected] |
Reimplemented from SoQtGLWidget.
Reimplemented in SoQtFullViewer, and SoQtPlaneViewer.
void SoQtRenderArea::getAntialiasing | ( | SbBool & | smoothing, | |
int & | numPasses | |||
) | const |
const SbColor& SoQtRenderArea::getBackgroundColor | ( | void | ) | const |
int SoQtRenderArea::getBackgroundIndex | ( | void | ) | const |
virtual const char* SoQtRenderArea::getDefaultIconTitle | ( | void | ) | const [protected, virtual] |
Reimplemented from SoQtComponent.
Reimplemented in SoQtColorEditor, SoQtMaterialEditor, SoQtExaminerViewer, SoQtFlyViewer, and SoQtPlaneViewer.
static uint32_t SoQtRenderArea::getDefaultRedrawPriority | ( | void | ) | [static] |
virtual const char* SoQtRenderArea::getDefaultTitle | ( | void | ) | const [protected, virtual] |
Reimplemented from SoQtComponent.
Reimplemented in SoQtColorEditor, SoQtMaterialEditor, SoQtExaminerViewer, SoQtFlyViewer, and SoQtPlaneViewer.
virtual const char* SoQtRenderArea::getDefaultWidgetName | ( | void | ) | const [protected, virtual] |
Reimplemented from SoQtComponent.
Reimplemented in SoQtColorEditor, SoQtMaterialEditor, SoQtExaminerViewer, SoQtFlyViewer, and SoQtPlaneViewer.
SoGLRenderAction* SoQtRenderArea::getGLRenderAction | ( | void | ) | const |
int SoQtRenderArea::getOverlayBackgroundIndex | ( | void | ) | const |
SoGLRenderAction* SoQtRenderArea::getOverlayGLRenderAction | ( | void | ) | const |
SoNode* SoQtRenderArea::getOverlaySceneGraph | ( | void | ) |
SoSceneManager* SoQtRenderArea::getOverlaySceneManager | ( | void | ) | const |
uint32_t SoQtRenderArea::getRedrawPriority | ( | void | ) | const |
virtual SoNode* SoQtRenderArea::getSceneGraph | ( | void | ) | [virtual] |
Reimplemented in SoQtViewer.
SoSceneManager* SoQtRenderArea::getSceneManager | ( | void | ) | const |
SoGLRenderAction::TransparencyType SoQtRenderArea::getTransparencyType | ( | void | ) | const |
const SbViewportRegion& SoQtRenderArea::getViewportRegion | ( | void | ) | const |
virtual SbBool SoQtRenderArea::glScheduleRedraw | ( | void | ) | [protected, virtual] |
Reimplemented from SoQtGLWidget.
virtual void SoQtRenderArea::initGraphic | ( | void | ) | [protected, virtual] |
Reimplemented from SoQtGLWidget.
virtual void SoQtRenderArea::initOverlayGraphic | ( | void | ) | [protected, virtual] |
Reimplemented from SoQtGLWidget.
SbBool SoQtRenderArea::isAutoRedraw | ( | void | ) | const |
SbBool SoQtRenderArea::isClearBeforeOverlayRender | ( | void | ) | const |
SbBool SoQtRenderArea::isClearBeforeRender | ( | void | ) | const |
SbBool SoQtRenderArea::isClearZBufferBeforeRender | ( | void | ) | const |
virtual void SoQtRenderArea::processEvent | ( | QEvent * | event | ) | [protected, virtual] |
Reimplemented from SoQtGLWidget.
virtual SbBool SoQtRenderArea::processSoEvent | ( | const SoEvent *const | event | ) | [protected, virtual] |
Reimplemented in SoQtExaminerViewer, SoQtFlyViewer, SoQtFullViewer, SoQtPlaneViewer, and SoQtViewer.
virtual void SoQtRenderArea::redraw | ( | void | ) | [protected, virtual] |
Implements SoQtGLWidget.
void SoQtRenderArea::redrawOnSelectionChange | ( | SoSelection * | selection | ) |
virtual void SoQtRenderArea::redrawOverlay | ( | void | ) | [protected, virtual] |
Reimplemented from SoQtGLWidget.
void SoQtRenderArea::redrawOverlayOnSelectionChange | ( | SoSelection * | selection | ) |
void SoQtRenderArea::registerDevice | ( | SoQtDevice * | device | ) |
void SoQtRenderArea::render | ( | void | ) |
void SoQtRenderArea::renderOverlay | ( | void | ) |
void SoQtRenderArea::scheduleOverlayRedraw | ( | void | ) |
void SoQtRenderArea::scheduleRedraw | ( | void | ) |
SbBool SoQtRenderArea::sendSoEvent | ( | const SoEvent * | event | ) |
void SoQtRenderArea::setAntialiasing | ( | SbBool | smoothing, | |
int | numPasses | |||
) |
void SoQtRenderArea::setAutoRedraw | ( | SbBool | enable | ) |
void SoQtRenderArea::setBackgroundColor | ( | const SbColor & | color | ) |
void SoQtRenderArea::setBackgroundIndex | ( | int | idx | ) |
void SoQtRenderArea::setClearBeforeOverlayRender | ( | SbBool | enable | ) |
void SoQtRenderArea::setClearBeforeRender | ( | SbBool | enable, | |
SbBool | zbEnable = TRUE | |||
) |
void SoQtRenderArea::setColorMap | ( | int | start, | |
int | num, | |||
const SbColor * | colors | |||
) |
void SoQtRenderArea::setEventCallback | ( | SoQtRenderAreaEventCB * | func, | |
void * | user = NULL | |||
) |
void SoQtRenderArea::setGLRenderAction | ( | SoGLRenderAction * | action | ) |
void SoQtRenderArea::setOverlayBackgroundIndex | ( | int | idx | ) |
void SoQtRenderArea::setOverlayColorMap | ( | int | start, | |
int | num, | |||
const SbColor * | colors | |||
) |
void SoQtRenderArea::setOverlayGLRenderAction | ( | SoGLRenderAction * | action | ) |
void SoQtRenderArea::setOverlaySceneGraph | ( | SoNode * | scene | ) |
void SoQtRenderArea::setOverlaySceneManager | ( | SoSceneManager * | manager | ) |
void SoQtRenderArea::setRedrawPriority | ( | uint32_t | priority | ) |
virtual void SoQtRenderArea::setSceneGraph | ( | SoNode * | scene | ) | [virtual] |
Reimplemented in SoQtViewer.
void SoQtRenderArea::setSceneManager | ( | SoSceneManager * | manager | ) |
void SoQtRenderArea::setTransparencyType | ( | SoGLRenderAction::TransparencyType | type | ) |
void SoQtRenderArea::setViewportRegion | ( | const SbViewportRegion & | newRegion | ) |
virtual void SoQtRenderArea::sizeChanged | ( | const SbVec2s & | size | ) | [protected, virtual] |
Reimplemented from SoQtGLWidget.
Reimplemented in SoQtFullViewer, and SoQtViewer.
SoQtRenderArea::SOQT_OBJECT_HEADER | ( | SoQtRenderArea | , | |
SoQtGLWidget | ||||
) | [private] |
void SoQtRenderArea::unregisterDevice | ( | SoQtDevice * | device | ) |
virtual void SoQtRenderArea::widgetChanged | ( | QWidget * | widget | ) | [protected, virtual] |
Reimplemented from SoQtGLWidget.
friend class SoQtRenderAreaP [friend] |
Definition at line 143 of file SoQtRenderArea.h.
class SoQtRenderAreaP* SoQtRenderArea::pimpl [private] |
Reimplemented from SoQtGLWidget.
Reimplemented in SoQtConstrainedViewer, SoQtExaminerViewer, SoQtFlyViewer, SoQtFullViewer, SoQtPlaneViewer, and SoQtViewer.
Definition at line 142 of file SoQtRenderArea.h.