]> SALOME platform Git repositories - modules/hexablock.git/blob - src/HEXABLOCK_I/HexBiCylinder_impl.hxx
Salome HOME
Merge from V6_main 01/04/2013
[modules/hexablock.git] / src / HEXABLOCK_I / HexBiCylinder_impl.hxx
1 // Copyright (C) 2009-2013  CEA/DEN, EDF R&D
2 //
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.
7 //
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.
12 //
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
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 #ifndef __HexBiCylinder_impl__
20 #define __HexBiCylinder_impl__
21
22 #include <SALOMEconfig.h>
23 #include CORBA_SERVER_HEADER(BiCylinder)
24 #include "SALOME_GenericObj_i.hh"
25
26 #include "hexa_base.hxx"
27 #include "HexBiCylinder.hxx"
28
29 using namespace HEXABLOCK_ORB;
30
31 class BiCylinder_impl : public POA_HEXABLOCK_ORB::BiCylinder,
32                         public SALOME::GenericObj_i
33 {
34 public:
35     BiCylinder_impl(HEXA_NS::BiCylinder *ptrCpp);
36     HEXA_NS::BiCylinder* GetImpl();
37
38     Vertex_ptr getVertexIJK(::CORBA::Long part,::CORBA::Long x,::CORBA::Long y,::CORBA::Long z)
39               throw (SALOME::SALOME_Exception);
40
41     Edge_ptr getEdgeI(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z)
42              throw (SALOME::SALOME_Exception);
43     Edge_ptr getEdgeJ(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z)
44              throw (SALOME::SALOME_Exception);
45     Edge_ptr getEdgeK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z)
46              throw (SALOME::SALOME_Exception);
47
48     Quad_ptr getQuadIJ(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z)
49              throw (SALOME::SALOME_Exception);
50     Quad_ptr getQuadIK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z)
51              throw (SALOME::SALOME_Exception);
52     Quad_ptr getQuadJK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z)
53              throw (SALOME::SALOME_Exception);
54
55     Hexa_ptr getHexaIJK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z)
56              throw (SALOME::SALOME_Exception);
57
58   ::CORBA::Long saveVtk(const char* fname) throw (SALOME::SALOME_Exception);
59   void dump() throw (SALOME::SALOME_Exception);
60   void printName() throw (SALOME::SALOME_Exception);
61   char* getName() throw (SALOME::SALOME_Exception);
62   void  setName (const char* name) throw (SALOME::SALOME_Exception);
63
64 private:
65     HEXA_NS::BiCylinder* bi_cylinder_cpp;
66 };
67
68 #endif