Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK_I / HexVertex_impl.hxx
1 #ifndef __HexVertex_impl__
2 #define __HexVertex_impl__
3
4 // #include <TopoDS_Shape.hxx>
5
6 #include <SALOMEconfig.h>
7 #include CORBA_SERVER_HEADER(Vertex)
8 #include "SALOME_GenericObj_i.hh"
9
10 #include "hexa_base.hxx"
11
12 #include "hexa_base.hxx"
13 #include "HexVertex.hxx"
14
15 class Vertex_impl : public POA_HEXABLOCK_ORB::Vertex,
16                     public SALOME::GenericObj_i
17 {
18 public:
19   Vertex_impl(HEXA_NS::Vertex *ptrCpp);
20   HEXA_NS::Vertex* GetImpl();
21
22   ::CORBA::Double getX() throw (SALOME::SALOME_Exception);
23   ::CORBA::Double getY() throw (SALOME::SALOME_Exception);
24   ::CORBA::Double getZ() throw (SALOME::SALOME_Exception);
25   void setX(::CORBA::Double x) throw (SALOME::SALOME_Exception);
26   void setY(::CORBA::Double y) throw (SALOME::SALOME_Exception);
27   void setZ(::CORBA::Double z) throw (SALOME::SALOME_Exception);
28   void setAssociation(GEOM::GEOM_Object_ptr geom_object_vertex) throw (SALOME::SALOME_Exception);
29   GEOM::GEOM_Object_ptr getAssociation() throw (SALOME::SALOME_Exception);
30 //   void removeAssociation() throw (SALOME::SALOME_Exception);
31
32   void setScalar( ::CORBA::Double val )throw (SALOME::SALOME_Exception);
33
34   void dump() throw (SALOME::SALOME_Exception);
35   void printName() throw (SALOME::SALOME_Exception);
36
37 private:
38   HEXA_NS::Vertex* _vertex_cpp;
39 //   GEOM::GEOM_Object_ptr _association;
40 };
41
42 #endif