#include "SOCC_ViewModel.h"
#include "SOCC_Prs.h"
+#include "SOCC_ViewWindow.h"
#include "SUIT_Session.h"
#include "SUIT_Application.h"
if ( aMaxSide < Ymax -Ymin ) aMaxSide = Ymax -Ymin;
if ( aMaxSide < Zmax -Zmin ) aMaxSide = Zmax -Zmin;
- float aSizeInPercents = SUIT_Session::session()->resourceMgr()->doubleValue("Viewer:TrihedronSize", 105.);
+ float aSizeInPercents = SUIT_Session::session()->resourceMgr()->doubleValue("Viewer","TrihedronSize", 105.);
static float EPS = 5.0E-3;
theSize = getTrihedron()->Size();
// onAdjustTrihedron();
getViewer3d()->Update();
}
+
+//=======================================================================
+// name : createView
+// Purpose : create SOCC_ViewWindow
+//=======================================================================
+SUIT_ViewWindow* SOCC_Viewer::createView( SUIT_Desktop* theDesktop )
+{
+ SOCC_ViewWindow* view = new SOCC_ViewWindow(theDesktop, this);
+ initView( view );
+ return view;
+}