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.
10 # error This library requires C++
20 #include <simgear/math/point3d.hxx>
21 #include <simgear/props/props.hxx>
24 // Don't pull in the headers, since we don't need them here.
27 class ssgRangeSelector;
36 // Has anyone done anything *really* stupid, like making min and max macros?
46 * Load a 3D model with or without XML wrapper. This version supports
47 * also loading the instrument panel and is wired in with dependencies
48 * on panelnode.hxx, and thus files in src/Cockpit and also GUI/mouse
49 * input code to support the 3d clickable hotspots.
51 * If the path ends in ".xml", then it will be used as a property-
52 * list wrapper to add animations to the model.
54 * Subsystems should not normally invoke this function directly;
55 * instead, they should use the SGModelLoader declared in loader.hxx.
57 ssgBranch *fgLoad3DModelPanel( const string& fg_root, const string &path,
58 SGPropertyNode *prop_root,
59 double sim_time_sec );