#include "OCCViewer_ViewPort3d.h"
#include "OCCViewer_Viewer3d.h"
-#include "GEOM_Client.hxx"
#include "GEOM_InteractiveObject.hxx"
#include "SALOME_NamingService.hxx"
#include <gp_Pnt.hxx>
#include <gp_Vec.hxx>
-static GEOM_Client ShapeReader;
static SMESHGUI *smeshGUI = 0;
static CORBA::ORB_var _orb;
SMESH_Mesh_i* meshServant = 0;
try
{
- if (! _ShapeReader) _ShapeReader = new GEOM_Client();
+ if (! _ShapeReader) _ShapeReader = new GEOM_Client(GetContainerRef());
ASSERT(_ShapeReader);
// explore main Shape, get local TopoDS_Shapes of all subShapes
try
{
- if (! _ShapeReader) _ShapeReader = new GEOM_Client();
+ if (! _ShapeReader) _ShapeReader = new GEOM_Client(GetContainerRef());
ASSERT(_ShapeReader);
TopoDS_Shape myMainShape = _ShapeReader->GetShape(geom,myShape);
TopTools_IndexedMapOfShape myIndexToShape;