root/OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/osgViewer/CompositeViewer.cpp @ 13041

Revision 13041, 1.1 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1#include <osgViewer/CompositeViewer>
2
3#include <iostream>
4#include <string>
5
6#include <osgDB/Registry>
7#include <osgDB/Input>
8#include <osgDB/Output>
9#include <osgDB/ParameterOutput>
10
11bool CompositeViewer_readLocalData(osg::Object &obj, osgDB::Input &fr);
12bool CompositeViewer_writeLocalData(const osg::Object &obj, osgDB::Output &fw);
13
14REGISTER_DOTOSGWRAPPER(CompositeViewer_Proxy)
15(
16    new osgViewer::CompositeViewer,
17    "CompositeViewer",
18    "Object CompositeViewer",
19    CompositeViewer_readLocalData,
20    CompositeViewer_writeLocalData
21);
22
23bool CompositeViewer_readLocalData(osg::Object& /*obj*/, osgDB::Input& /*fr*/)
24{
25    // osgViewer::CompositeViewer* compositeViewer = dynamic_cast<osgViewer::CompositeViewer*>(&obj);
26    bool iteratorAdvanced = false;
27
28    osg::notify(osg::NOTICE)<<"CompositeViewer_readLocalData"<<std::endl;
29
30    return iteratorAdvanced;
31}
32
33bool CompositeViewer_writeLocalData(const osg::Object& /*obj*/, osgDB::Output& /*fw*/)
34{
35    // const osgViewer::CompositeViewer* compositeViewer = dynamic_cast<const osgViewer::CompositeViewer*>(&obj);
36
37    osg::notify(osg::NOTICE)<<"CompositeViewer_writeLocalData"<<std::endl;
38
39    return true;
40}
Note: See TracBrowser for help on using the browser.