Base class for all event arguments.
Class representing an event.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> RenderArea inter...
virtual SbEventHandler< RenderEventArg & > & onStartRender()=0
Returns the event handler that raises when a new render starts.
virtual SbVec2i32 getSize() const =0
virtual void setClearDepth(float depth)=0
Defines the depth value used when the depth buffer is cleared.
virtual void setSize(const SbVec2i32 &size)=0
Defines the size to use for rendering.
RenderStatus
Returned by the render method.
@ ABORTED
The frame rendering has been ended before its completion.
@ STILL
The frame has been rendered in still mode.
@ INTERACTIVE
The frame has been rendered in interactive mode (some shapes may have been rendered with low quality ...
virtual SoNode * getSceneGraph() const =0
virtual void setClearPolicy(ClearPolicy policy)=0
Defines the color buffer and depth buffer clear policy.
virtual SbColorRGBA getClearColor() const =0
virtual float getClearDepth() const =0
ClearPolicy
Policy values to clear color and depth buffers beforing rendering.
@ COLORBUFFER
Clear only color buffer beforing rendering.
@ COLORBUFFER_AND_DEPTHBUFFER
Clear both color buffer and depth buffer beforing rendering.
@ NONE
Do not clear both color buffer and depth buffer beforing rendering.
@ DEPTHBUFFER
Clear only depth buffer beforing rendering.
virtual void setSceneGraph(SoNode *newScene)=0
Defines the scene graph which is managed here.
virtual ClearPolicy getClearPolicy() const =0
virtual RenderStatus render()=0
Render the managed scene graph (see setSceneGraph).
virtual void setClearColor(const SbColorRGBA &color)=0
Defines the RGBA value used when the color buffer is cleared.
Abstract base class for all database nodes.
Structure given when a start render event is raised.
SiRenderArea * getSource() const
RenderEventArg(SiRenderArea *source)