1 // Copyright (C) 2009-2012 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 \defgroup EXAMPLES SALOME EXAMPLES components
24 #include "SALOME_Exception.idl"
25 #include "SALOME_GenericObj.idl"
27 #include "GEOM_Gen.idl"
29 #include "Element.idl"
35 This package contains the interface HEXABLOCK_ORB used
36 for %HEXABLOCK component as an example in %SALOME application.
41 struct EdgeAssociation
43 GEOM::GEOM_Object geomObj;
48 typedef sequence<EdgeAssociation> EdgeAssociations;
50 interface Edge : Element
52 Vertex getVertex( in long n ) raises (SALOME::SALOME_Exception);
53 boolean getWay() raises (SALOME::SALOME_Exception);
55 long addAssociation (in GEOM::GEOM_Object geom_object_1D, in double debut, in double val ) //CS_NOT_SPEC
56 raises (SALOME::SALOME_Exception);
58 void clearAssociation ( )
59 raises (SALOME::SALOME_Exception);
61 // sequence<EdgeAssociation> getAssociations() //CS_NOT_SPEC
62 EdgeAssociations getAssociations() //CS_NOT_SPEC CS_WARNING: not working when reloading a document
63 raises (SALOME::SALOME_Exception);
65 // void addAssociation( in GEOM::GEOM_Object geom_object_1D, in double debut, in double val )
66 // raises (SALOME::SALOME_Exception);
67 // GEOM_Objects getAssociations() raises (SALOME::SALOME_Exception);
69 // GEOM_Objects GEOM::GEOM_Object getAssociation()
70 // raises (SALOME::SALOME_Exception);
72 // void removeAssociation()
73 // raises (SALOME::SALOME_Exception);
75 void setColor (in double val)
76 raises (SALOME::SALOME_Exception);
78 void setScalar( in double val ) //CS_NOT_SPEC --> To delete
79 raises (SALOME::SALOME_Exception);
83 typedef sequence<Edge> Edges;