First Working WIN32 version
This commit is contained in:
parent
f197df9d7c
commit
5d22e217be
@ -7,8 +7,6 @@
|
|||||||
// Copyright : CEA 2003
|
// Copyright : CEA 2003
|
||||||
// $Header$
|
// $Header$
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "NETGENPlugin_NETGEN_3D.hxx"
|
#include "NETGENPlugin_NETGEN_3D.hxx"
|
||||||
|
|
||||||
#include "SMESH_Gen.hxx"
|
#include "SMESH_Gen.hxx"
|
||||||
@ -33,7 +31,14 @@ using namespace std;
|
|||||||
Netgen include files
|
Netgen include files
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "nglib.h"
|
namespace nglib
|
||||||
|
{
|
||||||
|
#include <nglib.h>
|
||||||
|
}
|
||||||
|
|
||||||
|
using namespace nglib;
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
|
@ -11,12 +11,22 @@
|
|||||||
#ifndef _NETGENPlugin_NETGEN_3D_HXX_
|
#ifndef _NETGENPlugin_NETGEN_3D_HXX_
|
||||||
#define _NETGENPlugin_NETGEN_3D_HXX_
|
#define _NETGENPlugin_NETGEN_3D_HXX_
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#ifdef NETGENPLUGIN_EXPORTS
|
||||||
|
#define NETGENPLUGIN_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define NETGENPLUGIN_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define NETGENPLUGIN_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "SMESH_3D_Algo.hxx"
|
#include "SMESH_3D_Algo.hxx"
|
||||||
#include "SMESH_Mesh.hxx"
|
#include "SMESH_Mesh.hxx"
|
||||||
#include "StdMeshers_MaxElementVolume.hxx"
|
#include "StdMeshers_MaxElementVolume.hxx"
|
||||||
#include "Utils_SALOME_Exception.hxx"
|
#include "Utils_SALOME_Exception.hxx"
|
||||||
|
|
||||||
class NETGENPlugin_NETGEN_3D: public SMESH_3D_Algo
|
class NETGENPLUGIN_EXPORT NETGENPlugin_NETGEN_3D: public SMESH_3D_Algo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NETGENPlugin_NETGEN_3D(int hypId, int studyId, SMESH_Gen* gen);
|
NETGENPlugin_NETGEN_3D(int hypId, int studyId, SMESH_Gen* gen);
|
||||||
|
@ -27,13 +27,14 @@
|
|||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
#include "NETGENPlugin_NETGEN_3D_i.hxx"
|
#include "NETGENPlugin_NETGEN_3D_i.hxx"
|
||||||
#include "SMESH_Gen.hxx"
|
#include "SMESH_Gen.hxx"
|
||||||
|
|
||||||
#include "Utils_CorbaException.hxx"
|
#include "Utils_CorbaException.hxx"
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* NETGENPlugin_NETGEN_3D_i::NETGENPlugin_NETGEN_3D_i
|
* NETGENPlugin_NETGEN_3D_i::NETGENPlugin_NETGEN_3D_i
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
// ======================================================
|
// ======================================================
|
||||||
// NETGEN 3d algorithm
|
// NETGEN 3d algorithm
|
||||||
// ======================================================
|
// ======================================================
|
||||||
class NETGENPlugin_NETGEN_3D_i:
|
class NETGENPLUGIN_EXPORT NETGENPlugin_NETGEN_3D_i:
|
||||||
public virtual POA_NETGENPlugin::NETGENPlugin_NETGEN_3D,
|
public virtual POA_NETGENPlugin::NETGENPlugin_NETGEN_3D,
|
||||||
public virtual SMESH_3D_Algo_i
|
public virtual SMESH_3D_Algo_i
|
||||||
{
|
{
|
||||||
|
@ -26,11 +26,12 @@
|
|||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
#include "NETGENPlugin_NETGEN_3D_i.hxx"
|
#include "NETGENPlugin_NETGEN_3D_i.hxx"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
@ -39,6 +40,7 @@ using namespace std;
|
|||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
NETGENPLUGIN_EXPORT
|
||||||
GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName)
|
GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName)
|
||||||
{
|
{
|
||||||
MESSAGE("GetHypothesisCreator " << aHypName);
|
MESSAGE("GetHypothesisCreator " << aHypName);
|
||||||
|
Loading…
Reference in New Issue
Block a user