Changeset 7648 for OpenSceneGraph/trunk/include/osgViewer/ViewerBase
- Timestamp:
- 12/10/07 18:30:18 (6 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgViewer/ViewerBase (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgViewer/ViewerBase
r7535 r7648 32 32 class View; 33 33 34 /** ViewerBase is the view base class that is inher tied by both Viewer and CompositeViewer.*/34 /** ViewerBase is the view base class that is inherited by both Viewer and CompositeViewer.*/ 35 35 class OSGVIEWER_EXPORT ViewerBase : public virtual osg::Object 36 36 { … … 100 100 /** Set the position of the end barrier. 101 101 * AfterSwapBuffers will may result is slightly higher framerates, by may 102 * lead to incon cistent swapping between different windows.102 * lead to inconsistent swapping between different windows. 103 103 * BeforeSwapBuffers may lead to slightly lower framerate, but improve consistency in timing of swap buffers, 104 104 * especially important if you are likely to consistently break frame.*/ … … 110 110 111 111 112 /** Set the done flag to si ngnal the viewer's work is done and should exit the frame loop.*/112 /** Set the done flag to signal the viewer's work is done and should exit the frame loop.*/ 113 113 void setDone(bool done) { _done = done; } 114 114 115 /** Re urn true if viewer's work is done and should exit the frame loop.*/115 /** Return true if viewer's work is done and should exit the frame loop.*/ 116 116 bool done() const { return _done; } 117 117 … … 181 181 182 182 /** Execute a main frame loop. 183 * Equiv ialant to while (!viewer.done()) viewer.frame();183 * Equivalent to while (!viewer.done()) viewer.frame(); 184 184 * Also calls realize() if the viewer is not already realized, 185 185 * and installs trackball manipulator if one is not already assigned.
