1 // modellib.cxx - implement an SSG model library.
3 #ifndef _SG_MODEL_LIB_HXX
4 #define _SG_MODEL_LIB_HXX 1
7 # error This library requires C++
10 #include <simgear/compiler.h> // for SG_USING_STD
15 #include <osg/ref_ptr>
18 #include <simgear/props/props.hxx>
26 * Class for loading and managing models with XML wrappers.
34 virtual ~SGModelLib ();
35 virtual void flush1();
37 virtual osg::Node *load_model( const string &fg_root,
39 SGPropertyNode *prop_root,
42 SGModelData *data = 0 );
46 #endif // _SG_MODEL_LIB_HXX