FlightGear next
|
A dynamically-placed model using properties. More...
#include <modelmgr.hxx>
Public Member Functions | |
virtual | ~Instance () |
bool | checkLoaded () const |
Public Attributes | |
SGModelPlacement * | model = nullptr |
SGPropertyNode_ptr | node |
SGPropertyNode_ptr | lon_deg_node |
SGPropertyNode_ptr | lat_deg_node |
SGPropertyNode_ptr | elev_ft_node |
SGPropertyNode_ptr | roll_deg_node |
SGPropertyNode_ptr | pitch_deg_node |
SGPropertyNode_ptr | heading_deg_node |
SGPropertyNode_ptr | loaded_node |
bool | shadow = false |
A dynamically-placed model using properties.
The model manager uses the property nodes to update the model's position and orientation; any of the property node pointers may be set to zero to avoid update. Normally, a caller should load the model by instantiating SGModelPlacement with the path to the model or its XML wrapper, then assign any relevant property node pointers.
Definition at line 42 of file modelmgr.hxx.
|
virtual |
Definition at line 353 of file modelmgr.cxx.
bool FGModelMgr::Instance::checkLoaded | ( | ) | const |
Definition at line 358 of file modelmgr.cxx.
SGPropertyNode_ptr FGModelMgr::Instance::elev_ft_node |
Definition at line 49 of file modelmgr.hxx.
SGPropertyNode_ptr FGModelMgr::Instance::heading_deg_node |
Definition at line 52 of file modelmgr.hxx.
SGPropertyNode_ptr FGModelMgr::Instance::lat_deg_node |
Definition at line 48 of file modelmgr.hxx.
SGPropertyNode_ptr FGModelMgr::Instance::loaded_node |
Definition at line 53 of file modelmgr.hxx.
SGPropertyNode_ptr FGModelMgr::Instance::lon_deg_node |
Definition at line 47 of file modelmgr.hxx.
SGModelPlacement* FGModelMgr::Instance::model = nullptr |
Definition at line 45 of file modelmgr.hxx.
SGPropertyNode_ptr FGModelMgr::Instance::node |
Definition at line 46 of file modelmgr.hxx.
SGPropertyNode_ptr FGModelMgr::Instance::pitch_deg_node |
Definition at line 51 of file modelmgr.hxx.
SGPropertyNode_ptr FGModelMgr::Instance::roll_deg_node |
Definition at line 50 of file modelmgr.hxx.
bool FGModelMgr::Instance::shadow = false |
Definition at line 54 of file modelmgr.hxx.