+
+ /**
+ * 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.
+ *
+ * @see SGModelPlacement
+ * @see FGModelMgr#add_instance
+ */
+ struct Instance
+ {
+ Instance ();
+ virtual ~Instance ();
+ SGModelPlacement * model;
+ 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;
+ bool shadow;
+ };
+