1#ifndef COIN_SOSCENEMANAGER_H
2#define COIN_SOSCENEMANAGER_H
36#include <Inventor/SbVec2s.h>
58 virtual void render(
const SbBool
clearwindow = TRUE,
67 virtual SbBool processEvent(
const SoEvent *
const event);
68 void reinitialize(
void);
69 void scheduleRedraw(
void);
71 virtual SoNode * getSceneGraph(
void)
const;
73 const SbVec2s & getWindowSize(
void)
const;
75 const SbVec2s & getSize(
void)
const;
77 const SbVec2s & getOrigin(
void)
const;
80 void setBackgroundColor(
const SbColor & color);
81 const SbColor & getBackgroundColor(
void)
const;
82 void setBackgroundIndex(
const int index);
83 int getBackgroundIndex(
void)
const;
84 void setRGBMode(
const SbBool
onOrOff);
85 SbBool isRGBMode(
void)
const;
86 virtual void activate(
void);
87 virtual void deactivate(
void);
88 void setRenderCallback(SoSceneManagerRenderCB * f,
90 SbBool isAutoRedraw(
void)
const;
91 void setRedrawPriority(
const uint32_t priority);
92 uint32_t getRedrawPriority(
void)
const;
93 void setAntialiasing(
const SbBool smoothing,
const int numPasses);
94 void getAntialiasing(SbBool & smoothing,
int &
numPasses)
const;
102 static uint32_t getDefaultRedrawPriority(
void);
103 static void enableRealTimeUpdate(
const SbBool
flag);
104 static SbBool isRealTimeUpdateEnabled(
void);
107 int isActive(
void)
const;
111 friend class SoSceneManagerP;
112 class SoSceneManagerP * pimpl;
The SbColor class contains the red, green and blue components which make up a color value.
Definition SbColor.h:39
The SbList class is a template container class for lists.
Definition SbList.h:70
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition SbVec2s.h:51
The SbViewportRegion class is a viewport within a full window.
Definition SbViewportRegion.h:40
The SoAudioRenderAction class renders the aural parts of the scene graph.
Definition SoAudioRenderAction.h:42
The SoCamera class is the abstract base class for camera definition nodes.
Definition SoCamera.h:64
The SoEvent class is the base class for all Coin events.
Definition SoEvent.h:45
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition SoGLRenderAction.h:50
The SoHandleEventAction class distributes user events to the scene.
Definition SoHandleEventAction.h:46
The SoNodeSensor class detects changes to nodes.
Definition SoNodeSensor.h:38
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
The SoOneShotSensor class is a sensor which will trigger once.
Definition SoOneShotSensor.h:38
The SoSceneManager class provides the main interface between the scene graph and the GUI toolkit.
Definition SoSceneManager.h:53
The SoSensor class is the abstract base class for all sensors.
Definition SoSensor.h:43