Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK_I / HexCylinder_impl.hxx
1 #ifndef __HexCylinder_impl__
2 #define __HexCylinder_impl__
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(Cylinder)
6 #include "SALOME_GenericObj_i.hh"
7
8 #include "hexa_base.hxx"
9 #include "HexCylinder.hxx"
10
11 using namespace HEXABLOCK_ORB;
12
13 class Cylinder_impl : public POA_HEXABLOCK_ORB::Cylinder,
14                     public SALOME::GenericObj_i
15 {
16 public:
17   Cylinder_impl(HEXA_NS::Cylinder *ptrCpp);
18   HEXA_NS::Cylinder* GetImpl() throw (SALOME::SALOME_Exception);
19
20   Vertex_ptr getBase() throw (SALOME::SALOME_Exception);
21   Vector_ptr getDirection() throw (SALOME::SALOME_Exception);
22   ::CORBA::Double getRadius() throw (SALOME::SALOME_Exception);
23   ::CORBA::Double getHeight() throw (SALOME::SALOME_Exception);
24
25 //   ::CORBA::Long saveVtk(const char* fname) throw (SALOME::SALOME_Exception);
26   void dump() throw (SALOME::SALOME_Exception);
27   void printName() throw (SALOME::SALOME_Exception);
28
29 private:
30   HEXA_NS::Cylinder *_cylinder_cpp;
31 };
32
33 #endif