mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-01 04:10:34 +05:00
Win32 Porting.
Correction of Export/Import defines for Win32 platform. Removed "using namespace std" from header files.
This commit is contained in:
parent
8d0541f686
commit
417ce59dd7
@ -63,7 +63,7 @@ private :
|
|||||||
|
|
||||||
DlgRef_1Sel_QTD* GroupPoints;
|
DlgRef_1Sel_QTD* GroupPoints;
|
||||||
GEOM::ListOfGO_var myPoints;
|
GEOM::ListOfGO_var myPoints;
|
||||||
list<GEOM::GEOM_Object_var> myOrderedSel;//!< This list used for managing orderes selection
|
std::list<GEOM::GEOM_Object_var> myOrderedSel;//!< This list used for managing orderes selection
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void ClickOnOk();
|
void ClickOnOk();
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
#ifndef DLGREF_SKELETON_QTD_H
|
#ifndef DLGREF_SKELETON_QTD_H
|
||||||
#define DLGREF_SKELETON_QTD_H
|
#define DLGREF_SKELETON_QTD_H
|
||||||
|
|
||||||
|
#include "GEOM_DlgRef.hxx"
|
||||||
|
|
||||||
#include <qvariant.h>
|
#include <qvariant.h>
|
||||||
#include <qdialog.h>
|
#include <qdialog.h>
|
||||||
|
|
||||||
@ -25,7 +27,7 @@ class QLineEdit;
|
|||||||
class QCheckBox;
|
class QCheckBox;
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
|
|
||||||
class DlgRef_Skeleton_QTD : public QDialog
|
class GEOM_DLGREF_EXPORT DlgRef_Skeleton_QTD : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include <Standard_Stream.hxx>
|
#include <Standard_Stream.hxx>
|
||||||
|
|
||||||
#include <Standard_Stream.hxx>
|
#include <Standard_Stream.hxx>
|
||||||
@ -36,7 +34,7 @@ using namespace std;
|
|||||||
|
|
||||||
#include "GEOM_Client.hxx"
|
#include "GEOM_Client.hxx"
|
||||||
#include <SALOMEconfig.h>
|
#include <SALOMEconfig.h>
|
||||||
#include "OpUtil.hxx"
|
#include "Basics_Utils.hxx"
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
#include <BRep_Builder.hxx>
|
#include <BRep_Builder.hxx>
|
||||||
@ -60,7 +58,7 @@ using namespace std;
|
|||||||
|
|
||||||
#define HST_CLIENT_LEN 256
|
#define HST_CLIENT_LEN 256
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
// function : Load()
|
// function : Load()
|
||||||
@ -68,7 +66,7 @@ using namespace std;
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
TopoDS_Shape GEOM_Client::Load( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape )
|
TopoDS_Shape GEOM_Client::Load( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape )
|
||||||
{
|
{
|
||||||
string hst_client = GetHostname();
|
string hst_client = Kernel_Utils::GetHostname();
|
||||||
|
|
||||||
Engines::Container_var ctn_server = geom->GetContainerRef();
|
Engines::Container_var ctn_server = geom->GetContainerRef();
|
||||||
long pid_server = ctn_server->getPID();
|
long pid_server = ctn_server->getPID();
|
||||||
|
@ -52,19 +52,11 @@ class TopoDS_Shape;
|
|||||||
#include <Standard_Macro.hxx>
|
#include <Standard_Macro.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WNT
|
#ifdef WIN32
|
||||||
#if defined GEOMCLIENT_EXPORTS
|
# ifdef GEOMCLIENT_EXPORTS
|
||||||
#if defined WIN32
|
|
||||||
# define GEOMCLIENT_EXPORT __declspec( dllexport )
|
# define GEOMCLIENT_EXPORT __declspec( dllexport )
|
||||||
# else
|
# else
|
||||||
#define GEOMCLIENT_EXPORT
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#if defined WIN32
|
|
||||||
# define GEOMCLIENT_EXPORT __declspec( dllimport )
|
# define GEOMCLIENT_EXPORT __declspec( dllimport )
|
||||||
#else
|
|
||||||
#define GEOMCLIENT_EXPORT
|
|
||||||
#endif
|
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define GEOMCLIENT_EXPORT
|
# define GEOMCLIENT_EXPORT
|
||||||
|
@ -29,8 +29,6 @@
|
|||||||
#if !defined (__GEOM_DISPLAYER_H)
|
#if !defined (__GEOM_DISPLAYER_H)
|
||||||
#define __GEOM_DISPLAYER_H
|
#define __GEOM_DISPLAYER_H
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "GEOM_GEOMGUI.hxx"
|
#include "GEOM_GEOMGUI.hxx"
|
||||||
|
|
||||||
#include "SALOME_Prs.h"
|
#include "SALOME_Prs.h"
|
||||||
@ -176,7 +174,7 @@ protected:
|
|||||||
protected:
|
protected:
|
||||||
Handle(SALOME_InteractiveObject) myIO;
|
Handle(SALOME_InteractiveObject) myIO;
|
||||||
TopoDS_Shape myShape;
|
TopoDS_Shape myShape;
|
||||||
string myName;
|
std::string myName;
|
||||||
int myType;
|
int myType;
|
||||||
SALOME_View* myViewFrame;
|
SALOME_View* myViewFrame;
|
||||||
|
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
#pragma warning( disable:4786 )
|
#pragma warning( disable:4786 )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include <Standard_Stream.hxx>
|
#include <Standard_Stream.hxx>
|
||||||
|
|
||||||
#include <GEOMImpl_IBlocksOperations.hxx>
|
#include <GEOMImpl_IBlocksOperations.hxx>
|
||||||
@ -99,6 +97,8 @@ using namespace std;
|
|||||||
#include <Standard_Failure.hxx>
|
#include <Standard_Failure.hxx>
|
||||||
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
|
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
#ifndef _GEOMImpl_IBlocksOperations_HXX_
|
#ifndef _GEOMImpl_IBlocksOperations_HXX_
|
||||||
#define _GEOMImpl_IBlocksOperations_HXX_
|
#define _GEOMImpl_IBlocksOperations_HXX_
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "GEOM_IOperations.hxx"
|
#include "GEOM_IOperations.hxx"
|
||||||
|
|
||||||
#include <TopTools_ListOfShape.hxx>
|
#include <TopTools_ListOfShape.hxx>
|
||||||
@ -114,17 +112,17 @@ class GEOMImpl_IBlocksOperations : public GEOM_IOperations {
|
|||||||
|
|
||||||
struct BCError {
|
struct BCError {
|
||||||
BCErrorType error;
|
BCErrorType error;
|
||||||
list<int> incriminated;
|
std::list<int> incriminated;
|
||||||
};
|
};
|
||||||
|
|
||||||
Standard_EXPORT Standard_Boolean CheckCompoundOfBlocksOld (Handle(GEOM_Object) theCompound,
|
Standard_EXPORT Standard_Boolean CheckCompoundOfBlocksOld (Handle(GEOM_Object) theCompound,
|
||||||
list<BCError>& theErrors);
|
std::list<BCError>& theErrors);
|
||||||
|
|
||||||
Standard_EXPORT Standard_Boolean CheckCompoundOfBlocks (Handle(GEOM_Object) theCompound,
|
Standard_EXPORT Standard_Boolean CheckCompoundOfBlocks (Handle(GEOM_Object) theCompound,
|
||||||
list<BCError>& theErrors);
|
std::list<BCError>& theErrors);
|
||||||
|
|
||||||
Standard_EXPORT TCollection_AsciiString PrintBCErrors (Handle(GEOM_Object) theCompound,
|
Standard_EXPORT TCollection_AsciiString PrintBCErrors (Handle(GEOM_Object) theCompound,
|
||||||
const list<BCError>& theErrors);
|
const std::list<BCError>& theErrors);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) RemoveExtraEdges (Handle(GEOM_Object) theShape);
|
Standard_EXPORT Handle(GEOM_Object) RemoveExtraEdges (Handle(GEOM_Object) theShape);
|
||||||
|
|
||||||
|
@ -47,6 +47,8 @@
|
|||||||
#include <Standard_Failure.hxx>
|
#include <Standard_Failure.hxx>
|
||||||
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
|
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -17,8 +17,6 @@
|
|||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#ifndef _GEOMImpl_ICurvesOperations_HXX_
|
#ifndef _GEOMImpl_ICurvesOperations_HXX_
|
||||||
#define _GEOMImpl_ICurvesOperations_HXX_
|
#define _GEOMImpl_ICurvesOperations_HXX_
|
||||||
|
|
||||||
@ -36,7 +34,7 @@ class GEOMImpl_ICurvesOperations : public GEOM_IOperations {
|
|||||||
Standard_EXPORT GEOMImpl_ICurvesOperations(GEOM_Engine* theEngine, int theDocID);
|
Standard_EXPORT GEOMImpl_ICurvesOperations(GEOM_Engine* theEngine, int theDocID);
|
||||||
Standard_EXPORT ~GEOMImpl_ICurvesOperations();
|
Standard_EXPORT ~GEOMImpl_ICurvesOperations();
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakePolyline (list<Handle(GEOM_Object)> thePoints);
|
Standard_EXPORT Handle(GEOM_Object) MakePolyline (std::list<Handle(GEOM_Object)> thePoints);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeCircleThreePnt (Handle(GEOM_Object) thePnt1,
|
Standard_EXPORT Handle(GEOM_Object) MakeCircleThreePnt (Handle(GEOM_Object) thePnt1,
|
||||||
Handle(GEOM_Object) thePnt2,
|
Handle(GEOM_Object) thePnt2,
|
||||||
@ -60,11 +58,11 @@ class GEOMImpl_ICurvesOperations : public GEOM_IOperations {
|
|||||||
Handle(GEOM_Object) thePnt3,
|
Handle(GEOM_Object) thePnt3,
|
||||||
bool theSense);
|
bool theSense);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeSplineBezier (list<Handle(GEOM_Object)> thePoints);
|
Standard_EXPORT Handle(GEOM_Object) MakeSplineBezier (std::list<Handle(GEOM_Object)> thePoints);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeSplineInterpolation (list<Handle(GEOM_Object)> thePoints);
|
Standard_EXPORT Handle(GEOM_Object) MakeSplineInterpolation (std::list<Handle(GEOM_Object)> thePoints);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeSketcher (const char* theCommand,
|
Standard_EXPORT Handle(GEOM_Object) MakeSketcher (const char* theCommand,
|
||||||
list<double> theWorkingPlane);
|
std::list<double> theWorkingPlane);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeSketcherOnPlane (const char* theCommand,
|
Standard_EXPORT Handle(GEOM_Object) MakeSketcherOnPlane (const char* theCommand,
|
||||||
Handle(GEOM_Object) theWorkingPlane);
|
Handle(GEOM_Object) theWorkingPlane);
|
||||||
};
|
};
|
||||||
|
@ -24,8 +24,6 @@
|
|||||||
#pragma warning( disable:4786 )
|
#pragma warning( disable:4786 )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include <Standard_Stream.hxx>
|
#include <Standard_Stream.hxx>
|
||||||
|
|
||||||
#include <GEOMImpl_IHealingOperations.hxx>
|
#include <GEOMImpl_IHealingOperations.hxx>
|
||||||
@ -57,6 +55,8 @@ using namespace std;
|
|||||||
#include <Standard_Failure.hxx>
|
#include <Standard_Failure.hxx>
|
||||||
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
|
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#ifndef _GEOMImpl_IHealingOperations_HXX_
|
#ifndef _GEOMImpl_IHealingOperations_HXX_
|
||||||
#define _GEOMImpl_IHealingOperations_HXX_
|
#define _GEOMImpl_IHealingOperations_HXX_
|
||||||
|
|
||||||
@ -44,17 +42,17 @@ class GEOMImpl_IHealingOperations : public GEOM_IOperations {
|
|||||||
const Handle(TColStd_HArray1OfExtendedString)& theValues );
|
const Handle(TColStd_HArray1OfExtendedString)& theValues );
|
||||||
|
|
||||||
// Retrieve default Shape Process parameters (from resource file)
|
// Retrieve default Shape Process parameters (from resource file)
|
||||||
Standard_EXPORT void GetShapeProcessParameters( list<string>& theOperations,
|
Standard_EXPORT void GetShapeProcessParameters( std::list<std::string>& theOperations,
|
||||||
list<string>& theParams,
|
std::list<std::string>& theParams,
|
||||||
list<string>& theValues );
|
std::list<std::string>& theValues );
|
||||||
|
|
||||||
// Retrieve default Shape Process parameters for given operator
|
// Retrieve default Shape Process parameters for given operator
|
||||||
Standard_EXPORT bool GetOperatorParameters( const string theOperation,
|
Standard_EXPORT bool GetOperatorParameters( const std::string theOperation,
|
||||||
list<string>& theParams,
|
std::list<std::string>& theParams,
|
||||||
list<string>& theValues );
|
std::list<std::string>& theValues );
|
||||||
|
|
||||||
// returns all parameters that are valid for the given operation (Shape Process operator)
|
// returns all parameters that are valid for the given operation (Shape Process operator)
|
||||||
Standard_EXPORT static bool GetParameters( const string theOperation, list<string>& theParams );
|
Standard_EXPORT static bool GetParameters( const std::string theOperation, std::list<std::string>& theParams );
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) SuppressFaces( Handle(GEOM_Object) theObject,
|
Standard_EXPORT Handle(GEOM_Object) SuppressFaces( Handle(GEOM_Object) theObject,
|
||||||
const Handle(TColStd_HArray1OfInteger)& theFaces);
|
const Handle(TColStd_HArray1OfInteger)& theFaces);
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include <Standard_Stream.hxx>
|
#include <Standard_Stream.hxx>
|
||||||
|
|
||||||
#include <GEOMImpl_ILocalOperations.hxx>
|
#include <GEOMImpl_ILocalOperations.hxx>
|
||||||
@ -57,6 +55,8 @@ using namespace std;
|
|||||||
#include <Standard_Failure.hxx>
|
#include <Standard_Failure.hxx>
|
||||||
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
|
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
#ifndef _GEOMImpl_ILocalOperations_HXX_
|
#ifndef _GEOMImpl_ILocalOperations_HXX_
|
||||||
#define _GEOMImpl_ILocalOperations_HXX_
|
#define _GEOMImpl_ILocalOperations_HXX_
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "Utils_SALOME_Exception.hxx"
|
#include "Utils_SALOME_Exception.hxx"
|
||||||
#include "GEOM_IOperations.hxx"
|
#include "GEOM_IOperations.hxx"
|
||||||
#include "GEOM_Engine.hxx"
|
#include "GEOM_Engine.hxx"
|
||||||
@ -38,15 +36,15 @@ class GEOMImpl_ILocalOperations : public GEOM_IOperations {
|
|||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeFilletAll (Handle(GEOM_Object) theShape, double theR);
|
Standard_EXPORT Handle(GEOM_Object) MakeFilletAll (Handle(GEOM_Object) theShape, double theR);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeFilletEdges (Handle(GEOM_Object) theShape, double theR,
|
Standard_EXPORT Handle(GEOM_Object) MakeFilletEdges (Handle(GEOM_Object) theShape, double theR,
|
||||||
list<int> theEdges);
|
std::list<int> theEdges);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeFilletEdgesR1R2 (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeFilletEdgesR1R2 (Handle(GEOM_Object) theShape,
|
||||||
double theR1, double theR2,
|
double theR1, double theR2,
|
||||||
list<int> theEdges);
|
std::list<int> theEdges);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeFilletFaces (Handle(GEOM_Object) theShape, double theR,
|
Standard_EXPORT Handle(GEOM_Object) MakeFilletFaces (Handle(GEOM_Object) theShape, double theR,
|
||||||
list<int> theFaces);
|
std::list<int> theFaces);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeFilletFacesR1R2 (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeFilletFacesR1R2 (Handle(GEOM_Object) theShape,
|
||||||
double theR1, double theR2,
|
double theR1, double theR2,
|
||||||
list<int> theFaces);
|
std::list<int> theFaces);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeChamferAll (Handle(GEOM_Object) theShape, double theD);
|
Standard_EXPORT Handle(GEOM_Object) MakeChamferAll (Handle(GEOM_Object) theShape, double theD);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeChamferEdge (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeChamferEdge (Handle(GEOM_Object) theShape,
|
||||||
@ -57,16 +55,16 @@ class GEOMImpl_ILocalOperations : public GEOM_IOperations {
|
|||||||
int theFace1, int theFace2);
|
int theFace1, int theFace2);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeChamferFaces (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeChamferFaces (Handle(GEOM_Object) theShape,
|
||||||
double theD1, double theD2,
|
double theD1, double theD2,
|
||||||
list<int> theFaces);
|
std::list<int> theFaces);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeChamferFacesAD (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeChamferFacesAD (Handle(GEOM_Object) theShape,
|
||||||
double theD, double theAngle,
|
double theD, double theAngle,
|
||||||
list<int> theFaces);
|
std::list<int> theFaces);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeChamferEdges (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeChamferEdges (Handle(GEOM_Object) theShape,
|
||||||
double theD1, double theD2,
|
double theD1, double theD2,
|
||||||
list<int> theEdges);
|
std::list<int> theEdges);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeChamferEdgesAD (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeChamferEdgesAD (Handle(GEOM_Object) theShape,
|
||||||
double theD, double theAngle,
|
double theD, double theAngle,
|
||||||
list<int> theEdges);
|
std::list<int> theEdges);
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeArchimede (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeArchimede (Handle(GEOM_Object) theShape,
|
||||||
double theWeight, double theWaterDensity,
|
double theWeight, double theWaterDensity,
|
||||||
double theMeshingDeflection);
|
double theMeshingDeflection);
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
// Project : SALOME
|
// Project : SALOME
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include <Standard_Stream.hxx>
|
#include <Standard_Stream.hxx>
|
||||||
|
|
||||||
@ -132,6 +131,9 @@ using namespace std;
|
|||||||
#include <BRepClass3d_SolidClassifier.hxx>
|
#include <BRepClass3d_SolidClassifier.hxx>
|
||||||
#include <Precision.hxx>
|
#include <Precision.hxx>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -28,8 +28,6 @@
|
|||||||
#ifndef _GEOMImpl_IShapesOperations_HXX_
|
#ifndef _GEOMImpl_IShapesOperations_HXX_
|
||||||
#define _GEOMImpl_IShapesOperations_HXX_
|
#define _GEOMImpl_IShapesOperations_HXX_
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "GEOM_IOperations.hxx"
|
#include "GEOM_IOperations.hxx"
|
||||||
|
|
||||||
#include "GEOMAlgo_State.hxx"
|
#include "GEOMAlgo_State.hxx"
|
||||||
@ -56,20 +54,20 @@ class GEOMImpl_IShapesOperations : public GEOM_IOperations
|
|||||||
Standard_EXPORT Handle(GEOM_Object) MakeEdge (Handle(GEOM_Object) thePoint1,
|
Standard_EXPORT Handle(GEOM_Object) MakeEdge (Handle(GEOM_Object) thePoint1,
|
||||||
Handle(GEOM_Object) thePoint2);
|
Handle(GEOM_Object) thePoint2);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeWire (list<Handle(GEOM_Object)> theEdgesAndWires);
|
Standard_EXPORT Handle(GEOM_Object) MakeWire (std::list<Handle(GEOM_Object)> theEdgesAndWires);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeFace (Handle(GEOM_Object) theWire, const bool isPlanarWanted);
|
Standard_EXPORT Handle(GEOM_Object) MakeFace (Handle(GEOM_Object) theWire, const bool isPlanarWanted);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeFaceWires (list<Handle(GEOM_Object)> theWires,
|
Standard_EXPORT Handle(GEOM_Object) MakeFaceWires (std::list<Handle(GEOM_Object)> theWires,
|
||||||
const bool isPlanarWanted);
|
const bool isPlanarWanted);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeShell (list<Handle(GEOM_Object)> theShapes);
|
Standard_EXPORT Handle(GEOM_Object) MakeShell (std::list<Handle(GEOM_Object)> theShapes);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeSolidShell (Handle(GEOM_Object) theShell);
|
Standard_EXPORT Handle(GEOM_Object) MakeSolidShell (Handle(GEOM_Object) theShell);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeSolidShells (list<Handle(GEOM_Object)> theShells);
|
Standard_EXPORT Handle(GEOM_Object) MakeSolidShells (std::list<Handle(GEOM_Object)> theShells);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeCompound (list<Handle(GEOM_Object)> theShapes);
|
Standard_EXPORT Handle(GEOM_Object) MakeCompound (std::list<Handle(GEOM_Object)> theShapes);
|
||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeGlueFaces (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeGlueFaces (Handle(GEOM_Object) theShape,
|
||||||
const Standard_Real theTolerance,
|
const Standard_Real theTolerance,
|
||||||
@ -80,7 +78,7 @@ class GEOMImpl_IShapesOperations : public GEOM_IOperations
|
|||||||
|
|
||||||
Standard_EXPORT Handle(GEOM_Object) MakeGlueFacesByList (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(GEOM_Object) MakeGlueFacesByList (Handle(GEOM_Object) theShape,
|
||||||
const Standard_Real theTolerance,
|
const Standard_Real theTolerance,
|
||||||
list<Handle(GEOM_Object)> theFaces,
|
std::list<Handle(GEOM_Object)> theFaces,
|
||||||
const Standard_Boolean doKeepNonSolids);
|
const Standard_Boolean doKeepNonSolids);
|
||||||
|
|
||||||
Standard_EXPORT Handle(TColStd_HSequenceOfTransient) MakeExplode (Handle(GEOM_Object) theShape,
|
Standard_EXPORT Handle(TColStd_HSequenceOfTransient) MakeExplode (Handle(GEOM_Object) theShape,
|
||||||
@ -320,7 +318,7 @@ class GEOMImpl_IShapesOperations : public GEOM_IOperations
|
|||||||
Standard_EXPORT static bool CheckTriangulation (const TopoDS_Shape& theShape);
|
Standard_EXPORT static bool CheckTriangulation (const TopoDS_Shape& theShape);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Handle(GEOM_Object) MakeShape (list<Handle(GEOM_Object)> theShapes,
|
Handle(GEOM_Object) MakeShape (std::list<Handle(GEOM_Object)> theShapes,
|
||||||
const Standard_Integer theObjectType,
|
const Standard_Integer theObjectType,
|
||||||
const Standard_Integer theFunctionType,
|
const Standard_Integer theFunctionType,
|
||||||
const TCollection_AsciiString& theMethodName);
|
const TCollection_AsciiString& theMethodName);
|
||||||
|
@ -51,6 +51,8 @@
|
|||||||
|
|
||||||
#include "SALOMEDS_Tool.hxx"
|
#include "SALOMEDS_Tool.hxx"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
// function : GEOM_Gen_i()
|
// function : GEOM_Gen_i()
|
||||||
// purpose : constructor to be called for servant creation.
|
// purpose : constructor to be called for servant creation.
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
#include <TColStd_HSequenceOfTransient.hxx>
|
#include <TColStd_HSequenceOfTransient.hxx>
|
||||||
#include <TColStd_HArray1OfInteger.hxx>
|
#include <TColStd_HArray1OfInteger.hxx>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#include "GEOM_Engine.hxx"
|
#include "GEOM_Engine.hxx"
|
||||||
#include "GEOM_Object.hxx"
|
#include "GEOM_Object.hxx"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
#include <TColStd_HSequenceOfTransient.hxx>
|
#include <TColStd_HSequenceOfTransient.hxx>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
#include "GEOM_Engine.hxx"
|
#include "GEOM_Engine.hxx"
|
||||||
#include "GEOM_Object.hxx"
|
#include "GEOM_Object.hxx"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
#include <TColStd_HSequenceOfTransient.hxx>
|
#include <TColStd_HSequenceOfTransient.hxx>
|
||||||
#include <TColStd_HArray1OfInteger.hxx>
|
#include <TColStd_HArray1OfInteger.hxx>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -42,6 +42,8 @@
|
|||||||
#pragma warning( disable:4786 )
|
#pragma warning( disable:4786 )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -48,6 +48,8 @@
|
|||||||
#include <TColStd_MapOfInteger.hxx>
|
#include <TColStd_MapOfInteger.hxx>
|
||||||
#include <TColStd_DataMapIteratorOfDataMapOfIntegerInteger.hxx>
|
#include <TColStd_DataMapIteratorOfDataMapOfIntegerInteger.hxx>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
enum { ALL_SUBSHAPES = 0, GET_IN_PLACE, SUBSHAPES_OF_SHAPE2 };
|
enum { ALL_SUBSHAPES = 0, GET_IN_PLACE, SUBSHAPES_OF_SHAPE2 };
|
||||||
|
|
||||||
GroupGUI_GroupDlg::GroupGUI_GroupDlg(Mode mode, GeometryGUI* theGeometryGUI, QWidget* parent)
|
GroupGUI_GroupDlg::GroupGUI_GroupDlg(Mode mode, GeometryGUI* theGeometryGUI, QWidget* parent)
|
||||||
|
@ -31,19 +31,11 @@
|
|||||||
#include <TCollection_AsciiString.hxx>
|
#include <TCollection_AsciiString.hxx>
|
||||||
#include <TopoDS_Shape.hxx>
|
#include <TopoDS_Shape.hxx>
|
||||||
|
|
||||||
#ifdef WNT
|
#ifdef WIN32
|
||||||
#if defined IGESEXPORT_EXPORTS
|
# ifdef IGESEXPORT_EXPORTS
|
||||||
#if defined WIN32
|
|
||||||
# define IGESEXPORT_EXPORT __declspec( dllexport )
|
# define IGESEXPORT_EXPORT __declspec( dllexport )
|
||||||
# else
|
# else
|
||||||
#define IGESEXPORT_EXPORT
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#if defined WIN32
|
|
||||||
# define IGESEXPORT_EXPORT __declspec( dllimport )
|
# define IGESEXPORT_EXPORT __declspec( dllimport )
|
||||||
#else
|
|
||||||
#define IGESEXPORT_EXPORT
|
|
||||||
#endif
|
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define IGESEXPORT_EXPORT
|
# define IGESEXPORT_EXPORT
|
||||||
|
Loading…
Reference in New Issue
Block a user