Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK_I / HexCrossElements_impl.hxx
1 #ifndef __HexCrossElements_impl__
2 #define __HexCrossElements_impl__
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(CrossElements)
6 #include "SALOME_GenericObj_i.hh"
7
8 #include "hexa_base.hxx"
9 #include "HexCrossElements.hxx"
10
11 using namespace HEXABLOCK_ORB;
12
13 class CrossElements_impl : public POA_HEXABLOCK_ORB::CrossElements,
14                            public SALOME::GenericObj_i
15 {
16 public:
17     CrossElements_impl(HEXA_NS::CrossElements *ptrCpp);
18     HEXA_NS::CrossElements* GetImpl();
19
20     Vertex_ptr getVertexIJK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z) throw (SALOME::SALOME_Exception);
21
22     Edge_ptr getEdgeI(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z) throw (SALOME::SALOME_Exception);
23     Edge_ptr getEdgeJ(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z) throw (SALOME::SALOME_Exception);
24     Edge_ptr getEdgeK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z) throw (SALOME::SALOME_Exception);
25
26     Quad_ptr getQuadIJ(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z) throw (SALOME::SALOME_Exception);
27     Quad_ptr getQuadIK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z) throw (SALOME::SALOME_Exception);
28     Quad_ptr getQuadJK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z) throw (SALOME::SALOME_Exception);
29
30     Hexa_ptr getHexaIJK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z) throw (SALOME::SALOME_Exception);
31
32     ::CORBA::Long crossCylinders(Cylinder_ptr cyl1, Cylinder_ptr cyl2) throw (SALOME::SALOME_Exception);
33
34     ::CORBA::Long saveVtk(const char* fname) throw (SALOME::SALOME_Exception);
35   void dump() throw (SALOME::SALOME_Exception);
36   void printName() throw (SALOME::SALOME_Exception);
37
38 private:
39     HEXA_NS::CrossElements *_crossElements_cpp;
40 };
41
42 #endif