58typedef SbBool SoQtRenderAreaEventCB(
void * closure, QEvent* event);
67 const char * name = NULL,
69 SbBool mouseInput = TRUE,
70 SbBool keyboardInput = TRUE);
73 virtual void setSceneGraph(SoNode * scene);
74 virtual SoNode * getSceneGraph(
void);
75 void setOverlaySceneGraph(SoNode * scene);
76 SoNode * getOverlaySceneGraph(
void);
78 void setBackgroundColor(
const SbColor & color);
79 const SbColor & getBackgroundColor(
void)
const;
80#if HAVE_SOSCENEMANAGER_GETBACKGROUNDCOLORRGBA
81 void setBackgroundColorRGBA(
const SbColorRGBA & color);
82 const SbColorRGBA & getBackgroundColorRGBA(
void)
const;
84 void setBackgroundIndex(
int idx);
85 int getBackgroundIndex(
void)
const;
86 void setOverlayBackgroundIndex(
int idx);
87 int getOverlayBackgroundIndex(
void)
const;
88 void setColorMap(
int start,
int num,
const SbColor * colors);
89 void setOverlayColorMap(
int start,
int num,
const SbColor * colors);
90 void setViewportRegion(
const SbViewportRegion & newRegion);
91 const SbViewportRegion & getViewportRegion(
void)
const;
92 void setTransparencyType(SoGLRenderAction::TransparencyType type);
93 SoGLRenderAction::TransparencyType getTransparencyType(
void)
const;
94 void setAntialiasing(SbBool smoothing,
int numPasses);
95 void getAntialiasing(SbBool & smoothing,
int & numPasses)
const;
96 void setClearBeforeRender(SbBool enable, SbBool zbEnable = TRUE);
97 SbBool isClearBeforeRender(
void)
const;
98 SbBool isClearZBufferBeforeRender(
void)
const;
99 void setClearBeforeOverlayRender(SbBool enable);
100 SbBool isClearBeforeOverlayRender(
void)
const;
101 void setAutoRedraw(SbBool enable);
102 SbBool isAutoRedraw(
void)
const;
103 void setRedrawPriority(uint32_t priority);
104 uint32_t getRedrawPriority(
void)
const;
105 static uint32_t getDefaultRedrawPriority(
void);
107 void renderOverlay(
void);
108 void scheduleRedraw(
void);
109 void scheduleOverlayRedraw(
void);
110 void redrawOnSelectionChange(SoSelection * selection);
111 void redrawOverlayOnSelectionChange(SoSelection * selection);
112 void setEventCallback(SoQtRenderAreaEventCB * func,
void * user = NULL);
113 void setSceneManager(SoSceneManager * manager);
114 SoSceneManager * getSceneManager(
void)
const;
115 void setOverlaySceneManager(SoSceneManager * manager);
116 SoSceneManager * getOverlaySceneManager(
void)
const;
117 void setGLRenderAction(SoGLRenderAction * action);
118 SoGLRenderAction * getGLRenderAction(
void)
const;
119 void setOverlayGLRenderAction(SoGLRenderAction * action);
120 SoGLRenderAction * getOverlayGLRenderAction(
void)
const;
122 SbBool sendSoEvent(
const SoEvent * event);
133 SbBool keyboardInput,
136 virtual void redraw(
void);
137 virtual void actualRedraw(
void);
139 virtual void actualOverlayRedraw(
void);
141 virtual SbBool processSoEvent(
const SoEvent *
const event);
158 class SoQtRenderAreaP * pimpl;
159 friend class SoQtRenderAreaP;