#ifndef GEOMBase_aWarningDLG_H
#define GEOMBase_aWarningDLG_H
+#include "GEOM_GEOMBase.hxx"
+
#include <qdialog.h>
#include <qwidget.h>
// class : GEOMBase_aWarningDlg
// purpose :
//=================================================================================
-class GEOMBase_aWarningDlg : public QDialog
+class GEOMBASE_EXPORT GEOMBase_aWarningDlg : public QDialog
{
Q_OBJECT
#include <unistd.h>
#endif
+#include <string>
+
#include CORBA_SERVER_HEADER(SALOMEDS)
#include CORBA_SERVER_HEADER(GEOM_Gen)
#define HST_CLIENT_LEN 256
+using namespace std;
+
//=======================================================================
protected:
Handle(SALOME_InteractiveObject) myIO;
TopoDS_Shape myShape;
- string myName;
+ std::string myName;
int myType;
SALOME_View* myViewFrame;
#include <Standard_Failure.hxx>
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
+using namespace std;
+
//=============================================================================
/*!
* constructor:
struct BCError {
BCErrorType error;
- list<int> incriminated;
+ std::list<int> incriminated;
};
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,
- list<BCError>& theErrors);
+ std::list<BCError>& theErrors);
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 GEOMImpl_ICurvesOperations(GEOM_Engine* theEngine, int theDocID);
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,
Handle(GEOM_Object) thePnt2,
Handle(GEOM_Object) thePnt3,
bool theSense);
- Standard_EXPORT Handle(GEOM_Object) MakeSplineBezier (list<Handle(GEOM_Object)> thePoints);
- Standard_EXPORT Handle(GEOM_Object) MakeSplineInterpolation (list<Handle(GEOM_Object)> thePoints);
+ Standard_EXPORT Handle(GEOM_Object) MakeSplineBezier (std::list<Handle(GEOM_Object)> thePoints);
+ Standard_EXPORT Handle(GEOM_Object) MakeSplineInterpolation (std::list<Handle(GEOM_Object)> thePoints);
Standard_EXPORT Handle(GEOM_Object) MakeSketcher (const TCollection_AsciiString& theCommand,
- list<double> theWorkingPlane);
+ std::list<double> theWorkingPlane);
Standard_EXPORT Handle(GEOM_Object) MakeSketcherOnPlane (const TCollection_AsciiString& theCommand,
Handle(GEOM_Object) theWorkingPlane);
};
#include <Standard_Failure.hxx>
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
+using namespace std;
+
//=============================================================================
/*!
const Handle(TColStd_HArray1OfExtendedString)& theValues );
// Retrieve default Shape Process parameters (from resource file)
- Standard_EXPORT void GetShapeProcessParameters( list<string>& theOperations,
- list<string>& theParams,
- list<string>& theValues );
+ Standard_EXPORT void GetShapeProcessParameters( std::list<string>& theOperations,
+ std::list<std::string>& theParams,
+ std::list<std::string>& theValues );
// Retrieve default Shape Process parameters for given operator
- Standard_EXPORT bool GetOperatorParameters( const string theOperation,
- list<string>& theParams,
- list<string>& theValues );
+ Standard_EXPORT bool GetOperatorParameters( const std::string theOperation,
+ std::list<std::string>& theParams,
+ std::list<std::string>& theValues );
// 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 string theOperation, std::list<std::string>& theParams );
Standard_EXPORT Handle(GEOM_Object) SuppressFaces( Handle(GEOM_Object) theObject,
const Handle(TColStd_HArray1OfInteger)& theFaces);
Standard_EXPORT Handle(GEOM_Object) MakeFilletAll (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,
double theR1, double theR2,
- list<int> theEdges);
+ std::list<int> theEdges);
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,
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) MakeChamferEdge (Handle(GEOM_Object) theShape,
int theFace1, int theFace2);
Standard_EXPORT Handle(GEOM_Object) MakeChamferFaces (Handle(GEOM_Object) theShape,
double theD1, double theD2,
- list<int> theFaces);
+ std::list<int> theFaces);
Standard_EXPORT Handle(GEOM_Object) MakeChamferFacesAD (Handle(GEOM_Object) theShape,
double theD, double theAngle,
- list<int> theFaces);
+ std::list<int> theFaces);
Standard_EXPORT Handle(GEOM_Object) MakeChamferEdges (Handle(GEOM_Object) theShape,
double theD1, double theD2,
- list<int> theEdges);
+ std::list<int> theEdges);
Standard_EXPORT Handle(GEOM_Object) MakeChamferEdgesAD (Handle(GEOM_Object) theShape,
double theD, double theAngle,
- list<int> theEdges);
+ std::list<int> theEdges);
Standard_EXPORT Handle(GEOM_Object) MakeArchimede (Handle(GEOM_Object) theShape,
double theWeight, double theWaterDensity,
double theMeshingDeflection);
#include <BRepClass3d_SolidClassifier.hxx>
#include <Precision.hxx>
+using namespace std;
+
//=============================================================================
/*!
* constructor:
Standard_EXPORT Handle(GEOM_Object) MakeEdge (Handle(GEOM_Object) thePoint1,
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) MakeFaceWires (list<Handle(GEOM_Object)> theWires,
+ Standard_EXPORT Handle(GEOM_Object) MakeFaceWires (std::list<Handle(GEOM_Object)> theWires,
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) 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,
const Standard_Real theTolerance,
Standard_EXPORT Handle(GEOM_Object) MakeGlueFacesByList (Handle(GEOM_Object) theShape,
const Standard_Real theTolerance,
- list<Handle(GEOM_Object)> theFaces,
+ std::list<Handle(GEOM_Object)> theFaces,
const Standard_Boolean doKeepNonSolids);
Standard_EXPORT Handle(TColStd_HSequenceOfTransient) MakeExplode (Handle(GEOM_Object) theShape,
Standard_EXPORT static bool CheckTriangulation (const TopoDS_Shape& theShape);
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 theFunctionType,
const TCollection_AsciiString& theMethodName);
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#include "GEOM_IOperations_i.hh"
-
-#include "GEOM_Engine.hxx"
+#include "GEOM_Object.hxx"
+#include "GEOM_IOperations.hxx"
#include "utilities.h"
#include "OpUtil.hxx"
#include "Utils_ExceptHandlers.hxx"
-#include <Standard_Stream.hxx>
#include <TCollection_AsciiString.hxx>
#include <TDF_Tool.hxx>
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-
#ifndef _GEOM_IOperations_i_HeaderFile
#define _GEOM_IOperations_i_HeaderFile
+#include "GEOM_GEOM_I.hxx"
+
#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
-
#include CORBA_SERVER_HEADER(GEOM_Gen)
#include "SALOME_GenericObj_i.hh"
+
#include "GEOM_IOperations.hxx"
#include "GEOM_Object_i.hh"
#include "GEOM_Object.hxx"
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-#include <Standard_Stream.hxx>
+#include "GEOM_Object.hxx"
+#include "GEOMImpl_IShapesOperations.hxx"
#include "GEOM_IShapesOperations_i.hh"
#include "OpUtil.hxx"
#include "Utils_ExceptHandlers.hxx"
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
#include <TColStd_HSequenceOfTransient.hxx>
#include <TColStd_HArray1OfInteger.hxx>
+#include <list>
+
+using namespace std;
+
+//#define GetObjectA GetObject
+
//=============================================================================
/*!
* constructor:
#ifndef _GEOM_IShapesOperations_i_HeaderFile
#define _GEOM_IShapesOperations_i_HeaderFile
-#include "GEOMImpl_Gen.hxx"
+#include "GEOM_GEOM_I.hxx"
#include <SALOMEconfig.h>
-
#include CORBA_SERVER_HEADER(GEOM_Gen)
#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
+#include "GEOMImpl_Gen.hxx"
#include "GEOMImpl_IShapesOperations.hxx"
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-#include <Standard_OStream.hxx>
-
#include <GEOM_Object_i.hh>
-//#include <GEOM_Gen_i.hh>
#include <GEOM_ISubShape.hxx>
#include <GEOMImpl_Types.hxx>
#include <TDF_Label.hxx>
#include <TCollection_AsciiString.hxx>
+#include <Standard_OStream.hxx>
#include <BRepTools_ShapeSet.hxx>
#include <BRepTools.hxx>
#include <TopAbs.hxx>
#include "GEOM_GEOM_I.hxx"
-#include "GEOMImpl_Gen.hxx"
-
#include <SALOMEconfig.h>
-#include CORBA_CLIENT_HEADER(SALOMEDS)
#include CORBA_SERVER_HEADER(GEOM_Gen)
-
+#include CORBA_CLIENT_HEADER(SALOMEDS)
#include "SALOME_GenericObj_i.hh"
+#include "GEOMImpl_Gen.hxx"
#include "GEOM_Object.hxx"
#include <TopoDS_Shape.hxx>
+
class GEOM_I_EXPORT GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public virtual SALOME::GenericObj_i
{
public:
#include <TColStd_IndexedMapOfInteger.hxx>
#include <TColStd_MapOfInteger.hxx>
+#include <string>
+using namespace std;
+
GroupGUI_GroupDlg::GroupGUI_GroupDlg(Mode mode, GeometryGUI* theGeometryGUI, QWidget* parent)
:GEOMBase_Skeleton( theGeometryGUI, parent, "GroupGUI_GroupDlg", false,
#ifndef GEOM_DEVICEACTOR_H
#define GEOM_DEVICEACTOR_H
-
+
+#include "GEOM_OBJECT_defs.hxx"
#include "GEOM_SmartPtr.h"
class vtkPoints;
#include <vtkObject.h>
-class VTK_EXPORT GEOM_DeviceActor: public vtkObject
+class GEOM_OBJECT_EXPORT GEOM_DeviceActor: public vtkObject
{
public:
vtkTypeMacro(GEOM_DeviceActor,vtkObject);
#ifndef GEOM_EDGESOURCE_H
#define GEOM_EDGESOURCE_H
-
+
+#include "GEOM_OBJECT_defs.hxx"
#include "GEOM_DeviceActor.h"
#include <TopoDS_Edge.hxx>
#include <vtkPolyDataSource.h>
-class VTK_EXPORT GEOM_EdgeSource: public vtkPolyDataSource
+class GEOM_OBJECT_EXPORT GEOM_EdgeSource: public vtkPolyDataSource
{
public:
vtkTypeMacro(GEOM_EdgeSource,vtkPolyDataSource);
#ifndef GEOM_FACESOURCE_H
#define GEOM_FACESOURCE_H
+#include "GEOM_OBJECT_defs.hxx"
#include "GEOM_DeviceActor.h"
#include <gp_Pnt.hxx>
typedef GEOM_SmartPtr<GEOM_FaceSource> PFaceSource;
-class VTK_EXPORT GEOM_FaceSource: public vtkPolyDataSource
+class GEOM_OBJECT_EXPORT GEOM_FaceSource: public vtkPolyDataSource
{
public:
vtkTypeMacro(GEOM_FaceSource,vtkPolyDataSource);
#define _GEOM_OBJECT_defs_HXX_
#ifdef WNT
- #if defined OBJECT_EXPORTS
- #if defined WIN32
- #define GEOM_OBJECT_EXPORT __declspec( dllexport )
- #else
- #define GEOM_OBJECT_EXPORT
- #endif
- #else
- #if defined WIN32
- #define GEOM_OBJECT_EXPORT __declspec( dllimport )
- #else
- #define GEOM_OBJECT_EXPORT
- #endif
- #endif
+# if defined GEOM_OBJECT_EXPORTS
+# define GEOM_OBJECT_EXPORT __declspec( dllexport )
+# else
+# define GEOM_OBJECT_EXPORT __declspec( dllimport )
+# endif
#else
- #define GEOM_OBJECT_EXPORT
+# define GEOM_OBJECT_EXPORT
#endif
#endif
#ifndef GEOM_SHADINGFACE_H
#define GEOM_SHADINGFACE_H
-
+
+#include "GEOM_OBJECT_defs.hxx"
#include "GEOM_FaceSource.h"
-class VTK_EXPORT GEOM_ShadingFace: public GEOM_FaceSource
+class GEOM_OBJECT_EXPORT GEOM_ShadingFace: public GEOM_FaceSource
{
public:
vtkTypeMacro(GEOM_ShadingFace,GEOM_FaceSource);
#ifndef GEOM_VERTEXSOURCE_H
#define GEOM_VERTEXSOURCE_H
+#include "GEOM_OBJECT_defs.hxx"
#include "GEOM_DeviceActor.h"
#include <TopoDS_Vertex.hxx>
#include <vtkPolyDataSource.h>
-class VTK_EXPORT GEOM_VertexSource: public vtkPolyDataSource
+class GEOM_OBJECT_EXPORT GEOM_VertexSource: public vtkPolyDataSource
{
public:
vtkTypeMacro(GEOM_VertexSource,vtkPolyDataSource);
#ifndef GEOM_WIREFRAME_FACE_H
#define GEOM_WIREFRAME_FACE_H
+#include "GEOM_OBJECT_defs.hxx"
#include "GEOM_FaceSource.h"
#include <GeomAbs_IsoType.hxx>
#include <vtkPolyDataSource.h>
-class VTK_EXPORT GEOM_WireframeFace: public GEOM_FaceSource
+class GEOM_OBJECT_EXPORT GEOM_WireframeFace: public GEOM_FaceSource
{
public:
vtkTypeMacro(GEOM_WireframeFace,GEOM_FaceSource);