// forward decls
class FGViewer;
-class SGSoundMgr;
typedef SGSharedPtr<FGViewer> FGViewerPtr;
// Define a structure containing view information
int getView () const;
void setView (int newview);
+ double getViewLon_deg() const;
+ double getViewLat_deg() const;
+ double getViewElev_ft() const;
+
// quaternion accessors, for debugging:
double getCurrentViewOrientation_w() const;
double getCurrentViewOrientation_x() const;
double getCurrentViewFrame_y() const;
double getCurrentViewFrame_z() const;
- bool stationary () const;
-
// copies current offset settings to current-view path...
void copyToCurrent ();
int current;
SGQuatd current_view_orientation, current_view_or_offset;
- SGSoundMgr *smgr;
-
+ SGPropertyNode_ptr current_x_offs, current_y_offs, current_z_offs;
+ SGPropertyNode_ptr target_x_offs, target_y_offs, target_z_offs;
};
// This takes the conventional aviation XYZ body system