+ /// Returns a scale factor of the given view
+ /// \param theView a view object
+ const double Scale(const Handle(V3d_View)& theView)
+ {
+ if (!myWindowScale.contains(theView))
+ myWindowScale.insert(theView, theView->Camera()->Scale());
+ return myWindowScale[theView];
+ }
+
+ /// Remember a scale factor for the view object
+ /// \param theView a view object
+ /// \param theVal a scale factor
+ void SetScale(const Handle(V3d_View)& theView, const double theVal) { myWindowScale[theView] = theVal; }
+