#include <Inventor/ViewerComponents/Qt/QML/RenderArea.h>
Inheritance diagram for openinventor::inventor::viewercomponents::qt::qml::RenderArea:Public Slots | |
| void | onWindowChanged (QQuickWindow *window) |
| void | onScreenChanged () |
Public Member Functions | |
| RenderArea () | |
| virtual | ~RenderArea () |
| void | setSceneGraph (SoNode *sceneGraph) override |
| Sets the scene graph to render. | |
| SoNode * | getSceneGraph () const override |
| Gets the scene graph to render. | |
| void | setClearPolicy (ClearPolicy policy) override |
| Defines the color buffer and depth buffer clear policy. | |
| ClearPolicy | getClearPolicy () const override |
| Gets the color buffer and depth buffer clear policy. | |
| void | setClearColor (const SbColorRGBA &color) override |
| Defines the RGBA value used when the color buffer is cleared. | |
| SbColorRGBA | getClearColor () const override |
| Gets the RGBA value used when the color buffer is cleared. | |
| void | setClearDepth (float depth) override |
| Defines the depth value used when the depth buffer is cleared. | |
| float | getClearDepth () const override |
| Gets the depth value used when the depth buffer is cleared. | |
| void | setSize (const SbVec2i32 &size) override |
| Defines the size used for rendering. | |
| SbVec2i32 | getSize () const override |
| Gets the size used for rendering. | |
| virtual void | setGLRenderAction (SoGLRenderAction *glAction) |
| Defines the render action used for rendering. | |
| 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. | |
| void | setAntialiasingMode (SoSceneManager::AntialiasingMode mode) |
| Defines the antialiasing mode. | |
| SoSceneManager::AntialiasingMode | getAntialiasingMode () const |
| void | setAntialiasingQuality (float quality) |
| Defines the antialiasing quality value. | |
| float | getAntialiasingQuality () const |
| void | setStillSuperSamplingQuality (float quality) |
| Sets quality for supersampling when "still" (not interacting). | |
| float | getStillSuperSamplingQuality () const |
| void | setStillSuperSamplingDelay (unsigned int delay) |
| Sets delay for supersampling when "still" (not interacting). | |
| unsigned int | getStillSuperSamplingDelay () const |
| void | activateStereo (bool activated) |
| Activate/Deactivate stereo. | |
| bool | isStereoActivated () const |
| Always returns false. | |
| void | setStereoParameters (SoStereoParameters *parameters) |
| Defines the stereo parameters. | |
| SoStereoParameters * | getStereoParameters () const |
| Returns nullptr. | |
| bool | isRawStereoAvailable () |
| Always returns false. | |
Friends | |
| class | QmlRenderer |
Additional Inherited Members | |
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 in a QML item.
RenderArea creates a 3D rendering item. Use the setSceneGraph() method to specify the scene graph to be rendered.
RenderAreaInteractive, RenderAreaOrbiter
Definition at line 45 of file RenderArea.h.
| openinventor::inventor::viewercomponents::qt::qml::RenderArea::RenderArea | ( | ) |
|
virtual |
| void openinventor::inventor::viewercomponents::qt::qml::RenderArea::activateStereo | ( | bool | activated | ) |
Activate/Deactivate stereo.
| SoSceneManager::AntialiasingMode openinventor::inventor::viewercomponents::qt::qml::RenderArea::getAntialiasingMode | ( | ) | const |
| float openinventor::inventor::viewercomponents::qt::qml::RenderArea::getAntialiasingQuality | ( | ) | const |
|
overridevirtual |
Gets the RGBA value used when the color buffer is cleared.
Implements SiRenderArea.
|
overridevirtual |
Gets the depth value used when the depth buffer is cleared.
Implements SiRenderArea.
|
overridevirtual |
Gets the color buffer and depth buffer clear policy.
Implements SiRenderArea.
| SoGLRenderAction * openinventor::inventor::viewercomponents::qt::qml::RenderArea::getGLRenderAction | ( | ) | const |
Returns the render action used for rendering.
This method returns nullptr if the show() of the main window is not done.
|
overridevirtual |
Gets the scene graph to render.
Implements SiRenderArea.
|
overridevirtual |
Gets the size used for rendering.
Implements SiRenderArea.
| SoStereoParameters * openinventor::inventor::viewercomponents::qt::qml::RenderArea::getStereoParameters | ( | ) | const |
Returns nullptr.
| unsigned int openinventor::inventor::viewercomponents::qt::qml::RenderArea::getStillSuperSamplingDelay | ( | ) | const |
| float openinventor::inventor::viewercomponents::qt::qml::RenderArea::getStillSuperSamplingQuality | ( | ) | const |
|
virtual |
Gets the global transparency algorithm to use when rendering.
| bool openinventor::inventor::viewercomponents::qt::qml::RenderArea::isRawStereoAvailable | ( | ) |
Always returns false.
| bool openinventor::inventor::viewercomponents::qt::qml::RenderArea::isStereoActivated | ( | ) | const |
Always returns false.
|
slot |
|
slot |
| void openinventor::inventor::viewercomponents::qt::qml::RenderArea::setAntialiasingMode | ( | SoSceneManager::AntialiasingMode | mode | ) |
Defines the antialiasing mode.
| mode | The antialiasing algorithm. Default is NO_ANTIALIASING which turns off antialiasing. |
| void openinventor::inventor::viewercomponents::qt::qml::RenderArea::setAntialiasingQuality | ( | float | quality | ) |
Defines the antialiasing quality value.
| quality | The quality is a factor in the range [0.0,1.0]. Default is 0.0. The value 0.0 turns off antialiasing. |
|
overridevirtual |
Defines the RGBA value used when the color buffer is cleared.
Default is transparent black (0,0,0,0).
Implements SiRenderArea.
|
overridevirtual |
Defines the depth value used when the depth buffer is cleared.
Default is 1. Range is 0..1.
Implements SiRenderArea.
|
overridevirtual |
Defines the color buffer and depth buffer clear policy.
Use enum ClearPolicy Default is COLORBUFFER_AND_DEPTHBUFFER.
Implements SiRenderArea.
|
virtual |
Defines the render action used for rendering.
|
overridevirtual |
Sets the scene graph to render.
Implements SiRenderArea.
Reimplemented in openinventor::inventor::viewercomponents::qt::qml::RenderAreaInteractive.
|
overridevirtual |
Defines the size used for rendering.
Implements SiRenderArea.
| void openinventor::inventor::viewercomponents::qt::qml::RenderArea::setStereoParameters | ( | SoStereoParameters * | parameters | ) |
Defines the stereo parameters.
| void openinventor::inventor::viewercomponents::qt::qml::RenderArea::setStillSuperSamplingDelay | ( | unsigned int | delay | ) |
Sets delay for supersampling when "still" (not interacting).
If greater than 0, images will be supersampled after the specified delay.
| delay | The delay is in milliseconds. If greater than 0, images will be supersampled after the specified delay See also setStillSuperSamplingQuality. |
| void openinventor::inventor::viewercomponents::qt::qml::RenderArea::setStillSuperSamplingQuality | ( | float | quality | ) |
Sets quality for supersampling when "still" (not interacting).
When quality is greater than 0, still images will be automatically supersampled.
| quality | The quality is a factor in the range [0.0,1.0]. Default value is 0.0. Use the value 0.0 to turn off still supersampling. 0.5 is a typical value. See also setStillSuperSamplingDelay. |
|
virtual |
Sets the global transparency algorithm to use when rendering.
| type | The global transparency algorithm |
|
friend |
Definition at line 296 of file RenderArea.h.