1 // model-mgr.hxx - manage user-specified 3D models.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain, and comes with no warranty.
7 #define __MODELMGR_HXX 1
10 # error This library requires C++
15 #include <simgear/compiler.h> // for SG_USING_STD
17 #include <Main/fgfs.hxx> // for FGSubsystem
21 // Don't pull in headers, since we don't need them here.
28 * Manage a list of user-specified models.
30 class FGModelMgr : public FGSubsystem
34 virtual ~FGModelMgr ();
38 virtual void unbind ();
39 virtual void update (int dt);
50 SGPropertyNode * lon_deg_node;
51 SGPropertyNode * lat_deg_node;
52 SGPropertyNode * elev_ft_node;
53 SGPropertyNode * roll_deg_node;
54 SGPropertyNode * pitch_deg_node;
55 SGPropertyNode * heading_deg_node;
58 vector<Instance *> _instances;
60 ssgSelector * _selector;
64 #endif // __MODELMGR_HXX