#include <SoRenderArea.h>
Inheritance diagram for SoRenderArea:
Public Member Functions | |
SoRenderArea () | |
virtual | ~SoRenderArea () |
void | setTransparencyType (SoGLRenderAction::TransparencyType a_type) |
Sets the quality level for rendering transparent objects. See SoGLRenderAction for possible transparency types. | |
virtual void | setSceneGraph (SoNode *a_new_scene) |
Sets the scene graph to be rendered in this component's window. | |
virtual SoNode * | getSceneGraph () |
Gets the scene graph to be rendered in this component's window. | |
virtual void | setBackgroundColor (const SbColor &a_color) |
Sets the background color for this window. Default is black (0,0,0). | |
const SbColor & | getBackgroundColor () const |
Gets the background color for this window. | |
SoSceneManager * | getSceneManager () |
Gets the normal scene manager. | |
void | setViewportRegion (const SbViewportRegion &a_region) |
Sets viewport region to use for rendering. | |
const SbViewportRegion & | getViewportRegion () const |
Gets current viewport region to use for rendering. | |
Protected Member Functions | |
virtual void | soKeyPressEvent (SoKeyboardEvent *e) |
virtual void | soKeyReleaseEvent (SoKeyboardEvent *e) |
virtual void | soMouseMoveEvent (SoLocation2Event *e) |
virtual void | soMousePressEvent (SoMouseButtonEvent *e) |
virtual void | soMouseReleaseEvent (SoMouseButtonEvent *e) |
virtual void | soWheelEvent (SoWheelEvent *e) |
virtual void | soRenderCallback ()=0 |
virtual void | soResizeEvent (int width, int height) |
virtual void | soPaintEvent () |
Static Protected Member Functions | |
static void | renderCallback (void *userData, SoSceneManager *mgr) |
Protected Attributes | |
SoSceneManager * | m_p_scene_manager |
SoKeyboardEvent * | m_keyboard_event |
SoMouseButtonEvent * | m_mouse_button_event |
SoLocation2Event * | m_location_event |
SoWheelEvent * | m_wheel_event |
SoRenderArea::SoRenderArea | ( | ) |
virtual SoRenderArea::~SoRenderArea | ( | ) | [virtual] |
void SoRenderArea::setTransparencyType | ( | SoGLRenderAction::TransparencyType | a_type | ) |
Sets the quality level for rendering transparent objects. See SoGLRenderAction for possible transparency types.
virtual void SoRenderArea::setSceneGraph | ( | SoNode * | a_new_scene | ) | [virtual] |
Sets the scene graph to be rendered in this component's window.
Reimplemented in SoQtViewer, and SoWxViewer.
virtual SoNode* SoRenderArea::getSceneGraph | ( | ) | [inline, virtual] |
Gets the scene graph to be rendered in this component's window.
Reimplemented in SoQtViewer, and SoWxViewer.
virtual void SoRenderArea::setBackgroundColor | ( | const SbColor & | a_color | ) | [inline, virtual] |
Sets the background color for this window. Default is black (0,0,0).
Reimplemented in SoQtRenderArea.
const SbColor& SoRenderArea::getBackgroundColor | ( | ) | const [inline] |
Gets the background color for this window.
SoSceneManager* SoRenderArea::getSceneManager | ( | ) | [inline] |
Gets the normal scene manager.
void SoRenderArea::setViewportRegion | ( | const SbViewportRegion & | a_region | ) | [inline] |
Sets viewport region to use for rendering.
const SbViewportRegion& SoRenderArea::getViewportRegion | ( | ) | const [inline] |
Gets current viewport region to use for rendering.
virtual void SoRenderArea::soKeyPressEvent | ( | SoKeyboardEvent * | e | ) | [protected, virtual] |
Reimplemented in SoQtViewer, and SoWxViewer.
virtual void SoRenderArea::soKeyReleaseEvent | ( | SoKeyboardEvent * | e | ) | [protected, virtual] |
virtual void SoRenderArea::soMouseMoveEvent | ( | SoLocation2Event * | e | ) | [protected, virtual] |
Reimplemented in SoQtViewer, and SoWxViewer.
virtual void SoRenderArea::soMousePressEvent | ( | SoMouseButtonEvent * | e | ) | [protected, virtual] |
Reimplemented in SoQtViewer, and SoWxViewer.
virtual void SoRenderArea::soMouseReleaseEvent | ( | SoMouseButtonEvent * | e | ) | [protected, virtual] |
Reimplemented in SoQtViewer, and SoWxViewer.
virtual void SoRenderArea::soWheelEvent | ( | SoWheelEvent * | e | ) | [protected, virtual] |
Reimplemented in SoQtViewer, and SoWxViewer.
virtual void SoRenderArea::soRenderCallback | ( | ) | [protected, pure virtual] |
Implemented in SoQtRenderArea, and SoWxRenderArea.
virtual void SoRenderArea::soResizeEvent | ( | int | width, | |
int | height | |||
) | [protected, virtual] |
virtual void SoRenderArea::soPaintEvent | ( | ) | [protected, virtual] |
Reimplemented in SoQtViewer, and SoWxViewer.
static void SoRenderArea::renderCallback | ( | void * | userData, | |
SoSceneManager * | mgr | |||
) | [static, protected] |
SoSceneManager* SoRenderArea::m_p_scene_manager [protected] |
SoKeyboardEvent* SoRenderArea::m_keyboard_event [protected] |
SoMouseButtonEvent* SoRenderArea::m_mouse_button_event [protected] |
SoLocation2Event* SoRenderArea::m_location_event [protected] |
SoWheelEvent* SoRenderArea::m_wheel_event [protected] |