Class to render an OpenInventor scene graph in a Qt OpenGL window. More...
#include <Inventor/ViewerComponents/Qt/RenderAreaExaminer.h>
Inheritance diagram for RenderAreaExaminer:Public Member Functions | |
| RenderAreaExaminer (QWidget *parent) | |
| Constructor. | |
| SoDEPRECATED SceneExaminer * | getSceneExaminer () |
| Returns the scene examiner. | |
| virtual SceneExaminer * | getSceneInteractor () const override |
| Returns the scene examiner. | |
| virtual void | setNavigationMode (SceneExaminer::NavigationMode mode) |
| Sets navigation mode. | |
| virtual SceneExaminer::NavigationMode | getNavigationMode () |
| Returns the current navigation mode. | |
| void | seekModeChanged (const bool onOrOff) |
| This method is called when the seek mode is activated and deactivated. | |
| void | interactionModeChanged (SceneExaminer::InteractionMode mode) |
| This method is called when the interaction has changed. | |
Public Member Functions inherited from RenderAreaInteractive | |
| RenderAreaInteractive (QWidget *parent) | |
| This constructor initializes the QOpenGLWidget using the default QSurfaceFormat. | |
| virtual | ~RenderAreaInteractive () |
| Destructor. | |
| virtual void | setSceneGraph (SoNode *sceneGraph) |
| Sets the scene graph to render. | |
| void | setClippingPlanesAdjustMode (ClippingPlanesAdjustMode mode) |
| Set the camera clipping planes adjustment mode. | |
| ClippingPlanesAdjustMode | getClippingPlanesAdjustMode () |
| Get the camera clipping planes adjustment mode. | |
| SoDEPRECATED SceneInteractor * | getRootSceneGraph () const |
| Return the root of the scene graph. | |
| virtual void | viewAll (const SbViewportRegion &viewport) |
| Move the camera to view the scene defined by the given path. | |
| virtual void | viewAxis (const SbVec3f &direction, const SbVec3f &up) |
| Moves the camera to be aligned with the given direction vector while keeping the "up" direction of the camera parallel to the specified up vector. | |
| virtual void | activateStereo (bool activated) |
| Activate/Deactivate stereo. | |
| virtual bool | isStereoSupported () const |
| Returns true if stereo can be activated. | |
| void | setStereoCameraOffset (float offset) |
| Set the stereo offset. | |
| void | setStereoCameraBalance (float balance) |
| Set the stereo balance. | |
| virtual SbBool | processEvent (const SoEvent *event) |
| Processes the passed event to the scene graph managed here. | |
| virtual SbBool | processEvents (const std::vector< const SoEvent * > &eventList) |
| Processes the passed event to the scene graph managed here. | |
| SoDEPRECATED void | setInteractiveMode (SoInteractiveComplexity::InteractiveMode mode) |
| Sets the current interactive mode. | |
| virtual SoDEPRECATED SoInteractiveComplexity::InteractiveMode | getInteractiveMode () const |
| Gets the current interactive mode. | |
Public Member Functions inherited from RenderArea | |
| RenderArea (QWidget *parent) | |
| This constructor initializes the QOpenGLWidget using the default QSurfaceFormat. | |
| virtual | ~RenderArea () |
| Destructor. | |
| virtual SoNode * | getSceneGraph () const |
| Gets the scene graph to render. | |
| virtual void | setClearPolicy (ClearPolicy policy) |
| Defines the color buffer and depth buffer clear policy. | |
| virtual ClearPolicy | getClearPolicy () const |
| Gets the color buffer and depth buffer clear policy. | |
| virtual void | setClearColor (const SbColorRGBA &color) |
| Defines the RGBA value used when the color buffer is cleared. | |
| virtual SbColorRGBA | getClearColor () const |
| Gets the RGBA value used when the color buffer is cleared. | |
| virtual void | setClearDepth (float depth) |
| Defines the depth value used when the depth buffer is cleared. | |
| virtual float | getClearDepth () const |
| Gets the depth value used when the depth buffer is cleared. | |
| virtual void | setSize (const SbVec2i32 &size) |
| Defines the size used for rendering. | |
| virtual SbVec2i32 | getSize () const |
| Gets the size used for rendering. | |
| virtual void | setGLRenderAction (SoGLRenderAction *glAction) |
| Defines the render action used for rendering. | |
| virtual SoGLRenderAction * | getGLRenderAction () const |
| Returns the render action used for rendering. | |
| virtual void | setTransparencyType (SoGLRenderAction::TransparencyType type) |
| Sets the global transparency algorithm to use when rendering. | |
| virtual SoGLRenderAction::TransparencyType | getTransparencyType () const |
| Gets the global transparency algorithm to use when rendering. | |
| virtual void | setAntialiasingMode (SoSceneManager::AntialiasingMode mode) override |
| Define the antialiasing mode. | |
| virtual SoSceneManager::AntialiasingMode | getAntialiasingMode () const override |
| virtual void | setAntialiasingQuality (float quality) override |
| Define the antialiasing quality value. | |
| virtual float | getAntialiasingQuality () const override |
| virtual void | setStillSuperSamplingQuality (float quality) override |
| Set quality for supersampling when "still" (not interacting). | |
| virtual float | getStillSuperSamplingQuality () const override |
| virtual void | setStillSuperSamplingDelay (unsigned int delay) override |
| Set delay for supersampling when "still" (not interacting). | |
| virtual unsigned int | getStillSuperSamplingDelay () const override |
| virtual SbEventHandler< RenderEventArg & > & | onStartRender () |
| Returns the event handler that raises when a new render starts. | |
| virtual bool | isStereoActivated () const |
| Returns true if stereo rendering is currently activated. | |
| virtual void | setStereoParameters (SoStereoParameters *parameters) |
| Defines the stereo parameters. | |
| virtual SoStereoParameters * | getStereoParameters () const |
| bool | isRawStereoAvailable () |
| Returns true if stereo buffering is enabled. | |
| QWidget * | getContainerWidget () |
Deprecated | |
Static Public Attributes | |
| static QCursor * | s_seekCursor |
| static QCursor * | s_viewingCursor |
Additional Inherited Members | |
Public Types inherited from RenderAreaInteractive | |
| enum | ClippingPlanesAdjustMode { AUTO , MANUAL } |
| Camera clipping planes adjustment mode. More... | |
Public Types inherited from SiRenderArea | |
| enum | ClearPolicy { NONE , COLORBUFFER , DEPTHBUFFER , COLORBUFFER_AND_DEPTHBUFFER } |
| Policy values to clear color and depth buffers beforing rendering. More... | |
| enum | RenderStatus { ABORTED , INTERACTIVE , STILL } |
| Returned by the render method. More... | |
Class to render an OpenInventor scene graph in a Qt OpenGL window.
This class extends RenderAreaInteractive to add examiner viewer behaviors.
Note: When using this component, the automatic interactive mode is disabled, see SoSceneManager::setAutoInteractiveMode for more details. Interactive mode is managed by the SceneExaminer node.
Definition at line 19 of file RenderAreaExaminer.h.
| RenderAreaExaminer::RenderAreaExaminer | ( | QWidget * | parent | ) |
Constructor.
|
virtual |
Returns the current navigation mode.
| SoDEPRECATED SceneExaminer * RenderAreaExaminer::getSceneExaminer | ( | ) |
Returns the scene examiner.
|
overridevirtual |
|
virtual |
This method is called when the interaction has changed.
Implements SiInteractionModeListener.
|
virtual |
This method is called when the seek mode is activated and deactivated.
Implements SiInteractionModeListener.
|
virtual |
Sets navigation mode.
|
static |
Definition at line 22 of file RenderAreaExaminer.h.
|
static |
Definition at line 23 of file RenderAreaExaminer.h.