-#include <osg/MatrixTransform>
-#include <osg/Switch>
-
-#if defined( sgi )
-#include <strings.h>
-#endif
-
-SG_USING_STD(string);
-SG_USING_STD(vector);
-
-
-typedef vector < Point3D > point_list;
-typedef point_list::iterator point_list_iterator;
-typedef point_list::const_iterator const_point_list_iterator;
-
-
-class FGTileEntry;
-
-
-/**
- * A class to hold deferred model loading info
- */
-class FGDeferredModel {
-
-private:
-
- string model_path;
- string texture_path;
- FGTileEntry *tile;
- osg::ref_ptr<osg::MatrixTransform> obj_trans;
- SGBucket bucket;
- bool cache_obj;
-
-
-public:
-
- inline FGDeferredModel() { }
- inline FGDeferredModel( const string& mp, const string& tp, SGBucket b,
- FGTileEntry *t, osg::MatrixTransform *ot, bool co )
- {
- model_path = mp;
- texture_path = tp;
- bucket = b;
- tile = t;
- obj_trans = ot;
- cache_obj = co;
- }
- inline ~FGDeferredModel() { }
- inline const string& get_model_path() const { return model_path; }
- inline const string& get_texture_path() const { return texture_path; }
- inline const SGBucket& get_bucket() const { return bucket; }
- inline const bool get_cache_state() const { return cache_obj; }
- inline FGTileEntry *get_tile() const { return tile; }
- inline osg::MatrixTransform *get_obj_trans() const { return obj_trans.get(); }
-};
-