StdMeshers_Hexa_3D.hxx \
StdMeshers_AutomaticLength.hxx \
StdMeshers_Distribution.hxx \
- StdMeshers_QuadranglePreference.hxx
+ StdMeshers_QuadranglePreference.hxx \
+ SMESH_StdMeshers.hxx
EXPORT_PYSCRIPTS =
--- /dev/null
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : SMESH_StdMeshers.hxx
+// Author : Alexander BORODIN
+// Module : SMESH
+// $Header:
+
+#ifndef _SMESH_StdMeshers_HXX_
+#define _SMESH_StdMeshers_HXX_
+
+#ifdef WNT
+ #if defined STDMESHERS_EXPORTS
+ #define STDMESHERS_EXPORT __declspec( dllexport )
+ #else
+ #define STDMESHERS_EXPORT __declspec( dllimport )
+ #endif
+#else
+ #define STDMESHERS_EXPORT
+#endif
+
+#endif
+
#ifndef _SMESH_ARITHMETIC1D_HXX_
#define _SMESH_ARITHMETIC1D_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class StdMeshers_Arithmetic1D:
+class STDMESHERS_EXPORT StdMeshers_Arithmetic1D:
public SMESH_Hypothesis
{
public:
#ifndef _SMESH_AutomaticLength_HXX_
#define _SMESH_AutomaticLength_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
* S = S0 * f(L/Lmin) where f(x) = 1 + (2/Pi * 7 * atan(x/5) )
*/
-class StdMeshers_AutomaticLength:public SMESH_Hypothesis
+class STDMESHERS_EXPORT StdMeshers_AutomaticLength:public SMESH_Hypothesis
{
public:
StdMeshers_AutomaticLength(int hypId, int studyId, SMESH_Gen * gen);
// Module : SMESH
// $Header$
-using namespace std;
-
#include "StdMeshers_Deflection1D.hxx"
#include "utilities.h"
#include <gp_Lin.hxx>
#include <gp_Pnt.hxx>
+using namespace std;
+
//=============================================================================
/*!
*
#ifndef _StdMeshers_Deflection1D_HXX_
#define _StdMeshers_Deflection1D_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class StdMeshers_Deflection1D:public SMESH_Hypothesis
+class STDMESHERS_EXPORT StdMeshers_Deflection1D:public SMESH_Hypothesis
{
public:
StdMeshers_Deflection1D(int hypId, int studyId, SMESH_Gen * gen);
{
CASCatch_TRY
{
- f = pow( 10, f );
+ f = pow( 10., f );
}
CASCatch_CATCH(CASCatch_Failure)
{
{
}
-Standard_Boolean FunctionExpr::Value( Standard_Real T, Standard_Real& F )
+Standard_Boolean FunctionExpr::Value( const Standard_Real T, Standard_Real& F )
{
double f;
Standard_Boolean res = value( T, f );
#ifndef _STD_MESHERS_DISTRIBUTION_HXX_
#define _STD_MESHERS_DISTRIBUTION_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include <vector>
#include <math_Function.hxx>
#include <ExprIntrp_GenExp.hxx>
#include <TColStd_Array1OfReal.hxx>
-class Function
+class STDMESHERS_EXPORT Function
{
public:
Function( const int );
int myConv;
};
-class FunctionIntegral : public Function
+class STDMESHERS_EXPORT FunctionIntegral : public Function
{
public:
FunctionIntegral( const Function*, const double );
double myStart;
};
-class FunctionTable : public Function
+class STDMESHERS_EXPORT FunctionTable : public Function
{
public:
FunctionTable( const std::vector<double>&, const int );
std::vector<double> myData;
};
-class FunctionExpr : public Function, public math_Function
+class STDMESHERS_EXPORT FunctionExpr : public Function, public math_Function
{
public:
FunctionExpr( const char*, const int );
virtual ~FunctionExpr();
- virtual Standard_Boolean Value( Standard_Real, Standard_Real& );
+ virtual Standard_Boolean Value( const Standard_Real, Standard_Real& );
virtual bool value( const double, double& ) const;
virtual double integral( const double, const double ) const;
TColStd_Array1OfReal myValues;
};
+STDMESHERS_EXPORT
bool buildDistribution( const Function& f,
const double start, const double end,
const int nbSeg,
vector<double>& data,
const double eps );
+STDMESHERS_EXPORT
bool buildDistribution( const TCollection_AsciiString& f, const int conv, const double start, const double end,
const int nbSeg, vector<double>& data, const double eps );
+STDMESHERS_EXPORT
bool buildDistribution( const std::vector<double>& f, const int conv, const double start, const double end,
const int nbSeg, vector<double>& data, const double eps );
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_Hexa_3D.hxx"
#include "StdMeshers_Quadrangle_2D.hxx"
#include "SMESH_Gen.hxx"
//modified by NIZNHY-PKV Wed Nov 17 15:31:58 2004 f
#include "StdMeshers_Penta_3D.hxx"
+using namespace std;
+
static bool ComputePentahedralMesh(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape);
//modified by NIZNHY-PKV Wed Nov 17 15:32:00 2004 t
#ifndef _SMESH_HEXA_3D_HXX_
#define _SMESH_HEXA_3D_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_3D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include "StdMeshers_Quadrangle_2D.hxx"
Point3DStruct* np; // normalised 3D coordinates
} CubeStruct;
-class StdMeshers_Hexa_3D:
+class STDMESHERS_EXPORT StdMeshers_Hexa_3D:
public SMESH_3D_Algo
{
public:
#ifndef _SMESH_LENGTHFROMEDGES_HXX_
#define _SMESH_LENGTHFROMEDGES_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class StdMeshers_LengthFromEdges:
+class STDMESHERS_EXPORT StdMeshers_LengthFromEdges:
public SMESH_Hypothesis
{
public:
#ifndef _SMESH_LOCALLENGTH_HXX_
#define _SMESH_LOCALLENGTH_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class StdMeshers_LocalLength:public SMESH_Hypothesis
+class STDMESHERS_EXPORT StdMeshers_LocalLength:public SMESH_Hypothesis
{
public:
StdMeshers_LocalLength(int hypId, int studyId, SMESH_Gen * gen);
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_MEFISTO_2D.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_Mesh.hxx"
#include <TopTools_ListOfShape.hxx>
#include <string>
+
+using namespace std;
//#include <algorithm>
//=============================================================================
#ifndef _StdMeshers_MEFISTO_2D_HXX_
#define _StdMeshers_MEFISTO_2D_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_2D_Algo.hxx"
#include <TopoDS_Wire.hxx>
#include <map>
#include "Rn.h"
-class StdMeshers_MEFISTO_2D:
+class STDMESHERS_EXPORT StdMeshers_MEFISTO_2D:
public SMESH_2D_Algo
{
public:
#ifndef _SMESH_MAXELEMENTAREA_HXX_
#define _SMESH_MAXELEMENTAREA_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class StdMeshers_MaxElementArea:public SMESH_Hypothesis
+class STDMESHERS_EXPORT StdMeshers_MaxElementArea:public SMESH_Hypothesis
{
public:
StdMeshers_MaxElementArea(int hypId, int studyId, SMESH_Gen * gen);
// Module : SMESH
// $Header$
-using namespace std;
-
#include "StdMeshers_MaxElementVolume.hxx"
#include "SMDS_MeshElement.hxx"
#include <TopExp_Explorer.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
+using namespace std;
+
//=============================================================================
/*!
*
#ifndef _SMESH_MAXELEMENTVOLUME_HXX_
#define _SMESH_MAXELEMENTVOLUME_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class StdMeshers_MaxElementVolume:
+class STDMESHERS_EXPORT StdMeshers_MaxElementVolume:
public SMESH_Hypothesis
{
public:
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_NotConformAllowed.hxx"
#include "utilities.h"
+using namespace std;
+
//=============================================================================
/*!
*
#ifndef _StdMeshers_NotConformAllowed_HXX_
#define _StdMeshers_NotConformAllowed_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class StdMeshers_NotConformAllowed:
+class STDMESHERS_EXPORT StdMeshers_NotConformAllowed:
public SMESH_Hypothesis
{
public:
#ifndef _SMESH_NUMBEROFSEGMENTS_HXX_
#define _SMESH_NUMBEROFSEGMENTS_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include <vector>
* It provides parameters for subdivision an edge by various
* distribution types, considering the given number of resulting segments
*/
-class StdMeshers_NumberOfSegments:
+class STDMESHERS_EXPORT StdMeshers_NumberOfSegments:
public SMESH_Hypothesis
{
public:
#ifndef StdMeshers_Penta_3D_HeaderFile
#define StdMeshers_Penta_3D_HeaderFile
+#include "SMESH_StdMeshers.hxx"
+
#include <map>
////////////////////////////////////////////////////////////////////////
typedef std::map< double, std::vector<const SMDS_MeshNode*> > StdMeshers_IJNodeMap;
-class StdMeshers_SMESHBlock {
+class STDMESHERS_EXPORT StdMeshers_SMESHBlock {
public:
//
////////////////////////////////////////////////////////////////////////
#include "SMDS_MeshNode.hxx"
-class StdMeshers_TNode {
+class STDMESHERS_EXPORT StdMeshers_TNode {
public:
#include "SMESH_Mesh.hxx"
#include <TopoDS_Shape.hxx>
//
-class StdMeshers_Penta_3D {
+class STDMESHERS_EXPORT StdMeshers_Penta_3D {
//
public: // methods
StdMeshers_Penta_3D();
#ifndef _SMESH_PROPAGATION_HXX_
#define _SMESH_PROPAGATION_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class StdMeshers_Propagation:public SMESH_Hypothesis
+class STDMESHERS_EXPORT StdMeshers_Propagation:public SMESH_Hypothesis
{
public:
StdMeshers_Propagation(int hypId, int studyId, SMESH_Gen * gen);
#ifndef _StdMeshers_QuadranglePreference_HXX_
#define _StdMeshers_QuadranglePreference_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
* GIBI can do it if the global number of nodes is even (DALL operator).
* See PAL10467
*/
-class StdMeshers_QuadranglePreference:public SMESH_Hypothesis
+class STDMESHERS_EXPORT StdMeshers_QuadranglePreference:public SMESH_Hypothesis
{
public:
StdMeshers_QuadranglePreference(int hypId, int studyId, SMESH_Gen * gen);
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_Quadrangle_2D.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_Mesh.hxx"
StdMeshers_BaseCollectionNodePtr, SMDS_MeshNodePtr)
#endif
+using namespace std;
//=============================================================================
/*!
#ifndef _SMESH_QUADRANGLE_2D_HXX_
#define _SMESH_QUADRANGLE_2D_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_2D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include "Utils_SALOME_Exception.hxx"
UVPtStruct* uv_grid;
} FaceQuadStruct;
-class StdMeshers_Quadrangle_2D:
+class STDMESHERS_EXPORT StdMeshers_Quadrangle_2D:
public SMESH_2D_Algo
{
public:
#ifndef _SMESH_REGULAR_1D_HXX_
#define _SMESH_REGULAR_1D_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_1D_Algo.hxx"
class TopoDS_Edge;
-class StdMeshers_Regular_1D:
+class STDMESHERS_EXPORT StdMeshers_Regular_1D:
public SMESH_1D_Algo
{
public:
#ifndef _STDMESHERS_STARTENDLENGTH_HXX_
#define _STDMESHERS_STARTENDLENGTH_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class StdMeshers_StartEndLength:public SMESH_Hypothesis
+class STDMESHERS_EXPORT StdMeshers_StartEndLength:public SMESH_Hypothesis
{
public:
StdMeshers_StartEndLength(int hypId, int studyId, SMESH_Gen * gen);
StdMeshers_MEFISTO_2D_i.hxx \
StdMeshers_Hexa_3D_i.hxx \
StdMeshers_AutomaticLength_i.hxx \
- StdMeshers_QuadranglePreference_i.hxx
+ StdMeshers_QuadranglePreference_i.hxx \
+ SMESH_StdMeshers_I.hxx
# Libraries targets
--- /dev/null
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : SMESH_StdMeshers_I.hxx
+// Author : Alexander BORODIN
+// Module : SMESH
+// $Header:
+
+#ifndef _SMESH_StdMeshers_I_HXX_
+#define _SMESH_StdMeshers_I_HXX_
+
+#ifdef WNT
+ #if defined STDMESHERS_I_EXPORTS
+ #define STDMESHERS_I_EXPORT __declspec( dllexport )
+ #else
+ #define STDMESHERS_I_EXPORT __declspec( dllimport )
+ #endif
+#else
+ #define STDMESHERS_I_EXPORT
+#endif
+
+#endif
+
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_Arithmetic1D_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_Arithmetic1D_i::StdMeshers_Arithmetic1D_i
#ifndef _SMESH_ARITHMETIC1D_I_HXX_
#define _SMESH_ARITHMETIC1D_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Arithmetic 1D hypothesis
// ======================================================
-class StdMeshers_Arithmetic1D_i:
+class STDMESHERS_I_EXPORT StdMeshers_Arithmetic1D_i:
public virtual POA_StdMeshers::StdMeshers_Arithmetic1D,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_AutomaticLength_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_AutomaticLength_i::StdMeshers_AutomaticLength_i
#ifndef _SMESH_AutomaticLength_I_HXX_
#define _SMESH_AutomaticLength_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// 1D Hypothesis to compute segment length free of thinking
// =========================================================
-class StdMeshers_AutomaticLength_i:
+class STDMESHERS_I_EXPORT StdMeshers_AutomaticLength_i:
public virtual POA_StdMeshers::StdMeshers_AutomaticLength,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_Deflection1D_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_Deflection1D_i::StdMeshers_Deflection1D_i
#ifndef _SMESH_Deflection1D_I_HXX_
#define _SMESH_Deflection1D_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Local Length hypothesis
// ======================================================
-class StdMeshers_Deflection1D_i:
+class STDMESHERS_I_EXPORT StdMeshers_Deflection1D_i:
public virtual POA_StdMeshers::StdMeshers_Deflection1D,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_Hexa_3D_i.hxx"
#include "SMESH_Gen.hxx"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_Hexa_3D_i::StdMeshers_Hexa_3D_i
#ifndef _SMESH_HEXA_3D_I_HXX_
#define _SMESH_HEXA_3D_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Hexaedron 3d algorithm
// ======================================================
-class StdMeshers_Hexa_3D_i:
+class STDMESHERS_I_EXPORT StdMeshers_Hexa_3D_i:
public virtual POA_StdMeshers::StdMeshers_Hexa_3D,
public virtual SMESH_3D_Algo_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_LengthFromEdges_i.hxx"
#include "SMESH_Gen.hxx"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_LengthFromEdges_i::StdMeshers_LengthFromEdges_i
#ifndef _SMESH_LENGTHFROMEDGES_I_HXX_
#define _SMESH_LENGTHFROMEDGES_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Length from edges hypothesis
// ======================================================
-class StdMeshers_LengthFromEdges_i:
+class STDMESHERS_I_EXPORT StdMeshers_LengthFromEdges_i:
public virtual POA_StdMeshers::StdMeshers_LengthFromEdges,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_LocalLength_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_LocalLength_i::StdMeshers_LocalLength_i
#ifndef _SMESH_LOCALLENGTH_I_HXX_
#define _SMESH_LOCALLENGTH_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Local Length hypothesis
// ======================================================
-class StdMeshers_LocalLength_i:
+class STDMESHERS_I_EXPORT StdMeshers_LocalLength_i:
public virtual POA_StdMeshers::StdMeshers_LocalLength,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_MEFISTO_2D_i.hxx"
#include "SMESH_Gen.hxx"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_MEFISTO_2D_i::StdMeshers_MEFISTO_2D_i
#ifndef _StdMeshers_MEFISTO_2D_I_HXX_
#define _StdMeshers_MEFISTO_2D_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Triangle (MEFISTO) 2d algorithm
// ======================================================
-class StdMeshers_MEFISTO_2D_i:
+class STDMESHERS_I_EXPORT StdMeshers_MEFISTO_2D_i:
public virtual POA_StdMeshers::StdMeshers_MEFISTO_2D,
public virtual SMESH_2D_Algo_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_MaxElementArea_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_MaxElementArea_i::StdMeshers_MaxElementArea_i
#ifndef _SMESH_MAXELEMENTAREA_I_HXX_
#define _SMESH_MAXELEMENTAREA_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Maximum Element Area hypothesis
// ======================================================
-class StdMeshers_MaxElementArea_i:
+class STDMESHERS_I_EXPORT StdMeshers_MaxElementArea_i:
public virtual POA_StdMeshers::StdMeshers_MaxElementArea,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_MaxElementVolume_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_MaxElementVolume_i::StdMeshers_MaxElementVolume_i
#ifndef _SMESH_MAXELEMENTVOLUME_I_HXX_
#define _SMESH_MAXELEMENTVOLUME_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Maximum Element Volume hypothesis
// ======================================================
-class StdMeshers_MaxElementVolume_i:
+class STDMESHERS_I_EXPORT StdMeshers_MaxElementVolume_i:
public virtual POA_StdMeshers::StdMeshers_MaxElementVolume,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
-using namespace std;
#include "StdMeshers_NotConformAllowed_i.hxx"
#include "SMESH_Gen.hxx"
#include "utilities.h"
+using namespace std;
+
//=============================================================================
/*!
* Constructor:
#ifndef _StdMeshers_NotConformAllowed_I_HXX_
#define _StdMeshers_NotConformAllowed_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
#include "StdMeshers_NotConformAllowed.hxx"
-class StdMeshers_NotConformAllowed_i:
+class STDMESHERS_I_EXPORT StdMeshers_NotConformAllowed_i:
public POA_StdMeshers::StdMeshers_NotConformAllowed,
public SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_NumberOfSegments_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_NumberOfSegments_i::StdMeshers_NumberOfSegments_i
#ifndef _SMESH_NUMBEROFSEGMENTS_I_HXX_
#define _SMESH_NUMBEROFSEGMENTS_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_Mesh)
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Number of segments hypothesis
// ======================================================
-class StdMeshers_NumberOfSegments_i:
+class STDMESHERS_I_EXPORT StdMeshers_NumberOfSegments_i:
public virtual POA_StdMeshers::StdMeshers_NumberOfSegments,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_Propagation_i.hxx"
#include "SMESH_Gen.hxx"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_Propagation_i::StdMeshers_Propagation_i
#ifndef _SMESH_PROPAGATION_I_HXX_
#define _SMESH_PROPAGATION_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Propagation hypothesis
// ======================================================
-class StdMeshers_Propagation_i:
+class STDMESHERS_I_EXPORT StdMeshers_Propagation_i:
public virtual POA_StdMeshers::StdMeshers_Propagation,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_QuadranglePreference_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_QuadranglePreference_i::StdMeshers_QuadranglePreference_i
#ifndef _SMESH_QuadranglePreference_I_HXX_
#define _SMESH_QuadranglePreference_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Local Length hypothesis
// ======================================================
-class StdMeshers_QuadranglePreference_i:
+class STDMESHERS_I_EXPORT StdMeshers_QuadranglePreference_i:
public virtual POA_StdMeshers::StdMeshers_QuadranglePreference,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_Quadrangle_2D_i.hxx"
#include "SMESH_Gen.hxx"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_Quadrangle_2D_i::StdMeshers_Quadrangle_2D_i
#ifndef _SMESH_QUADRANGLE_2D_I_HXX_
#define _SMESH_QUADRANGLE_2D_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Quadrangle (Mapping) 2d algorithm
// ======================================================
-class StdMeshers_Quadrangle_2D_i:
+class STDMESHERS_I_EXPORT StdMeshers_Quadrangle_2D_i:
public virtual POA_StdMeshers::StdMeshers_Quadrangle_2D,
public virtual SMESH_2D_Algo_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_Regular_1D_i.hxx"
#include "SMESH_Gen.hxx"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_Regular_1D_i::StdMeshers_Regular_1D_i
#ifndef _SMESH_REGULAR_1D_I_HXX_
#define _SMESH_REGULAR_1D_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Wire Discretization 1d algorithm
// ======================================================
-class StdMeshers_Regular_1D_i:
+class STDMESHERS_I_EXPORT StdMeshers_Regular_1D_i:
public virtual POA_StdMeshers::StdMeshers_Regular_1D,
public virtual SMESH_1D_Algo_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "StdMeshers_StartEndLength_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
//=============================================================================
/*!
* StdMeshers_StartEndLength_i::StdMeshers_StartEndLength_i
#ifndef _SMESH_StartEndLength_I_HXX_
#define _SMESH_StartEndLength_I_HXX_
+#include "SMESH_StdMeshers_I.hxx"
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
// ======================================================
// Local Length hypothesis
// ======================================================
-class StdMeshers_StartEndLength_i:
+class STDMESHERS_I_EXPORT StdMeshers_StartEndLength_i:
public virtual POA_StdMeshers::StdMeshers_StartEndLength,
public virtual SMESH_Hypothesis_i
{
// Module : SMESH
// $Header$
-using namespace std;
+#include "SMESH_StdMeshers_I.hxx"
+
#include "SMESH_Gen_i.hxx"
#include "utilities.h"
#include "StdMeshers_Quadrangle_2D_i.hxx"
#include "StdMeshers_Hexa_3D_i.hxx"
+using namespace std;
+
//=============================================================================
/*!
*
extern "C"
{
+STDMESHERS_I_EXPORT
GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName)
{
MESSAGE("Get HypothesisCreator for " << aHypName);