// Copyright (C) 2009-2012 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef __Edge_idl__ #define __Edge_idl__ /*! \defgroup EXAMPLES SALOME EXAMPLES components */ #include "SALOME_Exception.idl" #include "SALOME_GenericObj.idl" #include "GEOM_Gen.idl" #include "Element.idl" #include "Vertex.idl" /*! \ingroup EXAMPLES This package contains the interface HEXABLOCK_ORB used for %HEXABLOCK component as an example in %SALOME application. */ module HEXABLOCK_ORB { struct EdgeAssociation { GEOM::GEOM_Object geomObj; double debut; double fin; }; typedef sequence EdgeAssociations; interface Edge : Element { Vertex getVertex( in long n ) raises (SALOME::SALOME_Exception); boolean getWay() raises (SALOME::SALOME_Exception); long addAssociation (in GEOM::GEOM_Object geom_object_1D, in double debut, in double val ) //CS_NOT_SPEC raises (SALOME::SALOME_Exception); void clearAssociation ( ) raises (SALOME::SALOME_Exception); // sequence getAssociations() //CS_NOT_SPEC EdgeAssociations getAssociations() //CS_NOT_SPEC CS_WARNING: not working when reloading a document raises (SALOME::SALOME_Exception); // void addAssociation( in GEOM::GEOM_Object geom_object_1D, in double debut, in double val ) // raises (SALOME::SALOME_Exception); // GEOM_Objects getAssociations() raises (SALOME::SALOME_Exception); // GEOM_Objects GEOM::GEOM_Object getAssociation() // raises (SALOME::SALOME_Exception); // void removeAssociation() // raises (SALOME::SALOME_Exception); void setColor (in double val) raises (SALOME::SALOME_Exception); void setScalar( in double val ) //CS_NOT_SPEC --> To delete raises (SALOME::SALOME_Exception); }; typedef sequence Edges; }; #endif