Changeset 9287 for OpenSceneGraph/trunk/include/osgWidget/Util
- Timestamp:
- 11/28/08 15:35:33 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgWidget/Util (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgWidget/Util
r9008 r9287 12 12 */ 13 13 14 // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 15 // $Id: Util 59 2008-05-15 20:55:31Z cubicool $ 14 // Code by: Jeremy Moles (cubicool) 2007-2008 16 15 17 16 #ifndef OSGWIDGET_UTIL 18 17 #define OSGWIDGET_UTIL 19 18 20 #include <c type.h>19 #include <cctype> 21 20 #include <algorithm> 22 21 #include <sstream> … … 72 71 OSGWIDGET_EXPORT std::string getFilePath (const std::string&); 73 72 OSGWIDGET_EXPORT std::string generateRandomName (const std::string&); 74 75 OSGWIDGET_EXPORT osg::Matrix createInvertedYOrthoProjectionMatrix (matrix_type, matrix_type); 76 OSGWIDGET_EXPORT osg::Camera* createOrthoCamera (matrix_type, matrix_type); 77 OSGWIDGET_EXPORT osg::Camera* createInvertedYOrthoCamera (matrix_type, matrix_type); 73 OSGWIDGET_EXPORT osg::Camera* createOrthoCamera (matrix_type, matrix_type); 78 74 79 75 // This function sets up our basic example framework, and optionally sets some root 80 76 // scene data. 81 OSGWIDGET_EXPORT int createExample(osgViewer::Viewer&, WindowManager*, osg::Node* = 0); 82 83 // This function works like the above routine, except creates an additional "outside" 84 // view for looking at your 2D scene. 85 // TODO: Fix this! 86 OSGWIDGET_EXPORT int createCompositeExample( 87 osgViewer::CompositeViewer&, 88 osgViewer::View*, 89 WindowManager*, 90 osg::Node* = 0 91 ); 92 93 OSGWIDGET_EXPORT bool writeWindowManagerNode(WindowManager*); 77 OSGWIDGET_EXPORT int createExample (osgViewer::Viewer&, WindowManager*, osg::Node* = 0); 78 OSGWIDGET_EXPORT bool writeWindowManagerNode (WindowManager*); 94 79 95 80 }
