1 #ifndef COIN_SOSCENEMANAGER_H 2 #define COIN_SOSCENEMANAGER_H 36 #include <Inventor/SbVec2s.h> 48 class Superimposition;
58 virtual void render(
const SbBool clearwindow = TRUE,
59 const SbBool clearzbuffer = TRUE);
61 const SbBool initmatrices = TRUE,
62 const SbBool clearwindow = TRUE,
63 const SbBool clearzbuffer = TRUE);
67 virtual SbBool processEvent(
const SoEvent *
const event);
68 void reinitialize(
void);
69 void scheduleRedraw(
void);
70 virtual void setSceneGraph(
SoNode *
const sceneroot);
71 virtual SoNode * getSceneGraph(
void)
const;
72 void setWindowSize(
const SbVec2s & newsize);
73 const SbVec2s & getWindowSize(
void)
const;
74 void setSize(
const SbVec2s & newsize);
75 const SbVec2s & getSize(
void)
const;
76 void setOrigin(
const SbVec2s & newOrigin);
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);
89 void *
const userData = NULL);
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;
116 #endif // !COIN_SOSCENEMANAGER_H The SbColor class contains the red, green and blue components which make up a color value...
Definition: SbColor.h:39
The SoCamera class is the abstract base class for camera definition nodes.
Definition: SoCamera.h:64
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
The SoNodeSensor class detects changes to nodes.
Definition: SoNodeSensor.h:38
The SoSensor class is the abstract base class for all sensors.
Definition: SoSensor.h:43
void SoSceneManagerRenderCB(void *userdata, class SoSceneManager *mgr)
Definition: SoSceneManager.h:51
The SoAudioRenderAction class renders the aural parts of the scene graph.
Definition: SoAudioRenderAction.h:42
The SoOneShotSensor class is a sensor which will trigger once.
Definition: SoOneShotSensor.h:38
The SoHandleEventAction class distributes user events to the scene.
Definition: SoHandleEventAction.h:46
The SoEvent class is the base class for all Coin events.
Definition: SoEvent.h:45
The SoSceneManager class provides the main interface between the scene graph and the GUI toolkit...
Definition: SoSceneManager.h:53
The SbViewportRegion class is a viewport within a full window.
Definition: SbViewportRegion.h:40
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:51
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:50