Executable version on Windows Platform

This commit is contained in:
abd 2008-07-17 11:26:46 +00:00
parent 14f66eecc8
commit 47329e0f75
7 changed files with 18 additions and 17 deletions

View File

@ -26,7 +26,6 @@
// Module : SMESH // Module : SMESH
// $Header$ // $Header$
using namespace std;
#include "SMESH_2D_Algo.hxx" #include "SMESH_2D_Algo.hxx"
#include "SMESH_Gen.hxx" #include "SMESH_Gen.hxx"
@ -36,6 +35,8 @@ using namespace std;
#include <TopExp.hxx> #include <TopExp.hxx>
#include <TopoDS.hxx> #include <TopoDS.hxx>
using namespace std;
//============================================================================= //=============================================================================
/*! /*!
* *

View File

@ -60,7 +60,7 @@ namespace SMESH
DEFINE_STANDARD_HANDLE(SMESHGUI_Filter, VTKViewer_Filter) DEFINE_STANDARD_HANDLE(SMESHGUI_Filter, VTKViewer_Filter)
class SMESHGUI_EXPORT SMESHGUI_Filter : public VTKViewer_Filter class SMESHGUI_Filter : public VTKViewer_Filter
{ {
public: public:
virtual bool IsObjValid( const int ) const = 0; virtual bool IsObjValid( const int ) const = 0;
@ -77,7 +77,7 @@ public:
DEFINE_STANDARD_HANDLE(SMESHGUI_PredicateFilter, SMESHGUI_Filter) DEFINE_STANDARD_HANDLE(SMESHGUI_PredicateFilter, SMESHGUI_Filter)
class SMESHGUI_EXPORT SMESHGUI_PredicateFilter : public SMESHGUI_Filter class SMESHGUI_PredicateFilter : public SMESHGUI_Filter
{ {
public: public:
SMESHGUI_PredicateFilter(); SMESHGUI_PredicateFilter();
@ -105,7 +105,7 @@ public:
DEFINE_STANDARD_HANDLE(SMESHGUI_QuadrangleFilter, SMESHGUI_Filter) DEFINE_STANDARD_HANDLE(SMESHGUI_QuadrangleFilter, SMESHGUI_Filter)
class SMESHGUI_EXPORT SMESHGUI_QuadrangleFilter : public SMESHGUI_Filter class SMESHGUI_QuadrangleFilter : public SMESHGUI_Filter
{ {
public: public:
SMESHGUI_QuadrangleFilter(); SMESHGUI_QuadrangleFilter();
@ -127,7 +127,7 @@ public:
DEFINE_STANDARD_HANDLE(SMESHGUI_TriangleFilter, SMESHGUI_Filter) DEFINE_STANDARD_HANDLE(SMESHGUI_TriangleFilter, SMESHGUI_Filter)
class SMESHGUI_EXPORT SMESHGUI_TriangleFilter : public SMESHGUI_Filter class SMESHGUI_TriangleFilter : public SMESHGUI_Filter
{ {
public: public:
SMESHGUI_TriangleFilter(); SMESHGUI_TriangleFilter();
@ -149,7 +149,7 @@ public:
DEFINE_STANDARD_HANDLE(SMESHGUI_FacesFilter, SMESHGUI_Filter) DEFINE_STANDARD_HANDLE(SMESHGUI_FacesFilter, SMESHGUI_Filter)
class SMESHGUI_EXPORT SMESHGUI_FacesFilter : public SMESHGUI_Filter class SMESHGUI_FacesFilter : public SMESHGUI_Filter
{ {
public: public:
SMESHGUI_FacesFilter(); SMESHGUI_FacesFilter();
@ -171,7 +171,7 @@ public:
DEFINE_STANDARD_HANDLE(SMESHGUI_VolumesFilter, SMESHGUI_Filter) DEFINE_STANDARD_HANDLE(SMESHGUI_VolumesFilter, SMESHGUI_Filter)
class SMESHGUI_EXPORT SMESHGUI_VolumesFilter : public SMESHGUI_Filter class SMESHGUI_VolumesFilter : public SMESHGUI_Filter
{ {
public: public:
SMESHGUI_VolumesFilter(); SMESHGUI_VolumesFilter();

View File

@ -27,20 +27,20 @@
#define LIBSMESH_SWIG_H #define LIBSMESH_SWIG_H
#ifdef WNT #ifdef WNT
#if defined SMESHSWIG_EXPORTS #if defined SMESH_SWIG_EXPORTS
#define SMESHSWIG_EXPORT __declspec( dllexport ) #define SMESH_SWIG_EXPORT __declspec( dllexport )
#else #else
#define SMESHSWIG_EXPORT __declspec( dllimport ) #define SMESH_SWIG_EXPORT __declspec( dllimport )
#endif #endif
#else #else
#define SMESHSWIG_EXPORT #define SMESH_SWIG_EXPORT
#endif #endif
// IDL includes // IDL includes
#include <SALOMEconfig.h> #include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SALOMEDS) #include CORBA_SERVER_HEADER(SALOMEDS)
class SMESHSWIG_EXPORT SMESH_Swig class SMESH_SWIG_EXPORT SMESH_Swig
{ {
public: public:
SMESH_Swig(); SMESH_Swig();

View File

@ -49,7 +49,7 @@ public:
}; };
class StdMeshers_UseExisting_1D: public SMESH_1D_Algo class STDMESHERS_EXPORT StdMeshers_UseExisting_1D: public SMESH_1D_Algo
{ {
public: public:
StdMeshers_UseExisting_1D(int hypId, int studyId, SMESH_Gen* gen); StdMeshers_UseExisting_1D(int hypId, int studyId, SMESH_Gen* gen);

View File

@ -263,7 +263,7 @@ void StdMeshersGUI_DistrPreview::update()
} }
setAxisScale( myDensity->xAxis(), min_x, max_x ); setAxisScale( myDensity->xAxis(), min_x, max_x );
setAxisScale( myDensity->yAxis(), std::min( 0.0, min_y ), std::max( 0.0, max_y ) ); setAxisScale( myDensity->yAxis(), min( 0.0, min_y ), max( 0.0, max_y ) );
myDensity->setData( x, y, size ); myDensity->setData( x, y, size );
if( x ) if( x )
delete[] x; delete[] x;

View File

@ -27,7 +27,6 @@
// Module : SMESH // Module : SMESH
// $Header$ // $Header$
using namespace std;
#include "StdMeshers_NumberOfSegments_i.hxx" #include "StdMeshers_NumberOfSegments_i.hxx"
#include "SMESH_Gen_i.hxx" #include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx" #include "SMESH_Gen.hxx"
@ -38,6 +37,7 @@ using namespace std;
#include <TCollection_AsciiString.hxx> #include <TCollection_AsciiString.hxx>
using namespace std;
//============================================================================= //=============================================================================
/*! /*!
* StdMeshers_NumberOfSegments_i::StdMeshers_NumberOfSegments_i * StdMeshers_NumberOfSegments_i::StdMeshers_NumberOfSegments_i

View File

@ -26,8 +26,6 @@
// Module : SMESH // Module : SMESH
// $Header$ // $Header$
using namespace std;
#include "StdMeshers_ProjectionSource1D_i.hxx" #include "StdMeshers_ProjectionSource1D_i.hxx"
#include "SMESH_Gen_i.hxx" #include "SMESH_Gen_i.hxx"
@ -39,6 +37,8 @@ using namespace std;
#include "StdMeshers_ObjRefUlils.hxx" #include "StdMeshers_ObjRefUlils.hxx"
using namespace std;
//============================================================================= //=============================================================================
/*! /*!
* StdMeshers_ProjectionSource1D_i::StdMeshers_ProjectionSource1D_i * StdMeshers_ProjectionSource1D_i::StdMeshers_ProjectionSource1D_i