]> SALOME platform Git repositories - modules/shaper_study.git/blob - idl/SHAPERSTUDY_Gen.idl
Salome HOME
Implementation of the automatic breaking the link if the shape is modified or deleted
[modules/shaper_study.git] / idl / SHAPERSTUDY_Gen.idl
1 // Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 #ifndef __SHAPERSTUDY_GEN__
24 #define __SHAPERSTUDY_GEN__
25
26 #include "GEOM_Gen.idl"
27 #include "SALOMEDS.idl"
28 #include "SALOME_Exception.idl"
29
30 module SHAPERSTUDY_ORB
31 {
32
33 interface SHAPER_Object     : GEOM::GEOM_Object
34 {
35   /*!
36   *  \brief Puts the shape to the object by BRep stream.
37   */
38   void SetShapeByStream(in string theStream);
39   /*!
40   *  \brief Sets the internal entry of the object, common for all objects in SHAPER-STUDY
41   */
42   void SetEntry( in string theInternalEntry );
43   /*!
44   *  \brief Sets SObject of this object (when it is published)
45   */
46   void SetSO( in SALOMEDS::SObject theInternalEntry );
47   /*!
48   *  \brief Returns SObject of this object
49   */
50   SALOMEDS::SObject GetSO();
51
52 };
53
54 interface Gen : GEOM::GEOM_Gen
55 {
56   /*!
57    *  \brief Searches existing or creates a new SHAPERSTUDY_Object to interact with SHAPER
58    */
59   SHAPER_Object FindOrCreateShape(in string theInternalEntry);
60 };
61
62 interface IShapesOperations : GEOM::GEOM_IShapesOperations
63 {
64 };
65
66 interface IGroupOperations  : GEOM::GEOM_IGroupOperations
67 {
68 };
69
70 interface IFieldOperations  : GEOM::GEOM_IFieldOperations
71 {
72 };
73
74 interface IMeasureOperations  : GEOM::GEOM_IMeasureOperations
75 {
76 };
77
78 interface Field             : GEOM::GEOM_Field
79 {
80 };
81
82 interface FieldStep         : GEOM::GEOM_FieldStep
83 {
84 };
85
86 interface DoubleFieldStep   : GEOM::GEOM_DoubleFieldStep
87 {
88 };
89
90 interface IntFieldStep      : GEOM::GEOM_IntFieldStep
91 {
92 };
93
94 interface BoolFieldStep     : GEOM::GEOM_BoolFieldStep
95 {
96 };
97
98 };
99
100 #endif