I am using CompositeViewer to represent my views. Now i see that the show  
stats functionality is made for osgViewer::Viewer. , well i am certinly in  
deep need for the statistics to continue my current work.
I have a class that inherate from the osgViewer::Compositeveiwer and i  
overload the statshandler , meaning i have a statshandler of my own with a  
trigger on the 's'.
is there any clever solution to this problem?

the solution i may think can work is to cast it like this ,  
osgViewer::View* viewer = dynamic_cast<osgViewer::View*>(&aa);
and then get the stat with getStats()->collectStats() for all views i have.

is this a possible solution to my problem, or is there any funcionality  
for this that i may have not seen.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to