#include <SoQtViewer.h>

Public Types | |
| enum | AutoClippingStrategy { VARIABLE_NEAR_PLANE, CONSTANT_NEAR_PLANE } |
| enum | BufferType { BUFFER_SINGLE, BUFFER_DOUBLE, BUFFER_INTERACTIVE } |
| enum | DrawStyle { VIEW_AS_IS, VIEW_HIDDEN_LINE, VIEW_NO_TEXTURE, VIEW_LOW_COMPLEXITY, VIEW_LINE, VIEW_POINT, VIEW_BBOX, VIEW_LOW_RES_LINE, VIEW_LOW_RES_POINT, VIEW_SAME_AS_STILL, VIEW_WIREFRAME_OVERLAY } |
| enum | DrawType { STILL = 0, INTERACTIVE } |
| enum | StereoType { STEREO_NONE, STEREO_ANAGLYPH, STEREO_QUADBUFFER, STEREO_INTERLEAVED_ROWS, STEREO_INTERLEAVED_COLUMNS } |
| enum | Type { BROWSER, EDITOR } |
Public Member Functions | |
| void | addFinishCallback (SoQtViewerCB *func, void *data=NULL) |
| void | addStartCallback (SoQtViewerCB *func, void *data=NULL) |
| void | getAnaglyphStereoColorMasks (SbBool left[3], SbBool right[3]) |
| SoQtViewer::BufferType | getBufferingType (void) const |
| SoCamera * | getCamera (void) const |
| SoType | getCameraType (void) const |
| SoQtViewer::DrawStyle | getDrawStyle (const SoQtViewer::DrawType type) const |
| SoDirectionalLight * | getHeadlight (void) const |
| virtual SoNode * | getSceneGraph (void) |
| float | getSeekTime (void) const |
| float | getStereoOffset (void) const |
| SoQtViewer::StereoType | getStereoType (void) const |
| const SbColor & | getWireframeOverlayColor (void) const |
| SbBool | isAutoClipping (void) const |
| SbBool | isCursorEnabled (void) const |
| SbBool | isDetailSeek (void) const |
| SbBool | isHeadlight (void) const |
| SbBool | isStereoViewing (void) const |
| SbBool | isViewing (void) const |
| void | removeFinishCallback (SoQtViewerCB *func, void *data=NULL) |
| void | removeStartCallback (SoQtViewerCB *func, void *data=NULL) |
| virtual void | resetToHomePosition (void) |
| virtual void | saveHomePosition (void) |
| void | setAnaglyphStereoColorMasks (const SbBool left[3], const SbBool right[3]) |
| void | setAutoClipping (SbBool enable) |
| void | setAutoClippingStrategy (const AutoClippingStrategy strategy, const float value=0.6f, SoQtAutoClippingCB *cb=NULL, void *cbuserdata=NULL) |
| virtual void | setBufferingType (SoQtViewer::BufferType type) |
| virtual void | setCamera (SoCamera *camera) |
| virtual void | setCameraType (SoType type) |
| virtual void | setCursorEnabled (SbBool enable) |
| void | setDetailSeek (const SbBool enable) |
| virtual void | setDoubleBuffer (const SbBool enable) |
| virtual void | setDrawStyle (SoQtViewer::DrawType type, SoQtViewer::DrawStyle style) |
| virtual void | setHeadlight (SbBool enable) |
| virtual void | setSceneGraph (SoNode *root) |
| void | setSeekTime (const float seconds) |
| virtual void | setStereoOffset (const float dist) |
| SbBool | setStereoType (SoQtViewer::StereoType s) |
| virtual void | setStereoViewing (SbBool enable) |
| virtual void | setViewing (SbBool enable) |
| void | setWireframeOverlayColor (const SbColor &color) |
| virtual void | toggleCameraType (void) |
| virtual void | viewAll (void) |
Protected Member Functions | |
| virtual void | actualRedraw (void) |
| void | addSuperimposition (SoNode *scene) |
| virtual void | changeCameraValues (SoCamera *camera) |
| virtual void | computeSeekFinalOrientation (void) |
| int | getInteractiveCount (void) const |
| float | getSeekDistance (void) const |
| SbBool | getSuperimpositionEnabled (SoNode *scene) const |
| void | interactiveCountDec (void) |
| void | interactiveCountInc (void) |
| SbBool | isSeekMode (void) const |
| SbBool | isSeekValuePercentage (void) const |
| virtual SbBool | processSoEvent (const SoEvent *const event) |
| void | removeSuperimposition (SoNode *scene) |
| void | seekToPoint (const SbVec3f &scenepos) |
| SbBool | seekToPoint (const SbVec2s screenpos) |
| void | setSeekDistance (const float distance) |
| virtual void | setSeekMode (SbBool enable) |
| void | setSeekValueAsPercentage (const SbBool on) |
| void | setSuperimpositionEnabled (SoNode *scene, const SbBool enable) |
| virtual void | sizeChanged (const SbVec2s &size) |
| SoQtViewer (QWidget *parent, const char *name, SbBool embed, Type type, SbBool build) | |
| ~SoQtViewer () | |
Private Member Functions | |
| SOQT_OBJECT_ABSTRACT_HEADER (SoQtViewer, SoQtRenderArea) | |
Private Attributes | |
| class SoQtViewerP * | pimpl |
Friends | |
| class | SoQtViewerP |
Definition at line 81 of file SoQtViewer.h.
Definition at line 115 of file SoQtViewer.h.
Definition at line 109 of file SoQtViewer.h.
| VIEW_AS_IS | |
| VIEW_HIDDEN_LINE | |
| VIEW_NO_TEXTURE | |
| VIEW_LOW_COMPLEXITY | |
| VIEW_LINE | |
| VIEW_POINT | |
| VIEW_BBOX | |
| VIEW_LOW_RES_LINE | |
| VIEW_LOW_RES_POINT | |
| VIEW_SAME_AS_STILL | |
| VIEW_WIREFRAME_OVERLAY |
Definition at line 90 of file SoQtViewer.h.
| enum SoQtViewer::DrawType |
Definition at line 104 of file SoQtViewer.h.
| STEREO_NONE | |
| STEREO_ANAGLYPH | |
| STEREO_QUADBUFFER | |
| STEREO_INTERLEAVED_ROWS | |
| STEREO_INTERLEAVED_COLUMNS |
Definition at line 163 of file SoQtViewer.h.
| enum SoQtViewer::Type |
Definition at line 85 of file SoQtViewer.h.
| SoQtViewer::SoQtViewer | ( | QWidget * | parent, | |
| const char * | name, | |||
| SbBool | embed, | |||
| Type | type, | |||
| SbBool | build | |||
| ) | [protected] |
| SoQtViewer::~SoQtViewer | ( | ) | [protected] |
| virtual void SoQtViewer::actualRedraw | ( | void | ) | [protected, virtual] |
Reimplemented from SoQtRenderArea.
Reimplemented in SoQtExaminerViewer, SoQtFlyViewer, and SoQtPlaneViewer.
| void SoQtViewer::addFinishCallback | ( | SoQtViewerCB * | func, | |
| void * | data = NULL | |||
| ) |
| void SoQtViewer::addStartCallback | ( | SoQtViewerCB * | func, | |
| void * | data = NULL | |||
| ) |
| void SoQtViewer::addSuperimposition | ( | SoNode * | scene | ) | [protected] |
| virtual void SoQtViewer::changeCameraValues | ( | SoCamera * | camera | ) | [protected, virtual] |
Reimplemented in SoQtConstrainedViewer.
| virtual void SoQtViewer::computeSeekFinalOrientation | ( | void | ) | [protected, virtual] |
Reimplemented in StereoViewer.
| void SoQtViewer::getAnaglyphStereoColorMasks | ( | SbBool | left[3], | |
| SbBool | right[3] | |||
| ) |
| SoQtViewer::BufferType SoQtViewer::getBufferingType | ( | void | ) | const |
| SoCamera* SoQtViewer::getCamera | ( | void | ) | const |
| SoType SoQtViewer::getCameraType | ( | void | ) | const |
| SoQtViewer::DrawStyle SoQtViewer::getDrawStyle | ( | const SoQtViewer::DrawType | type | ) | const |
| SoDirectionalLight* SoQtViewer::getHeadlight | ( | void | ) | const |
| int SoQtViewer::getInteractiveCount | ( | void | ) | const [protected] |
| virtual SoNode* SoQtViewer::getSceneGraph | ( | void | ) | [virtual] |
Reimplemented from SoQtRenderArea.
| float SoQtViewer::getSeekDistance | ( | void | ) | const [protected] |
| float SoQtViewer::getSeekTime | ( | void | ) | const |
| float SoQtViewer::getStereoOffset | ( | void | ) | const |
| SoQtViewer::StereoType SoQtViewer::getStereoType | ( | void | ) | const |
| SbBool SoQtViewer::getSuperimpositionEnabled | ( | SoNode * | scene | ) | const [protected] |
| const SbColor& SoQtViewer::getWireframeOverlayColor | ( | void | ) | const |
| void SoQtViewer::interactiveCountDec | ( | void | ) | [protected] |
| void SoQtViewer::interactiveCountInc | ( | void | ) | [protected] |
| SbBool SoQtViewer::isAutoClipping | ( | void | ) | const |
| SbBool SoQtViewer::isCursorEnabled | ( | void | ) | const |
| SbBool SoQtViewer::isDetailSeek | ( | void | ) | const |
| SbBool SoQtViewer::isHeadlight | ( | void | ) | const |
| SbBool SoQtViewer::isSeekMode | ( | void | ) | const [protected] |
| SbBool SoQtViewer::isSeekValuePercentage | ( | void | ) | const [protected] |
| SbBool SoQtViewer::isStereoViewing | ( | void | ) | const |
| SbBool SoQtViewer::isViewing | ( | void | ) | const |
| virtual SbBool SoQtViewer::processSoEvent | ( | const SoEvent *const | event | ) | [protected, virtual] |
Reimplemented from SoQtRenderArea.
Reimplemented in SoQtExaminerViewer, SoQtFlyViewer, SoQtFullViewer, and SoQtPlaneViewer.
| void SoQtViewer::removeFinishCallback | ( | SoQtViewerCB * | func, | |
| void * | data = NULL | |||
| ) |
| void SoQtViewer::removeStartCallback | ( | SoQtViewerCB * | func, | |
| void * | data = NULL | |||
| ) |
| void SoQtViewer::removeSuperimposition | ( | SoNode * | scene | ) | [protected] |
| virtual void SoQtViewer::resetToHomePosition | ( | void | ) | [virtual] |
Reimplemented in SoQtConstrainedViewer, and SoQtFlyViewer.
| virtual void SoQtViewer::saveHomePosition | ( | void | ) | [virtual] |
Reimplemented in SoQtConstrainedViewer.
| void SoQtViewer::seekToPoint | ( | const SbVec3f & | scenepos | ) | [protected] |
| SbBool SoQtViewer::seekToPoint | ( | const SbVec2s | screenpos | ) | [protected] |
| void SoQtViewer::setAnaglyphStereoColorMasks | ( | const SbBool | left[3], | |
| const SbBool | right[3] | |||
| ) |
| void SoQtViewer::setAutoClipping | ( | SbBool | enable | ) |
| void SoQtViewer::setAutoClippingStrategy | ( | const AutoClippingStrategy | strategy, | |
| const float | value = 0.6f, |
|||
| SoQtAutoClippingCB * | cb = NULL, |
|||
| void * | cbuserdata = NULL | |||
| ) |
| virtual void SoQtViewer::setBufferingType | ( | SoQtViewer::BufferType | type | ) | [virtual] |
| virtual void SoQtViewer::setCamera | ( | SoCamera * | camera | ) | [virtual] |
Reimplemented in SoQtConstrainedViewer, SoQtExaminerViewer, SoQtFlyViewer, and SoQtPlaneViewer.
| virtual void SoQtViewer::setCameraType | ( | SoType | type | ) | [virtual] |
Reimplemented in SoQtFlyViewer.
| virtual void SoQtViewer::setCursorEnabled | ( | SbBool | enable | ) | [virtual] |
Reimplemented in SoQtExaminerViewer, SoQtFlyViewer, and SoQtPlaneViewer.
| void SoQtViewer::setDetailSeek | ( | const SbBool | enable | ) |
| virtual void SoQtViewer::setDoubleBuffer | ( | const SbBool | enable | ) | [virtual] |
Reimplemented from SoQtGLWidget.
| virtual void SoQtViewer::setDrawStyle | ( | SoQtViewer::DrawType | type, | |
| SoQtViewer::DrawStyle | style | |||
| ) | [virtual] |
| virtual void SoQtViewer::setHeadlight | ( | SbBool | enable | ) | [virtual] |
| virtual void SoQtViewer::setSceneGraph | ( | SoNode * | root | ) | [virtual] |
Reimplemented from SoQtRenderArea.
| void SoQtViewer::setSeekDistance | ( | const float | distance | ) | [protected] |
| virtual void SoQtViewer::setSeekMode | ( | SbBool | enable | ) | [protected, virtual] |
Reimplemented in SoQtExaminerViewer, SoQtFlyViewer, and SoQtPlaneViewer.
| void SoQtViewer::setSeekTime | ( | const float | seconds | ) |
| void SoQtViewer::setSeekValueAsPercentage | ( | const SbBool | on | ) | [protected] |
| virtual void SoQtViewer::setStereoOffset | ( | const float | dist | ) | [virtual] |
| SbBool SoQtViewer::setStereoType | ( | SoQtViewer::StereoType | s | ) |
| virtual void SoQtViewer::setStereoViewing | ( | SbBool | enable | ) | [virtual] |
| void SoQtViewer::setSuperimpositionEnabled | ( | SoNode * | scene, | |
| const SbBool | enable | |||
| ) | [protected] |
| virtual void SoQtViewer::setViewing | ( | SbBool | enable | ) | [virtual] |
Reimplemented in SoQtExaminerViewer, SoQtFlyViewer, SoQtFullViewer, and SoQtPlaneViewer.
| void SoQtViewer::setWireframeOverlayColor | ( | const SbColor & | color | ) |
| virtual void SoQtViewer::sizeChanged | ( | const SbVec2s & | size | ) | [protected, virtual] |
Reimplemented from SoQtRenderArea.
Reimplemented in SoQtFullViewer.
| SoQtViewer::SOQT_OBJECT_ABSTRACT_HEADER | ( | SoQtViewer | , | |
| SoQtRenderArea | ||||
| ) | [private] |
| virtual void SoQtViewer::toggleCameraType | ( | void | ) | [virtual] |
| virtual void SoQtViewer::viewAll | ( | void | ) | [virtual] |
Reimplemented in SoQtFlyViewer.
friend class SoQtViewerP [friend] |
Definition at line 229 of file SoQtViewer.h.
class SoQtViewerP* SoQtViewer::pimpl [private] |
Reimplemented from SoQtRenderArea.
Reimplemented in SoQtConstrainedViewer, SoQtExaminerViewer, SoQtFlyViewer, SoQtFullViewer, and SoQtPlaneViewer.
Definition at line 228 of file SoQtViewer.h.