mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 03:52:03 +05:00
first executable version
This commit is contained in:
parent
e0d9c97d8a
commit
61d3ca66fe
@ -29,6 +29,8 @@
|
|||||||
#ifndef GEOMBase_aWarningDLG_H
|
#ifndef GEOMBase_aWarningDLG_H
|
||||||
#define GEOMBase_aWarningDLG_H
|
#define GEOMBase_aWarningDLG_H
|
||||||
|
|
||||||
|
#include "GEOM_GEOMBase.hxx"
|
||||||
|
|
||||||
#include <qdialog.h>
|
#include <qdialog.h>
|
||||||
#include <qwidget.h>
|
#include <qwidget.h>
|
||||||
|
|
||||||
@ -39,7 +41,7 @@ class QPushButton;
|
|||||||
// class : GEOMBase_aWarningDlg
|
// class : GEOMBase_aWarningDlg
|
||||||
// purpose :
|
// purpose :
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
class GEOMBase_aWarningDlg : public QDialog
|
class GEOMBASE_EXPORT GEOMBase_aWarningDlg : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -53,11 +53,15 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include CORBA_SERVER_HEADER(SALOMEDS)
|
#include CORBA_SERVER_HEADER(SALOMEDS)
|
||||||
#include CORBA_SERVER_HEADER(GEOM_Gen)
|
#include CORBA_SERVER_HEADER(GEOM_Gen)
|
||||||
|
|
||||||
#define HST_CLIENT_LEN 256
|
#define HST_CLIENT_LEN 256
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -173,7 +173,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;
|
||||||
|
|
||||||
|
@ -97,6 +97,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:
|
||||||
|
@ -112,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);
|
||||||
|
|
||||||
|
@ -36,7 +36,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 +60,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 TCollection_AsciiString& theCommand,
|
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,
|
Standard_EXPORT Handle(GEOM_Object) MakeSketcherOnPlane (const TCollection_AsciiString& theCommand,
|
||||||
Handle(GEOM_Object) theWorkingPlane);
|
Handle(GEOM_Object) theWorkingPlane);
|
||||||
};
|
};
|
||||||
|
@ -52,6 +52,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;
|
||||||
|
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
|
@ -42,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<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 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);
|
||||||
|
@ -36,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,
|
||||||
@ -55,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);
|
||||||
|
@ -127,6 +127,8 @@
|
|||||||
#include <BRepClass3d_SolidClassifier.hxx>
|
#include <BRepClass3d_SolidClassifier.hxx>
|
||||||
#include <Precision.hxx>
|
#include <Precision.hxx>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -54,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,
|
||||||
@ -78,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,
|
||||||
@ -285,7 +285,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);
|
||||||
|
@ -18,14 +18,13 @@
|
|||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
#include "GEOM_IOperations_i.hh"
|
#include "GEOM_IOperations_i.hh"
|
||||||
|
#include "GEOM_Object.hxx"
|
||||||
#include "GEOM_Engine.hxx"
|
#include "GEOM_IOperations.hxx"
|
||||||
|
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
#include "OpUtil.hxx"
|
#include "OpUtil.hxx"
|
||||||
#include "Utils_ExceptHandlers.hxx"
|
#include "Utils_ExceptHandlers.hxx"
|
||||||
|
|
||||||
#include <Standard_Stream.hxx>
|
|
||||||
#include <TCollection_AsciiString.hxx>
|
#include <TCollection_AsciiString.hxx>
|
||||||
#include <TDF_Tool.hxx>
|
#include <TDF_Tool.hxx>
|
||||||
|
|
||||||
|
@ -17,16 +17,17 @@
|
|||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef _GEOM_IOperations_i_HeaderFile
|
#ifndef _GEOM_IOperations_i_HeaderFile
|
||||||
#define _GEOM_IOperations_i_HeaderFile
|
#define _GEOM_IOperations_i_HeaderFile
|
||||||
|
|
||||||
|
#include "GEOM_GEOM_I.hxx"
|
||||||
|
|
||||||
#include "GEOMImpl_Gen.hxx"
|
#include "GEOMImpl_Gen.hxx"
|
||||||
|
|
||||||
#include <SALOMEconfig.h>
|
#include <SALOMEconfig.h>
|
||||||
|
|
||||||
#include CORBA_SERVER_HEADER(GEOM_Gen)
|
#include CORBA_SERVER_HEADER(GEOM_Gen)
|
||||||
#include "SALOME_GenericObj_i.hh"
|
#include "SALOME_GenericObj_i.hh"
|
||||||
|
|
||||||
#include "GEOM_IOperations.hxx"
|
#include "GEOM_IOperations.hxx"
|
||||||
#include "GEOM_Object_i.hh"
|
#include "GEOM_Object_i.hh"
|
||||||
#include "GEOM_Object.hxx"
|
#include "GEOM_Object.hxx"
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// 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 "GEOM_IShapesOperations_i.hh"
|
||||||
|
|
||||||
@ -25,12 +26,15 @@
|
|||||||
#include "OpUtil.hxx"
|
#include "OpUtil.hxx"
|
||||||
#include "Utils_ExceptHandlers.hxx"
|
#include "Utils_ExceptHandlers.hxx"
|
||||||
|
|
||||||
#include "GEOM_Engine.hxx"
|
|
||||||
#include "GEOM_Object.hxx"
|
|
||||||
|
|
||||||
#include <TColStd_HSequenceOfTransient.hxx>
|
#include <TColStd_HSequenceOfTransient.hxx>
|
||||||
#include <TColStd_HArray1OfInteger.hxx>
|
#include <TColStd_HArray1OfInteger.hxx>
|
||||||
|
|
||||||
|
#include <list>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
//#define GetObjectA GetObject
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* constructor:
|
* constructor:
|
||||||
|
@ -21,13 +21,12 @@
|
|||||||
#ifndef _GEOM_IShapesOperations_i_HeaderFile
|
#ifndef _GEOM_IShapesOperations_i_HeaderFile
|
||||||
#define _GEOM_IShapesOperations_i_HeaderFile
|
#define _GEOM_IShapesOperations_i_HeaderFile
|
||||||
|
|
||||||
#include "GEOMImpl_Gen.hxx"
|
#include "GEOM_GEOM_I.hxx"
|
||||||
|
|
||||||
#include <SALOMEconfig.h>
|
#include <SALOMEconfig.h>
|
||||||
|
|
||||||
#include CORBA_SERVER_HEADER(GEOM_Gen)
|
#include CORBA_SERVER_HEADER(GEOM_Gen)
|
||||||
#include "GEOM_IOperations_i.hh"
|
#include "GEOM_IOperations_i.hh"
|
||||||
#include "GEOM_Object_i.hh"
|
#include "GEOMImpl_Gen.hxx"
|
||||||
|
|
||||||
#include "GEOMImpl_IShapesOperations.hxx"
|
#include "GEOMImpl_IShapesOperations.hxx"
|
||||||
|
|
||||||
|
@ -17,10 +17,7 @@
|
|||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
#include <Standard_OStream.hxx>
|
|
||||||
|
|
||||||
#include <GEOM_Object_i.hh>
|
#include <GEOM_Object_i.hh>
|
||||||
//#include <GEOM_Gen_i.hh>
|
|
||||||
#include <GEOM_ISubShape.hxx>
|
#include <GEOM_ISubShape.hxx>
|
||||||
#include <GEOMImpl_Types.hxx>
|
#include <GEOMImpl_Types.hxx>
|
||||||
|
|
||||||
@ -34,6 +31,7 @@
|
|||||||
#include <TDF_Label.hxx>
|
#include <TDF_Label.hxx>
|
||||||
#include <TCollection_AsciiString.hxx>
|
#include <TCollection_AsciiString.hxx>
|
||||||
|
|
||||||
|
#include <Standard_OStream.hxx>
|
||||||
#include <BRepTools_ShapeSet.hxx>
|
#include <BRepTools_ShapeSet.hxx>
|
||||||
#include <BRepTools.hxx>
|
#include <BRepTools.hxx>
|
||||||
#include <TopAbs.hxx>
|
#include <TopAbs.hxx>
|
||||||
|
@ -23,18 +23,17 @@
|
|||||||
|
|
||||||
#include "GEOM_GEOM_I.hxx"
|
#include "GEOM_GEOM_I.hxx"
|
||||||
|
|
||||||
#include "GEOMImpl_Gen.hxx"
|
|
||||||
|
|
||||||
#include <SALOMEconfig.h>
|
#include <SALOMEconfig.h>
|
||||||
#include CORBA_CLIENT_HEADER(SALOMEDS)
|
|
||||||
#include CORBA_SERVER_HEADER(GEOM_Gen)
|
#include CORBA_SERVER_HEADER(GEOM_Gen)
|
||||||
|
#include CORBA_CLIENT_HEADER(SALOMEDS)
|
||||||
#include "SALOME_GenericObj_i.hh"
|
#include "SALOME_GenericObj_i.hh"
|
||||||
|
|
||||||
|
#include "GEOMImpl_Gen.hxx"
|
||||||
#include "GEOM_Object.hxx"
|
#include "GEOM_Object.hxx"
|
||||||
|
|
||||||
#include <TopoDS_Shape.hxx>
|
#include <TopoDS_Shape.hxx>
|
||||||
|
|
||||||
|
|
||||||
class GEOM_I_EXPORT GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public virtual SALOME::GenericObj_i
|
class GEOM_I_EXPORT GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public virtual SALOME::GenericObj_i
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -46,6 +46,9 @@
|
|||||||
#include <TColStd_IndexedMapOfInteger.hxx>
|
#include <TColStd_IndexedMapOfInteger.hxx>
|
||||||
#include <TColStd_MapOfInteger.hxx>
|
#include <TColStd_MapOfInteger.hxx>
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
GroupGUI_GroupDlg::GroupGUI_GroupDlg(Mode mode, GeometryGUI* theGeometryGUI, QWidget* parent)
|
GroupGUI_GroupDlg::GroupGUI_GroupDlg(Mode mode, GeometryGUI* theGeometryGUI, QWidget* parent)
|
||||||
:GEOMBase_Skeleton( theGeometryGUI, parent, "GroupGUI_GroupDlg", false,
|
:GEOMBase_Skeleton( theGeometryGUI, parent, "GroupGUI_GroupDlg", false,
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#ifndef GEOM_DEVICEACTOR_H
|
#ifndef GEOM_DEVICEACTOR_H
|
||||||
#define GEOM_DEVICEACTOR_H
|
#define GEOM_DEVICEACTOR_H
|
||||||
|
|
||||||
|
#include "GEOM_OBJECT_defs.hxx"
|
||||||
#include "GEOM_SmartPtr.h"
|
#include "GEOM_SmartPtr.h"
|
||||||
|
|
||||||
class vtkPoints;
|
class vtkPoints;
|
||||||
@ -24,7 +25,7 @@ class vtkRenderer;
|
|||||||
#include <vtkObject.h>
|
#include <vtkObject.h>
|
||||||
|
|
||||||
|
|
||||||
class VTK_EXPORT GEOM_DeviceActor: public vtkObject
|
class GEOM_OBJECT_EXPORT GEOM_DeviceActor: public vtkObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
vtkTypeMacro(GEOM_DeviceActor,vtkObject);
|
vtkTypeMacro(GEOM_DeviceActor,vtkObject);
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#ifndef GEOM_EDGESOURCE_H
|
#ifndef GEOM_EDGESOURCE_H
|
||||||
#define GEOM_EDGESOURCE_H
|
#define GEOM_EDGESOURCE_H
|
||||||
|
|
||||||
|
#include "GEOM_OBJECT_defs.hxx"
|
||||||
#include "GEOM_DeviceActor.h"
|
#include "GEOM_DeviceActor.h"
|
||||||
|
|
||||||
#include <TopoDS_Edge.hxx>
|
#include <TopoDS_Edge.hxx>
|
||||||
@ -11,7 +12,7 @@ typedef NCollection_Set<TopoDS_Edge> TEdgeSet;
|
|||||||
#include <vtkPolyDataSource.h>
|
#include <vtkPolyDataSource.h>
|
||||||
|
|
||||||
|
|
||||||
class VTK_EXPORT GEOM_EdgeSource: public vtkPolyDataSource
|
class GEOM_OBJECT_EXPORT GEOM_EdgeSource: public vtkPolyDataSource
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
vtkTypeMacro(GEOM_EdgeSource,vtkPolyDataSource);
|
vtkTypeMacro(GEOM_EdgeSource,vtkPolyDataSource);
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#ifndef GEOM_FACESOURCE_H
|
#ifndef GEOM_FACESOURCE_H
|
||||||
#define GEOM_FACESOURCE_H
|
#define GEOM_FACESOURCE_H
|
||||||
|
|
||||||
|
#include "GEOM_OBJECT_defs.hxx"
|
||||||
#include "GEOM_DeviceActor.h"
|
#include "GEOM_DeviceActor.h"
|
||||||
|
|
||||||
#include <gp_Pnt.hxx>
|
#include <gp_Pnt.hxx>
|
||||||
@ -15,7 +16,7 @@ class GEOM_FaceSource;
|
|||||||
typedef GEOM_SmartPtr<GEOM_FaceSource> PFaceSource;
|
typedef GEOM_SmartPtr<GEOM_FaceSource> PFaceSource;
|
||||||
|
|
||||||
|
|
||||||
class VTK_EXPORT GEOM_FaceSource: public vtkPolyDataSource
|
class GEOM_OBJECT_EXPORT GEOM_FaceSource: public vtkPolyDataSource
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
vtkTypeMacro(GEOM_FaceSource,vtkPolyDataSource);
|
vtkTypeMacro(GEOM_FaceSource,vtkPolyDataSource);
|
||||||
|
@ -27,21 +27,13 @@
|
|||||||
#define _GEOM_OBJECT_defs_HXX_
|
#define _GEOM_OBJECT_defs_HXX_
|
||||||
|
|
||||||
#ifdef WNT
|
#ifdef WNT
|
||||||
#if defined OBJECT_EXPORTS
|
# if defined GEOM_OBJECT_EXPORTS
|
||||||
#if defined WIN32
|
# define GEOM_OBJECT_EXPORT __declspec( dllexport )
|
||||||
#define GEOM_OBJECT_EXPORT __declspec( dllexport )
|
# else
|
||||||
#else
|
# define GEOM_OBJECT_EXPORT __declspec( dllimport )
|
||||||
#define GEOM_OBJECT_EXPORT
|
# endif
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#if defined WIN32
|
|
||||||
#define GEOM_OBJECT_EXPORT __declspec( dllimport )
|
|
||||||
#else
|
|
||||||
#define GEOM_OBJECT_EXPORT
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
#define GEOM_OBJECT_EXPORT
|
# define GEOM_OBJECT_EXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
#ifndef GEOM_SHADINGFACE_H
|
#ifndef GEOM_SHADINGFACE_H
|
||||||
#define GEOM_SHADINGFACE_H
|
#define GEOM_SHADINGFACE_H
|
||||||
|
|
||||||
|
#include "GEOM_OBJECT_defs.hxx"
|
||||||
#include "GEOM_FaceSource.h"
|
#include "GEOM_FaceSource.h"
|
||||||
|
|
||||||
|
|
||||||
class VTK_EXPORT GEOM_ShadingFace: public GEOM_FaceSource
|
class GEOM_OBJECT_EXPORT GEOM_ShadingFace: public GEOM_FaceSource
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
vtkTypeMacro(GEOM_ShadingFace,GEOM_FaceSource);
|
vtkTypeMacro(GEOM_ShadingFace,GEOM_FaceSource);
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#ifndef GEOM_VERTEXSOURCE_H
|
#ifndef GEOM_VERTEXSOURCE_H
|
||||||
#define GEOM_VERTEXSOURCE_H
|
#define GEOM_VERTEXSOURCE_H
|
||||||
|
|
||||||
|
#include "GEOM_OBJECT_defs.hxx"
|
||||||
#include "GEOM_DeviceActor.h"
|
#include "GEOM_DeviceActor.h"
|
||||||
|
|
||||||
#include <TopoDS_Vertex.hxx>
|
#include <TopoDS_Vertex.hxx>
|
||||||
@ -11,7 +12,7 @@ typedef NCollection_Set<TopoDS_Vertex> TVertexSet;
|
|||||||
#include <vtkPolyDataSource.h>
|
#include <vtkPolyDataSource.h>
|
||||||
|
|
||||||
|
|
||||||
class VTK_EXPORT GEOM_VertexSource: public vtkPolyDataSource
|
class GEOM_OBJECT_EXPORT GEOM_VertexSource: public vtkPolyDataSource
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
vtkTypeMacro(GEOM_VertexSource,vtkPolyDataSource);
|
vtkTypeMacro(GEOM_VertexSource,vtkPolyDataSource);
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#ifndef GEOM_WIREFRAME_FACE_H
|
#ifndef GEOM_WIREFRAME_FACE_H
|
||||||
#define GEOM_WIREFRAME_FACE_H
|
#define GEOM_WIREFRAME_FACE_H
|
||||||
|
|
||||||
|
#include "GEOM_OBJECT_defs.hxx"
|
||||||
#include "GEOM_FaceSource.h"
|
#include "GEOM_FaceSource.h"
|
||||||
|
|
||||||
#include <GeomAbs_IsoType.hxx>
|
#include <GeomAbs_IsoType.hxx>
|
||||||
@ -9,7 +10,7 @@
|
|||||||
#include <vtkPolyDataSource.h>
|
#include <vtkPolyDataSource.h>
|
||||||
|
|
||||||
|
|
||||||
class VTK_EXPORT GEOM_WireframeFace: public GEOM_FaceSource
|
class GEOM_OBJECT_EXPORT GEOM_WireframeFace: public GEOM_FaceSource
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
vtkTypeMacro(GEOM_WireframeFace,GEOM_FaceSource);
|
vtkTypeMacro(GEOM_WireframeFace,GEOM_FaceSource);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user