1 // Copyright (C) 2009-2013 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 __HexBiCylinder_impl__
20 #define __HexBiCylinder_impl__
22 #include <SALOMEconfig.h>
23 #include CORBA_SERVER_HEADER(BiCylinder)
24 #include "SALOME_GenericObj_i.hh"
26 #include "hexa_base.hxx"
27 #include "HexBiCylinder.hxx"
29 using namespace HEXABLOCK_ORB;
31 class BiCylinder_impl : public POA_HEXABLOCK_ORB::BiCylinder,
32 public SALOME::GenericObj_i
35 BiCylinder_impl(HEXA_NS::BiCylinder *ptrCpp);
36 HEXA_NS::BiCylinder* GetImpl();
38 Vertex_ptr getVertexIJK(::CORBA::Long part,::CORBA::Long x,::CORBA::Long y,::CORBA::Long z)
39 throw (SALOME::SALOME_Exception);
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);
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);
55 Hexa_ptr getHexaIJK(::CORBA::Long part, ::CORBA::Long x, ::CORBA::Long y, ::CORBA::Long z)
56 throw (SALOME::SALOME_Exception);
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);
65 HEXA_NS::BiCylinder* bi_cylinder_cpp;