26#ifndef _GEOM_Client_HeaderFile
27#define _GEOM_Client_HeaderFile
29#include <SALOMEconfig.h>
30#include CORBA_SERVER_HEADER(GEOM_Gen)
32#include <Standard_Boolean.hxx>
33#include <TCollection_AsciiString.hxx>
34#include <TopoDS_Shape.hxx>
40 #if defined GEOMCLIENT_EXPORTS || defined GEOMClient_EXPORTS
41 #define GEOMCLIENT_EXPORT __declspec( dllexport )
43 #define GEOMCLIENT_EXPORT __declspec( dllimport )
46 #define GEOMCLIENT_EXPORT
69 TopoDS_Shape GetShape( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape );
70 Standard_Boolean Find(
const TopoDS_Shape& S, TCollection_AsciiString& IOR ) ;
71 void RemoveShapeFromBuffer(
const TCollection_AsciiString& IOR ) ;
72 void ClearClientBuffer() ;
83 Standard_Boolean Find(
const TCollection_AsciiString& IOR, TopoDS_Shape& S ) ;
84 void Bind(
const TCollection_AsciiString& IOR,
const TopoDS_Shape& S,
int Tick ) ;
85 TopoDS_Shape Load( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape);
89 std::map< TCollection_AsciiString , std::vector<TopoDS_Shape> >
_mySubShapes;
90 std::map< TCollection_AsciiString , TopoDS_Shape >
myShapesMap;
96#define SHAPE_READER(obj) GEOM_Client& obj=GEOM_Client::get_client()
98#define SHAPE_READER(obj) GEOM_Client obj
#define GEOMCLIENT_EXPORT
Definition: GEOM_Client.hxx:46
Definition: GEOM_Client.hxx:60
long pid_client
Definition: GEOM_Client.hxx:92
std::map< TCollection_AsciiString, std::vector< TopoDS_Shape > > _mySubShapes
Definition: GEOM_Client.hxx:89
std::map< TCollection_AsciiString, int > myTicksMap
Definition: GEOM_Client.hxx:91
std::map< TCollection_AsciiString, TopoDS_Shape > myShapesMap
Definition: GEOM_Client.hxx:90