Chapter Overview
| >Doxygen Documentation Pages >OpenSG Mailinglist >OpenSG Test Files >Despairing >OpenSG Scene Viewer |
For version 1.2 you can find that documentation online: http://www.opensg.org/doc-1.2.0/index.html. If you want the documentation for the cvs version you have to build it yourself by typing
cd /path/to/your/OpenSG_Folder
make userdoc userstarter // Create HTML and PDF versions
Building the doc pages will take about an hour on an average PC.
Regardless of which version you use, information about all classes can be found easily when clicking on "Alphabetical List". You know see, well, an alphabetical list, of all classes found in OpenSG. Click on any and you have some information of that specific class: All member variables and methods are revealed as well as the inheritance diagramm. The following image shows the detailed page of the Transform class
Class reference page
In this case, you can see that Transform is derived from FieldContainer. As I mentioned before, please keep in mind, that most of the important methods and member variables are not stored in the classes themselves, but in their corresponding base classes. If you have a look at the methods of osg::Transform, you will notice that there is not much interesting to see. However, the most important method for this class is setMatrix() which can be found in osg::TransformBase. You can simply click on that class in the inheritance diagram.
The bad news is, that this doxygen documentation is not quite complete. A detailed description for every (or at least most) methods or classes in general is missing. So if you want to implement something, and you have no clue how a class you need could be named or even exists at all, the doxygen pages won't help you.
The developers themselves, among other experienced users, are very active in replying to questions - so if there is nobody who can help you... then no one will ;-)
The OpenSG Scene Viewer in action
As you can see, there are also some statistics displayed in the rendering window, thus you can test how well a model is being rended by OpenSG or if it loads correctly at all...
The OpenSG Scene Viewer is not compiled by default, you have to do it yourself, if you have not downloaded a precompiled package. However if you have compiled OpenSG on you own, this one is peanuts.
cd your_OpenSG_Folder/Examples/SceneViewer
make
After a short time of compiling you can start the viewer by calling
./osgSceneViewer
Windows users using a binary installer will have an entry in their start menu.
Well, I am sure you can use this application without further explanation ;-)
1.4.3