Back to index

salome-smesh  6.5.0
StdMeshers_QuadrangleParams_i.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 //  File   : StdMeshers_QuadrangleParams_i.hxx
00020 //  Author : Sergey KUUL, OCC
00021 //  Module : SMESH
00022 //  $Header: /home/server/cvs/SMESH/SMESH_SRC/src/StdMeshers_I/Attic/StdMeshers_QuadrangleParams_i.hxx,v 1.1.2.2.6.3.8.1 2012-04-13 09:31:23 vsr Exp $
00023 
00024 #ifndef _SMESH_QUADRANGLEPARAMS_I_HXX_
00025 #define _SMESH_QUADRANGLEPARAMS_I_HXX_
00026 
00027 #include "SMESH_StdMeshers_I.hxx"
00028 
00029 #include <SALOMEconfig.h>
00030 #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
00031 
00032 #include "SMESH_Hypothesis_i.hxx"
00033 #include "StdMeshers_QuadrangleParams.hxx"
00034 
00035 // ======================================================
00036 // QuadrangleParams hypothesis
00037 // ======================================================
00038 class STDMESHERS_I_EXPORT StdMeshers_QuadrangleParams_i:
00039   public virtual POA_StdMeshers::StdMeshers_QuadrangleParams,
00040   public virtual SMESH_Hypothesis_i
00041 {
00042 public:
00043   // Constructor
00044   StdMeshers_QuadrangleParams_i (PortableServer::POA_ptr thePOA,
00045                                  int                     theStudyId,
00046                                  ::SMESH_Gen*            theGenImpl);
00047   // Destructor
00048   virtual ~StdMeshers_QuadrangleParams_i();
00049 
00050   // Set length
00051   //void SetLength( CORBA::Double theLength, CORBA::Boolean theIsStart )
00052   //  throw ( SALOME::SALOME_Exception );
00053 
00054   // Get length
00055   //CORBA::Double GetLength(CORBA::Boolean theIsStart);
00056 
00057   // Set base vertex for triangles
00058   void SetTriaVertex (CORBA::Long vertID);
00059 
00060   // Get base vertex for triangles
00061   CORBA::Long GetTriaVertex();
00062   
00063   // Set the Entry of the Object
00064   void SetObjectEntry (const char* theEntry);
00065 
00066   // Get Object Entry
00067   char* GetObjectEntry();
00068 
00069   // Set the type of quadrangulation
00070   void SetQuadType (StdMeshers::QuadType type);
00071 
00072   // Get the type of quadrangulation
00073   StdMeshers::QuadType GetQuadType();
00074 
00075   // Get implementation
00076   ::StdMeshers_QuadrangleParams* GetImpl();
00077   
00078   // Verify whether hypothesis supports given entity type 
00079   CORBA::Boolean IsDimSupported( SMESH::Dimension type );
00080 };
00081 
00082 #endif