1 // model.hxx - manage a 3D aircraft model.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain, and comes with no warranty.
7 #define __ACMODEL_HXX 1
10 # error This library requires C++
18 #include <simgear/structure/subsystem_mgr.hxx> // for SGSubsystem
21 // Don't pull in the headers, since we don't need them here.
24 class SGModelPlacement;
27 class FGAircraftModel : public SGSubsystem
32 virtual ~FGAircraftModel ();
36 virtual void unbind ();
37 virtual void update (double dt);
39 virtual SGModelPlacement * get3DModel() { return _aircraft; }
43 SGModelPlacement * _aircraft;
44 ssgSelector * _selector;
51 #endif // __ACMODEL_HXX