RenderArea interface. More...
#include <Inventor/ViewerComponents/SiRenderArea.h>
Classes | |
struct | RenderEventArg |
Structure given when a start render event is raised. More... | |
Public Types | |
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... | |
Public Member Functions | |
virtual void | setSceneGraph (SoNode *newScene)=0 |
Defines the scene graph which is managed here. | |
virtual SoNode * | getSceneGraph () const =0 |
virtual void | setClearPolicy (ClearPolicy policy)=0 |
Defines the color buffer and depth buffer clear policy. | |
virtual ClearPolicy | getClearPolicy () const =0 |
virtual void | setClearColor (const SbColorRGBA &color)=0 |
Defines the RGBA value used when the color buffer is cleared. | |
virtual SbColorRGBA | getClearColor () const =0 |
virtual void | setClearDepth (float depth)=0 |
Defines the depth value used when the depth buffer is cleared. | |
virtual float | getClearDepth () const =0 |
virtual void | setSize (const SbVec2i32 &size)=0 |
Defines the size to use for rendering. | |
virtual SbVec2i32 | getSize () const =0 |
virtual RenderStatus | render ()=0 |
Render the managed scene graph (see setSceneGraph). | |
virtual SbEventHandler< RenderEventArg & > & | onStartRender ()=0 |
Returns the event handler that raises when a new render starts. | |
RenderArea interface.
This interface provides the list of methods that a renderArea classs must define.
Definition at line 43 of file SiRenderArea.h.
Policy values to clear color and depth buffers beforing rendering.
Definition at line 64 of file SiRenderArea.h.
Returned by the render method.
Definition at line 128 of file SiRenderArea.h.
|
pure virtual |
Implemented in SoOffscreenRenderArea, RenderArea, SoRenderAreaCore, and openinventor::inventor::viewercomponents::qt::qml::RenderArea.
|
pure virtual |
Implemented in SoOffscreenRenderArea, RenderArea, SoRenderAreaCore, and openinventor::inventor::viewercomponents::qt::qml::RenderArea.
|
pure virtual |
Implemented in SoOffscreenRenderArea, RenderArea, SoRenderAreaCore, and openinventor::inventor::viewercomponents::qt::qml::RenderArea.
|
pure virtual |
Implemented in SoOffscreenRenderArea, RenderArea, SoRenderAreaCore, and openinventor::inventor::viewercomponents::qt::qml::RenderArea.
|
pure virtual |
Implemented in SoOffscreenRenderArea, RenderArea, SoRenderAreaCore, and openinventor::inventor::viewercomponents::qt::qml::RenderArea.
|
pure virtual |
Returns the event handler that raises when a new render starts.
Implemented in SoOffscreenRenderArea, RenderArea, and SoRenderAreaCore.
|
pure virtual |
Render the managed scene graph (see setSceneGraph).
See RenderStatus documentation for details on the returned value.
Implemented in SoOffscreenRenderArea, and SoRenderAreaCore.
|
pure virtual |
Defines the RGBA value used when the color buffer is cleared.
See also setClearPolicy.
color | RGBA value used to clear the color buffer. |
Implemented in SoOffscreenRenderArea, RenderArea, SoRenderAreaCore, and openinventor::inventor::viewercomponents::qt::qml::RenderArea.
|
pure virtual |
Defines the depth value used when the depth buffer is cleared.
See also setClearPolicy.
depth | value used to clear the depth buffer. |
Implemented in SoOffscreenRenderArea, RenderArea, SoRenderAreaCore, and openinventor::inventor::viewercomponents::qt::qml::RenderArea.
|
pure virtual |
Defines the color buffer and depth buffer clear policy.
See also setClearColor and setClearDepth.
policy | color buffer and depth buffer clear policy. |
Implemented in SoOffscreenRenderArea, RenderArea, SoRenderAreaCore, and openinventor::inventor::viewercomponents::qt::qml::RenderArea.
|
pure virtual |
Defines the scene graph which is managed here.
This is the Open Inventor scene which will be traversed for rendering and event processing.
newScene | scene graph. |
Implemented in SoOffscreenRenderArea, SoRenderAreaCore, RenderArea, RenderAreaInteractive, openinventor::inventor::viewercomponents::qt::qml::RenderArea, and openinventor::inventor::viewercomponents::qt::qml::RenderAreaInteractive.
|
pure virtual |
Defines the size to use for rendering.
Implemented in SoOffscreenRenderArea, RenderArea, SoRenderAreaCore, and openinventor::inventor::viewercomponents::qt::qml::RenderArea.