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
19 #ifndef __HexVertex_impl__
20 #define __HexVertex_impl__
22 // #include <TopoDS_Shape.hxx>
24 #include <SALOMEconfig.h>
25 #include CORBA_SERVER_HEADER(Vertex)
26 #include "SALOME_GenericObj_i.hh"
28 #include "hexa_base.hxx"
30 #include "hexa_base.hxx"
31 #include "HexVertex.hxx"
33 class Vertex_impl : public POA_HEXABLOCK_ORB::Vertex,
34 public SALOME::GenericObj_i
37 Vertex_impl(HEXA_NS::Vertex *ptrCpp);
38 HEXA_NS::Vertex* GetImpl();
40 ::CORBA::Double getX() throw (SALOME::SALOME_Exception);
41 ::CORBA::Double getY() throw (SALOME::SALOME_Exception);
42 ::CORBA::Double getZ() throw (SALOME::SALOME_Exception);
43 void setX(::CORBA::Double x) throw (SALOME::SALOME_Exception);
44 void setY(::CORBA::Double y) throw (SALOME::SALOME_Exception);
45 void setZ(::CORBA::Double z) throw (SALOME::SALOME_Exception);
46 void setAssociation(GEOM::GEOM_Object_ptr geom_object_vertex) throw (SALOME::SALOME_Exception);
47 GEOM::GEOM_Object_ptr getAssociation() throw (SALOME::SALOME_Exception);
48 void clearAssociation() throw (SALOME::SALOME_Exception);
50 void setScalar( ::CORBA::Double val )throw (SALOME::SALOME_Exception);
52 void dump() throw (SALOME::SALOME_Exception);
53 void printName() throw (SALOME::SALOME_Exception);
54 char* getName() throw (SALOME::SALOME_Exception);
55 void setName (const char* name) throw (SALOME::SALOME_Exception);
58 HEXA_NS::Vertex* _vertex_cpp;
59 // GEOM::GEOM_Object_ptr _association;