]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMImpl/GEOMImpl_IGroupOperations.hxx
Salome HOME
Merge with OCC_development_01
[modules/geom.git] / src / GEOMImpl / GEOMImpl_IGroupOperations.hxx
1
2 #ifndef _GEOMImpl_IGroupOperations_HXX_
3 #define _GEOMImpl_IGroupOperations_HXX_
4
5 #include "Utils_SALOME_Exception.hxx"
6 #include "GEOM_IOperations.hxx"
7 #include "GEOM_Engine.hxx"
8 #include "GEOM_Object.hxx"
9 #include <TDocStd_Document.hxx>
10 #include <TColStd_HArray1OfInteger.hxx> 
11 #include <TopAbs.hxx>
12
13 class GEOMImpl_IGroupOperations : public GEOM_IOperations {
14  public:
15   GEOMImpl_IGroupOperations(GEOM_Engine* theEngine, int theDocID);
16   ~GEOMImpl_IGroupOperations();
17
18   Handle(GEOM_Object) CreateGroup(Handle(GEOM_Object) theMainShape, TopAbs_ShapeEnum  theShapeType);
19
20   void AddObject(Handle(GEOM_Object) theGroup, int theSubShapeID);
21
22   void RemoveObject(Handle(GEOM_Object) theGroup, int theSubShapeID);
23
24   TopAbs_ShapeEnum GetType(Handle(GEOM_Object) theGroup);
25
26   Handle(GEOM_Object) GetMainShape(Handle(GEOM_Object) theGroup);
27
28   Handle(TColStd_HArray1OfInteger) GetObjects(Handle(GEOM_Object) theGroup);
29
30 };
31
32 #endif