24#ifndef SO_GUI_RENDER_AREA_H
25#define SO_GUI_RENDER_AREA_H
49#ifndef HIDDEN_FROM_DOC
50typedef void (*soSelectionChangeCB)(
void *,
SoSelection* data);
56#ifndef HIDDEN_FROM_DOC
81 virtual void setSceneGraph(
SoNode* newScene );
86 virtual SoNode* getSceneGraph();
94 void setBackgroundColor(
const SbColor& c );
99 SbColor getBackgroundColor()
const;
105 void setBackgroundIndex(
int index );
110 int getBackgroundIndex()
const;
181 void setClearBeforeRender(
SbBool trueOrFalse,
SbBool zbTrueOrFalse =
TRUE );
186 SbBool isClearBeforeRender()
const;
192 SbBool isClearZBufferBeforeRender()
const;
198 void setAutoRedraw(
SbBool trueOrFalse );
204 SbBool isAutoRedraw()
const;
209 void setRedrawPriority( uint32_t priority );
214 uint32_t getRedrawPriority()
const;
219 static uint32_t getDefaultRedrawPriority();
258 static SbVec2s getDefaultSize();
268 virtual void notifyRedraw();
269 virtual void signalRedraw();
270 virtual void cleanRedraw();
275 virtual void notify( SoNotList* );
292 void setStereoElement();
294 void setRedrawing(
SbBool redrawing );
295 SbBool isRedrawing()
const;
297 SbBool isInteractive()
const;
299 void setStereoOffset(
float offset );
300 float getStereoOffset()
const;
302 void setStereoReversed(
SbBool reverse );
303 SbBool getStereoReversed()
const;
305 void setStereoAbsoluteAdjustments(
SbBool absolute );
306 SbBool getStereoAbsoluteAdjustments()
const;
308 void setStereoBalance(
float balance,
SbBool nearFrac =
false );
309 float getStereoBalance()
const;
310 SbBool isStereoBalanceNearFrac()
const;
312 virtual void setDoubleBufferRA(
SbBool db);
314 virtual void actualRedraw();
316 virtual void initGraphic();
317 void redrawCleanUp();
324 void setFrameGrabber( SoFrameGrabber* grabber );
325 SoFrameGrabber* getFrameGrabber()
const;
341 virtual void postRedraw();
348 void setRenderAreaHandle(
const void *renderAreaHandle, soSelectionChangeCB _selectionChangedCB);
349 void *m_renderAreaHandle;
350 soSelectionChangeCB selectionChangeCB;
352 inline SoFrameGrabber* getGrabber()
const;
355 unsigned int getFPSCount();
364 int m_interactiveCount;
365 unsigned int m_fpsCount;
367 double m_previousfpsTime;
368 bool m_usefpsCallback;
375 void commonConstructor();
381 SbBool m_clearZBufferFirst;
383 SoFrameGrabber* m_grabber;
384 ScTracking* m_tracking;
390 SbBool m_isFloatingPointRendering;
391 FloatColorBufferSize m_floatingPointRenderingPrecision;
399SoFrameGrabber* SoGuiRenderArea::getGrabber()
const
405SoGuiRenderArea::getFPSCount()
#define TRUE
Possible value of SbBool.
#define FALSE
Possible value of SbBool.
#define SO_FIELDCONTAINER_HEADER(className)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class for measur...
Class for representing a viewport.
Abstract base class for camera nodes.
Base class for all events.
Renders a scene graph using Open Inventor's Render Engine.
FastEditSavePolicy
Fast edit traversal types.
InvalidateCacheMode
Invalidate cache mode.
TransparencyType
Transparency rendering algorithm.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Base class for g...
Abstract base class for all database nodes.
Field containing a single Boolean value.
Field containing a floating-point value.
Field containing a two-dimensional vector.
Manages scene graph rendering and event handling.
Manages a list of selected objects.