mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
First executable version
This commit is contained in:
parent
bc005fd06a
commit
4a90225df0
@ -35,6 +35,16 @@
|
|||||||
|
|
||||||
#include "SMESH_Controls.hxx"
|
#include "SMESH_Controls.hxx"
|
||||||
|
|
||||||
|
#ifdef WNT
|
||||||
|
#if defined SMESHCONTROLS_EXPORTS
|
||||||
|
#define SMESHCONTROLS_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define SMESHCONTROLS_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define SMESHCONTROLS_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
class SMDS_MeshElement;
|
class SMDS_MeshElement;
|
||||||
class SMDS_MeshFace;
|
class SMDS_MeshFace;
|
||||||
class SMDS_MeshNode;
|
class SMDS_MeshNode;
|
||||||
@ -46,11 +56,10 @@ class SMESHDS_SubMesh;
|
|||||||
class gp_Pnt;
|
class gp_Pnt;
|
||||||
class TopoDS_Shape;
|
class TopoDS_Shape;
|
||||||
|
|
||||||
|
|
||||||
namespace SMESH{
|
namespace SMESH{
|
||||||
namespace Controls{
|
namespace Controls{
|
||||||
|
|
||||||
class TSequenceOfXYZ: public std::vector<gp_XYZ>
|
class SMESHCONTROLS_EXPORT TSequenceOfXYZ: public std::vector<gp_XYZ>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef std::vector<gp_XYZ> TSuperClass;
|
typedef std::vector<gp_XYZ> TSuperClass;
|
||||||
@ -97,7 +106,7 @@ namespace SMESH{
|
|||||||
Class : Functor
|
Class : Functor
|
||||||
Description : Root of all Functors
|
Description : Root of all Functors
|
||||||
*/
|
*/
|
||||||
class Functor
|
class SMESHCONTROLS_EXPORT Functor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
~Functor(){}
|
~Functor(){}
|
||||||
@ -109,7 +118,7 @@ namespace SMESH{
|
|||||||
Class : NumericalFunctor
|
Class : NumericalFunctor
|
||||||
Description : Root of all Functors returning numeric value
|
Description : Root of all Functors returning numeric value
|
||||||
*/
|
*/
|
||||||
class NumericalFunctor: public virtual Functor{
|
class SMESHCONTROLS_EXPORT NumericalFunctor: public virtual Functor{
|
||||||
public:
|
public:
|
||||||
NumericalFunctor();
|
NumericalFunctor();
|
||||||
virtual void SetMesh( const SMDS_Mesh* theMesh );
|
virtual void SetMesh( const SMDS_Mesh* theMesh );
|
||||||
@ -134,7 +143,7 @@ namespace SMESH{
|
|||||||
Class : Volume
|
Class : Volume
|
||||||
Description : Functor calculating volume of 3D mesh element
|
Description : Functor calculating volume of 3D mesh element
|
||||||
*/
|
*/
|
||||||
class Volume: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT Volume: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( long theElementId );
|
virtual double GetValue( long theElementId );
|
||||||
//virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
//virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
@ -147,7 +156,7 @@ namespace SMESH{
|
|||||||
Class : SMESH_MinimumAngle
|
Class : SMESH_MinimumAngle
|
||||||
Description : Functor for calculation of minimum angle
|
Description : Functor for calculation of minimum angle
|
||||||
*/
|
*/
|
||||||
class MinimumAngle: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT MinimumAngle: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
virtual double GetBadRate( double Value, int nbNodes ) const;
|
virtual double GetBadRate( double Value, int nbNodes ) const;
|
||||||
@ -159,7 +168,7 @@ namespace SMESH{
|
|||||||
Class : AspectRatio
|
Class : AspectRatio
|
||||||
Description : Functor for calculating aspect ratio
|
Description : Functor for calculating aspect ratio
|
||||||
*/
|
*/
|
||||||
class AspectRatio: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT AspectRatio: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
virtual double GetBadRate( double Value, int nbNodes ) const;
|
virtual double GetBadRate( double Value, int nbNodes ) const;
|
||||||
@ -171,7 +180,7 @@ namespace SMESH{
|
|||||||
Class : AspectRatio3D
|
Class : AspectRatio3D
|
||||||
Description : Functor for calculating aspect ratio of 3D elems.
|
Description : Functor for calculating aspect ratio of 3D elems.
|
||||||
*/
|
*/
|
||||||
class AspectRatio3D: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT AspectRatio3D: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
virtual double GetBadRate( double Value, int nbNodes ) const;
|
virtual double GetBadRate( double Value, int nbNodes ) const;
|
||||||
@ -183,7 +192,7 @@ namespace SMESH{
|
|||||||
Class : Warping
|
Class : Warping
|
||||||
Description : Functor for calculating warping
|
Description : Functor for calculating warping
|
||||||
*/
|
*/
|
||||||
class Warping: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT Warping: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
virtual double GetBadRate( double Value, int nbNodes ) const;
|
virtual double GetBadRate( double Value, int nbNodes ) const;
|
||||||
@ -198,7 +207,7 @@ namespace SMESH{
|
|||||||
Class : Taper
|
Class : Taper
|
||||||
Description : Functor for calculating taper
|
Description : Functor for calculating taper
|
||||||
*/
|
*/
|
||||||
class Taper: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT Taper: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
virtual double GetBadRate( double Value, int nbNodes ) const;
|
virtual double GetBadRate( double Value, int nbNodes ) const;
|
||||||
@ -210,7 +219,7 @@ namespace SMESH{
|
|||||||
Class : Skew
|
Class : Skew
|
||||||
Description : Functor for calculating skew in degrees
|
Description : Functor for calculating skew in degrees
|
||||||
*/
|
*/
|
||||||
class Skew: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT Skew: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
virtual double GetBadRate( double Value, int nbNodes ) const;
|
virtual double GetBadRate( double Value, int nbNodes ) const;
|
||||||
@ -222,7 +231,7 @@ namespace SMESH{
|
|||||||
Class : Area
|
Class : Area
|
||||||
Description : Functor for calculating area
|
Description : Functor for calculating area
|
||||||
*/
|
*/
|
||||||
class Area: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT Area: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
virtual double GetBadRate( double Value, int nbNodes ) const;
|
virtual double GetBadRate( double Value, int nbNodes ) const;
|
||||||
@ -234,7 +243,7 @@ namespace SMESH{
|
|||||||
Class : Length
|
Class : Length
|
||||||
Description : Functor for calculating length of edge
|
Description : Functor for calculating length of edge
|
||||||
*/
|
*/
|
||||||
class Length: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT Length: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
virtual double GetBadRate( double Value, int nbNodes ) const;
|
virtual double GetBadRate( double Value, int nbNodes ) const;
|
||||||
@ -245,7 +254,7 @@ namespace SMESH{
|
|||||||
Class : Length2D
|
Class : Length2D
|
||||||
Description : Functor for calculating length of edge
|
Description : Functor for calculating length of edge
|
||||||
*/
|
*/
|
||||||
class Length2D: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT Length2D: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( long theElementId );
|
virtual double GetValue( long theElementId );
|
||||||
virtual double GetBadRate( double Value, int nbNodes ) const;
|
virtual double GetBadRate( double Value, int nbNodes ) const;
|
||||||
@ -266,7 +275,7 @@ namespace SMESH{
|
|||||||
Class : MultiConnection
|
Class : MultiConnection
|
||||||
Description : Functor for calculating number of faces conneted to the edge
|
Description : Functor for calculating number of faces conneted to the edge
|
||||||
*/
|
*/
|
||||||
class MultiConnection: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT MultiConnection: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( long theElementId );
|
virtual double GetValue( long theElementId );
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
@ -278,7 +287,7 @@ namespace SMESH{
|
|||||||
Class : MultiConnection2D
|
Class : MultiConnection2D
|
||||||
Description : Functor for calculating number of faces conneted to the edge
|
Description : Functor for calculating number of faces conneted to the edge
|
||||||
*/
|
*/
|
||||||
class MultiConnection2D: public virtual NumericalFunctor{
|
class SMESHCONTROLS_EXPORT MultiConnection2D: public virtual NumericalFunctor{
|
||||||
public:
|
public:
|
||||||
virtual double GetValue( long theElementId );
|
virtual double GetValue( long theElementId );
|
||||||
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
virtual double GetValue( const TSequenceOfXYZ& thePoints );
|
||||||
@ -301,7 +310,7 @@ namespace SMESH{
|
|||||||
Class : Predicate
|
Class : Predicate
|
||||||
Description : Base class for all predicates
|
Description : Base class for all predicates
|
||||||
*/
|
*/
|
||||||
class Predicate: public virtual Functor{
|
class SMESHCONTROLS_EXPORT Predicate: public virtual Functor{
|
||||||
public:
|
public:
|
||||||
virtual bool IsSatisfy( long theElementId ) = 0;
|
virtual bool IsSatisfy( long theElementId ) = 0;
|
||||||
virtual SMDSAbs_ElementType GetType() const = 0;
|
virtual SMDSAbs_ElementType GetType() const = 0;
|
||||||
@ -313,7 +322,7 @@ namespace SMESH{
|
|||||||
Class : FreeBorders
|
Class : FreeBorders
|
||||||
Description : Predicate for free borders
|
Description : Predicate for free borders
|
||||||
*/
|
*/
|
||||||
class FreeBorders: public virtual Predicate{
|
class SMESHCONTROLS_EXPORT FreeBorders: public virtual Predicate{
|
||||||
public:
|
public:
|
||||||
FreeBorders();
|
FreeBorders();
|
||||||
virtual void SetMesh( const SMDS_Mesh* theMesh );
|
virtual void SetMesh( const SMDS_Mesh* theMesh );
|
||||||
@ -329,7 +338,7 @@ namespace SMESH{
|
|||||||
Class : BadOrientedVolume
|
Class : BadOrientedVolume
|
||||||
Description : Predicate bad oriented volumes
|
Description : Predicate bad oriented volumes
|
||||||
*/
|
*/
|
||||||
class BadOrientedVolume: public virtual Predicate{
|
class SMESHCONTROLS_EXPORT BadOrientedVolume: public virtual Predicate{
|
||||||
public:
|
public:
|
||||||
BadOrientedVolume();
|
BadOrientedVolume();
|
||||||
virtual void SetMesh( const SMDS_Mesh* theMesh );
|
virtual void SetMesh( const SMDS_Mesh* theMesh );
|
||||||
@ -345,7 +354,7 @@ namespace SMESH{
|
|||||||
Class : FreeEdges
|
Class : FreeEdges
|
||||||
Description : Predicate for free Edges
|
Description : Predicate for free Edges
|
||||||
*/
|
*/
|
||||||
class FreeEdges: public virtual Predicate{
|
class SMESHCONTROLS_EXPORT FreeEdges: public virtual Predicate{
|
||||||
public:
|
public:
|
||||||
FreeEdges();
|
FreeEdges();
|
||||||
virtual void SetMesh( const SMDS_Mesh* theMesh );
|
virtual void SetMesh( const SMDS_Mesh* theMesh );
|
||||||
@ -376,7 +385,7 @@ namespace SMESH{
|
|||||||
2. With SetRangeStr method. Parameter of this method is a string
|
2. With SetRangeStr method. Parameter of this method is a string
|
||||||
like as "1,2,3,50-60,63,67,70-"
|
like as "1,2,3,50-60,63,67,70-"
|
||||||
*/
|
*/
|
||||||
class RangeOfIds: public virtual Predicate
|
class SMESHCONTROLS_EXPORT RangeOfIds: public virtual Predicate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RangeOfIds();
|
RangeOfIds();
|
||||||
@ -406,7 +415,7 @@ namespace SMESH{
|
|||||||
Class : Comparator
|
Class : Comparator
|
||||||
Description : Base class for comparators
|
Description : Base class for comparators
|
||||||
*/
|
*/
|
||||||
class Comparator: public virtual Predicate{
|
class SMESHCONTROLS_EXPORT Comparator: public virtual Predicate{
|
||||||
public:
|
public:
|
||||||
Comparator();
|
Comparator();
|
||||||
virtual ~Comparator();
|
virtual ~Comparator();
|
||||||
@ -428,7 +437,7 @@ namespace SMESH{
|
|||||||
Class : LessThan
|
Class : LessThan
|
||||||
Description : Comparator "<"
|
Description : Comparator "<"
|
||||||
*/
|
*/
|
||||||
class LessThan: public virtual Comparator{
|
class SMESHCONTROLS_EXPORT LessThan: public virtual Comparator{
|
||||||
public:
|
public:
|
||||||
virtual bool IsSatisfy( long theElementId );
|
virtual bool IsSatisfy( long theElementId );
|
||||||
};
|
};
|
||||||
@ -438,7 +447,7 @@ namespace SMESH{
|
|||||||
Class : MoreThan
|
Class : MoreThan
|
||||||
Description : Comparator ">"
|
Description : Comparator ">"
|
||||||
*/
|
*/
|
||||||
class MoreThan: public virtual Comparator{
|
class SMESHCONTROLS_EXPORT MoreThan: public virtual Comparator{
|
||||||
public:
|
public:
|
||||||
virtual bool IsSatisfy( long theElementId );
|
virtual bool IsSatisfy( long theElementId );
|
||||||
};
|
};
|
||||||
@ -448,7 +457,7 @@ namespace SMESH{
|
|||||||
Class : EqualTo
|
Class : EqualTo
|
||||||
Description : Comparator "="
|
Description : Comparator "="
|
||||||
*/
|
*/
|
||||||
class EqualTo: public virtual Comparator{
|
class SMESHCONTROLS_EXPORT EqualTo: public virtual Comparator{
|
||||||
public:
|
public:
|
||||||
EqualTo();
|
EqualTo();
|
||||||
virtual bool IsSatisfy( long theElementId );
|
virtual bool IsSatisfy( long theElementId );
|
||||||
@ -465,7 +474,7 @@ namespace SMESH{
|
|||||||
Class : LogicalNOT
|
Class : LogicalNOT
|
||||||
Description : Logical NOT predicate
|
Description : Logical NOT predicate
|
||||||
*/
|
*/
|
||||||
class LogicalNOT: public virtual Predicate{
|
class SMESHCONTROLS_EXPORT LogicalNOT: public virtual Predicate{
|
||||||
public:
|
public:
|
||||||
LogicalNOT();
|
LogicalNOT();
|
||||||
virtual ~LogicalNOT();
|
virtual ~LogicalNOT();
|
||||||
@ -484,7 +493,7 @@ namespace SMESH{
|
|||||||
Class : LogicalBinary
|
Class : LogicalBinary
|
||||||
Description : Base class for binary logical predicate
|
Description : Base class for binary logical predicate
|
||||||
*/
|
*/
|
||||||
class LogicalBinary: public virtual Predicate{
|
class SMESHCONTROLS_EXPORT LogicalBinary: public virtual Predicate{
|
||||||
public:
|
public:
|
||||||
LogicalBinary();
|
LogicalBinary();
|
||||||
virtual ~LogicalBinary();
|
virtual ~LogicalBinary();
|
||||||
@ -504,7 +513,7 @@ namespace SMESH{
|
|||||||
Class : LogicalAND
|
Class : LogicalAND
|
||||||
Description : Logical AND
|
Description : Logical AND
|
||||||
*/
|
*/
|
||||||
class LogicalAND: public virtual LogicalBinary{
|
class SMESHCONTROLS_EXPORT LogicalAND: public virtual LogicalBinary{
|
||||||
public:
|
public:
|
||||||
virtual bool IsSatisfy( long theElementId );
|
virtual bool IsSatisfy( long theElementId );
|
||||||
};
|
};
|
||||||
@ -514,7 +523,7 @@ namespace SMESH{
|
|||||||
Class : LogicalOR
|
Class : LogicalOR
|
||||||
Description : Logical OR
|
Description : Logical OR
|
||||||
*/
|
*/
|
||||||
class LogicalOR: public virtual LogicalBinary{
|
class SMESHCONTROLS_EXPORT LogicalOR: public virtual LogicalBinary{
|
||||||
public:
|
public:
|
||||||
virtual bool IsSatisfy( long theElementId );
|
virtual bool IsSatisfy( long theElementId );
|
||||||
};
|
};
|
||||||
@ -524,7 +533,7 @@ namespace SMESH{
|
|||||||
Class : ManifoldPart
|
Class : ManifoldPart
|
||||||
Description : Predicate for manifold part of mesh
|
Description : Predicate for manifold part of mesh
|
||||||
*/
|
*/
|
||||||
class ManifoldPart: public virtual Predicate{
|
class SMESHCONTROLS_EXPORT ManifoldPart: public virtual Predicate{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/* internal class for algorithm uses */
|
/* internal class for algorithm uses */
|
||||||
@ -599,7 +608,7 @@ namespace SMESH{
|
|||||||
Description : Predicate elements that lying on indicated surface
|
Description : Predicate elements that lying on indicated surface
|
||||||
(plane or cylinder)
|
(plane or cylinder)
|
||||||
*/
|
*/
|
||||||
class ElementsOnSurface : public virtual Predicate {
|
class SMESHCONTROLS_EXPORT ElementsOnSurface : public virtual Predicate {
|
||||||
public:
|
public:
|
||||||
ElementsOnSurface();
|
ElementsOnSurface();
|
||||||
~ElementsOnSurface();
|
~ElementsOnSurface();
|
||||||
@ -631,7 +640,7 @@ namespace SMESH{
|
|||||||
/*
|
/*
|
||||||
FILTER
|
FILTER
|
||||||
*/
|
*/
|
||||||
class Filter{
|
class SMESHCONTROLS_EXPORT Filter{
|
||||||
public:
|
public:
|
||||||
Filter();
|
Filter();
|
||||||
virtual ~Filter();
|
virtual ~Filter();
|
||||||
|
@ -20,11 +20,13 @@
|
|||||||
#ifndef _INCLUDE_DRIVER_DOCUMENT
|
#ifndef _INCLUDE_DRIVER_DOCUMENT
|
||||||
#define _INCLUDE_DRIVER_DOCUMENT
|
#define _INCLUDE_DRIVER_DOCUMENT
|
||||||
|
|
||||||
|
#include "Driver_Mesh.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
class SMESHDS_Document;
|
class SMESHDS_Document;
|
||||||
|
|
||||||
class Driver_Document
|
class MESHDRIVER_EXPORT Driver_Document
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Driver_Document();
|
Driver_Document();
|
||||||
|
@ -29,13 +29,17 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined DRIVER_EXPORTS
|
#ifdef WNT
|
||||||
#define DRIVER_WNT_EXPORT __declspec( dllexport )
|
#if defined MESHDRIVER_EXPORTS
|
||||||
|
#define MESHDRIVER_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define MESHDRIVER_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define DRIVER_WNT_EXPORT
|
#define MESHDRIVER_EXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class DRIVER_WNT_EXPORT Driver_Mesh
|
class MESHDRIVER_EXPORT Driver_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Driver_Mesh();
|
Driver_Mesh();
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
class SMDS_Mesh;
|
class SMDS_Mesh;
|
||||||
|
|
||||||
class Driver_SMDS_Mesh: public Driver_Mesh
|
class MESHDRIVER_EXPORT Driver_SMDS_Mesh: public Driver_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Driver_SMDS_Mesh();
|
Driver_SMDS_Mesh();
|
||||||
|
@ -24,13 +24,7 @@
|
|||||||
|
|
||||||
class SMESHDS_Mesh;
|
class SMESHDS_Mesh;
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined DRIVER_EXPORTS
|
class MESHDRIVER_EXPORT Driver_SMESHDS_Mesh: public Driver_Mesh
|
||||||
#define DRIVER_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define DRIVER_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class DRIVER_WNT_EXPORT Driver_SMESHDS_Mesh: public Driver_Mesh
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Driver_SMESHDS_Mesh();
|
Driver_SMESHDS_Mesh();
|
||||||
@ -38,7 +32,6 @@ class DRIVER_WNT_EXPORT Driver_SMESHDS_Mesh: public Driver_Mesh
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
SMESHDS_Mesh *myMesh;
|
SMESHDS_Mesh *myMesh;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERDAT_R_SMDS_MESH
|
#ifndef _INCLUDE_DRIVERDAT_R_SMDS_MESH
|
||||||
#define _INCLUDE_DRIVERDAT_R_SMDS_MESH
|
#define _INCLUDE_DRIVERDAT_R_SMDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverDAT.hxx"
|
||||||
|
|
||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
|
|
||||||
class DriverDAT_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
class MESHDRIVERDAT_EXPORT DriverDAT_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual Status Perform();
|
virtual Status Perform();
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERDAT_R_SMESHDS_DOCUMENT
|
#ifndef _INCLUDE_DRIVERDAT_R_SMESHDS_DOCUMENT
|
||||||
#define _INCLUDE_DRIVERDAT_R_SMESHDS_DOCUMENT
|
#define _INCLUDE_DRIVERDAT_R_SMESHDS_DOCUMENT
|
||||||
|
|
||||||
|
#include "SMESH_DriverDAT.hxx"
|
||||||
|
|
||||||
#include "Driver_Document.h"
|
#include "Driver_Document.h"
|
||||||
|
|
||||||
class DriverDAT_R_SMESHDS_Document : public Driver_Document
|
class MESHDRIVERDAT_EXPORT DriverDAT_R_SMESHDS_Document : public Driver_Document
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERDAT_R_SMESHDS_MESH
|
#ifndef _INCLUDE_DRIVERDAT_R_SMESHDS_MESH
|
||||||
#define _INCLUDE_DRIVERDAT_R_SMESHDS_MESH
|
#define _INCLUDE_DRIVERDAT_R_SMESHDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverDAT.hxx"
|
||||||
|
|
||||||
#include "Driver_SMESHDS_Mesh.h"
|
#include "Driver_SMESHDS_Mesh.h"
|
||||||
|
|
||||||
class DriverDAT_R_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
class MESHDRIVERDAT_EXPORT DriverDAT_R_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -27,9 +27,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERDAT_W_SMDS_MESH
|
#ifndef _INCLUDE_DRIVERDAT_W_SMDS_MESH
|
||||||
#define _INCLUDE_DRIVERDAT_W_SMDS_MESH
|
#define _INCLUDE_DRIVERDAT_W_SMDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverDAT.hxx"
|
||||||
|
|
||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
|
|
||||||
class DriverDAT_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
class MESHDRIVERDAT_EXPORT DriverDAT_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual Status Perform();
|
virtual Status Perform();
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERDAT_W_SMESHDS_DOCUMENT
|
#ifndef _INCLUDE_DRIVERDAT_W_SMESHDS_DOCUMENT
|
||||||
#define _INCLUDE_DRIVERDAT_W_SMESHDS_DOCUMENT
|
#define _INCLUDE_DRIVERDAT_W_SMESHDS_DOCUMENT
|
||||||
|
|
||||||
|
#include "SMESH_DriverDAT.hxx"
|
||||||
|
|
||||||
#include "Driver_Document.h"
|
#include "Driver_Document.h"
|
||||||
|
|
||||||
class DriverDAT_W_SMESHDS_Document: public Driver_Document
|
class MESHDRIVERDAT_EXPORT DriverDAT_W_SMESHDS_Document: public Driver_Document
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -27,9 +27,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERDAT_W_SMESHDS_MESH
|
#ifndef _INCLUDE_DRIVERDAT_W_SMESHDS_MESH
|
||||||
#define _INCLUDE_DRIVERDAT_W_SMESHDS_MESH
|
#define _INCLUDE_DRIVERDAT_W_SMESHDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverDAT.hxx"
|
||||||
|
|
||||||
#include "Driver_SMESHDS_Mesh.h"
|
#include "Driver_SMESHDS_Mesh.h"
|
||||||
|
|
||||||
class DriverDAT_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
class MESHDRIVERDAT_EXPORT DriverDAT_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -35,7 +35,7 @@ VPATH=.:@srcdir@
|
|||||||
@COMMENCE@
|
@COMMENCE@
|
||||||
|
|
||||||
# header files
|
# header files
|
||||||
EXPORT_HEADERS= DriverDAT_R_SMDS_Mesh.h DriverDAT_R_SMESHDS_Mesh.h DriverDAT_R_SMESHDS_Document.h DriverDAT_W_SMDS_Mesh.h DriverDAT_W_SMESHDS_Mesh.h DriverDAT_W_SMESHDS_Document.h
|
EXPORT_HEADERS= DriverDAT_R_SMDS_Mesh.h DriverDAT_R_SMESHDS_Mesh.h DriverDAT_R_SMESHDS_Document.h DriverDAT_W_SMDS_Mesh.h DriverDAT_W_SMESHDS_Mesh.h DriverDAT_W_SMESHDS_Document.h SMESH_DriverDAT.hxx
|
||||||
|
|
||||||
# Libraries targets
|
# Libraries targets
|
||||||
LIB = libMeshDriverDAT.la
|
LIB = libMeshDriverDAT.la
|
||||||
|
39
src/DriverDAT/SMESH_DriverDAT.hxx
Executable file
39
src/DriverDAT/SMESH_DriverDAT.hxx
Executable file
@ -0,0 +1,39 @@
|
|||||||
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
//
|
||||||
|
// This library is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
// License as published by the Free Software Foundation; either
|
||||||
|
// version 2.1 of the License.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
//
|
||||||
|
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// File : SMESH_DriverDAT.hxx
|
||||||
|
// Author : Alexander A. BORODIN
|
||||||
|
// Module : SMESH
|
||||||
|
|
||||||
|
#ifndef _SMESH_DriverDAT_HXX_
|
||||||
|
#define _SMESH_DriverDAT_HXX_
|
||||||
|
|
||||||
|
#ifdef WNT
|
||||||
|
#if defined MESHDRIVERDAT_EXPORTS
|
||||||
|
#define MESHDRIVERDAT_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define MESHDRIVERDAT_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define MESHDRIVERDAT_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -28,6 +28,8 @@
|
|||||||
#ifndef _INCLUDE_DRIVERMED_FAMILY
|
#ifndef _INCLUDE_DRIVERMED_FAMILY
|
||||||
#define _INCLUDE_DRIVERMED_FAMILY
|
#define _INCLUDE_DRIVERMED_FAMILY
|
||||||
|
|
||||||
|
#include "SMESH_DriverMED.hxx"
|
||||||
|
|
||||||
#include "SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
#include "SMESHDS_GroupBase.hxx"
|
#include "SMESHDS_GroupBase.hxx"
|
||||||
#include "SMESHDS_SubMesh.hxx"
|
#include "SMESHDS_SubMesh.hxx"
|
||||||
@ -46,7 +48,7 @@
|
|||||||
class DriverMED_Family;
|
class DriverMED_Family;
|
||||||
typedef boost::shared_ptr<DriverMED_Family> DriverMED_FamilyPtr;
|
typedef boost::shared_ptr<DriverMED_Family> DriverMED_FamilyPtr;
|
||||||
|
|
||||||
class DriverMED_Family
|
class MESHDRIVERMED_EXPORT DriverMED_Family
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERMED_R_SMDS_MESH
|
#ifndef _INCLUDE_DRIVERMED_R_SMDS_MESH
|
||||||
#define _INCLUDE_DRIVERMED_R_SMDS_MESH
|
#define _INCLUDE_DRIVERMED_R_SMDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverMED.hxx"
|
||||||
|
|
||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
|
|
||||||
class DriverMED_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
class MESHDRIVERMED_EXPORT DriverMED_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERMED_R_SMESHDS_DOCUMENT
|
#ifndef _INCLUDE_DRIVERMED_R_SMESHDS_DOCUMENT
|
||||||
#define _INCLUDE_DRIVERMED_R_SMESHDS_DOCUMENT
|
#define _INCLUDE_DRIVERMED_R_SMESHDS_DOCUMENT
|
||||||
|
|
||||||
|
#include "SMESH_DriverMED.hxx"
|
||||||
|
|
||||||
#include "Driver_Document.h"
|
#include "Driver_Document.h"
|
||||||
|
|
||||||
class DriverMED_R_SMESHDS_Document : public Driver_Document
|
class MESHDRIVERMED_EXPORT DriverMED_R_SMESHDS_Document : public Driver_Document
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#ifndef _INCLUDE_DRIVERMED_R_SMESHDS_MESH
|
#ifndef _INCLUDE_DRIVERMED_R_SMESHDS_MESH
|
||||||
#define _INCLUDE_DRIVERMED_R_SMESHDS_MESH
|
#define _INCLUDE_DRIVERMED_R_SMESHDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverMED.hxx"
|
||||||
|
|
||||||
#include "Driver_SMESHDS_Mesh.h"
|
#include "Driver_SMESHDS_Mesh.h"
|
||||||
#include "DriverMED_Family.h"
|
#include "DriverMED_Family.h"
|
||||||
|
|
||||||
@ -38,7 +40,7 @@ class SMESHDS_SubMesh;
|
|||||||
|
|
||||||
typedef std::pair< std::string, SMDSAbs_ElementType > TNameAndType;
|
typedef std::pair< std::string, SMDSAbs_ElementType > TNameAndType;
|
||||||
|
|
||||||
class DriverMED_R_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
class MESHDRIVERMED_EXPORT DriverMED_R_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual Status Perform();
|
virtual Status Perform();
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERMED_W_SMDS_MESH
|
#ifndef _INCLUDE_DRIVERMED_W_SMDS_MESH
|
||||||
#define _INCLUDE_DRIVERMED_W_SMDS_MESH
|
#define _INCLUDE_DRIVERMED_W_SMDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverMED.hxx"
|
||||||
|
|
||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
|
|
||||||
class DriverMED_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
class MESHDRIVERMED_EXPORT DriverMED_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERMED_W_SMESHDS_DOCUMENT
|
#ifndef _INCLUDE_DRIVERMED_W_SMESHDS_DOCUMENT
|
||||||
#define _INCLUDE_DRIVERMED_W_SMESHDS_DOCUMENT
|
#define _INCLUDE_DRIVERMED_W_SMESHDS_DOCUMENT
|
||||||
|
|
||||||
|
#include "SMESH_DriverMED.hxx"
|
||||||
|
|
||||||
#include "Driver_Document.h"
|
#include "Driver_Document.h"
|
||||||
|
|
||||||
class DriverMED_W_SMESHDS_Document : public Driver_Document
|
class MESHDRIVERMED_EXPORT DriverMED_W_SMESHDS_Document : public Driver_Document
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#ifndef _INCLUDE_DRIVERMED_W_SMESHDS_MESH
|
#ifndef _INCLUDE_DRIVERMED_W_SMESHDS_MESH
|
||||||
#define _INCLUDE_DRIVERMED_W_SMESHDS_MESH
|
#define _INCLUDE_DRIVERMED_W_SMESHDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverMED.hxx"
|
||||||
|
|
||||||
#include "Driver_SMESHDS_Mesh.h"
|
#include "Driver_SMESHDS_Mesh.h"
|
||||||
#include "MED_Factory.hxx"
|
#include "MED_Factory.hxx"
|
||||||
|
|
||||||
@ -38,7 +40,7 @@ class SMESHDS_Mesh;
|
|||||||
class SMESHDS_GroupBase;
|
class SMESHDS_GroupBase;
|
||||||
class SMESHDS_SubMesh;
|
class SMESHDS_SubMesh;
|
||||||
|
|
||||||
class DriverMED_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
class MESHDRIVERMED_EXPORT DriverMED_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ VPATH=.:@srcdir@
|
|||||||
EXPORT_HEADERS = \
|
EXPORT_HEADERS = \
|
||||||
DriverMED_R_SMDS_Mesh.h DriverMED_R_SMESHDS_Mesh.h DriverMED_R_SMESHDS_Document.h \
|
DriverMED_R_SMDS_Mesh.h DriverMED_R_SMESHDS_Mesh.h DriverMED_R_SMESHDS_Document.h \
|
||||||
DriverMED_W_SMDS_Mesh.h DriverMED_W_SMESHDS_Mesh.h DriverMED_W_SMESHDS_Document.h \
|
DriverMED_W_SMDS_Mesh.h DriverMED_W_SMESHDS_Mesh.h DriverMED_W_SMESHDS_Document.h \
|
||||||
DriverMED_Family.h
|
DriverMED_Family.h SMESH_DriverMED.hxx
|
||||||
|
|
||||||
# Libraries targets
|
# Libraries targets
|
||||||
LIB = libMeshDriverMED.la
|
LIB = libMeshDriverMED.la
|
||||||
|
39
src/DriverMED/SMESH_DriverMED.hxx
Executable file
39
src/DriverMED/SMESH_DriverMED.hxx
Executable file
@ -0,0 +1,39 @@
|
|||||||
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
//
|
||||||
|
// This library is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
// License as published by the Free Software Foundation; either
|
||||||
|
// version 2.1 of the License.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
//
|
||||||
|
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// File : SMESH_DriverMED.hxx
|
||||||
|
// Author : Alexander A. BORODIN
|
||||||
|
// Module : SMESH
|
||||||
|
|
||||||
|
#ifndef _SMESH_DriverMED_HXX_
|
||||||
|
#define _SMESH_DriverMED_HXX_
|
||||||
|
|
||||||
|
#ifdef WNT
|
||||||
|
#if defined MESHDRIVERMED_EXPORTS
|
||||||
|
#define MESHDRIVERMED_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define MESHDRIVERMED_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define MESHDRIVERMED_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -20,11 +20,13 @@
|
|||||||
#ifndef _INCLUDE_DRIVERSTL_R_SMDS_MESH
|
#ifndef _INCLUDE_DRIVERSTL_R_SMDS_MESH
|
||||||
#define _INCLUDE_DRIVERSTL_R_SMDS_MESH
|
#define _INCLUDE_DRIVERSTL_R_SMDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverSTL.hxx"
|
||||||
|
|
||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
|
|
||||||
#include <Standard_TypeDef.hxx>
|
#include <Standard_TypeDef.hxx>
|
||||||
|
|
||||||
class DriverSTL_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
class MESHDRIVERSTL_EXPORT DriverSTL_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DriverSTL_R_SMDS_Mesh();
|
DriverSTL_R_SMDS_Mesh();
|
||||||
|
@ -27,10 +27,12 @@
|
|||||||
#ifndef _INCLUDE_DRIVERSTL_W_SMDS_MESH
|
#ifndef _INCLUDE_DRIVERSTL_W_SMDS_MESH
|
||||||
#define _INCLUDE_DRIVERSTL_W_SMDS_MESH
|
#define _INCLUDE_DRIVERSTL_W_SMDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverSTL.hxx"
|
||||||
|
|
||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
#include <Standard_TypeDef.hxx>
|
#include <Standard_TypeDef.hxx>
|
||||||
|
|
||||||
class DriverSTL_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
class MESHDRIVERSTL_EXPORT DriverSTL_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ VPATH=.:@srcdir@
|
|||||||
@COMMENCE@
|
@COMMENCE@
|
||||||
|
|
||||||
# header files
|
# header files
|
||||||
EXPORT_HEADERS= DriverSTL_R_SMDS_Mesh.h DriverSTL_W_SMDS_Mesh.h
|
EXPORT_HEADERS= DriverSTL_R_SMDS_Mesh.h DriverSTL_W_SMDS_Mesh.h SMESH_DriverSTL.hxx
|
||||||
|
|
||||||
# Libraries targets
|
# Libraries targets
|
||||||
LIB = libMeshDriverSTL.la
|
LIB = libMeshDriverSTL.la
|
||||||
|
39
src/DriverSTL/SMESH_DriverSTL.hxx
Executable file
39
src/DriverSTL/SMESH_DriverSTL.hxx
Executable file
@ -0,0 +1,39 @@
|
|||||||
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
//
|
||||||
|
// This library is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
// License as published by the Free Software Foundation; either
|
||||||
|
// version 2.1 of the License.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
//
|
||||||
|
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// File : SMESH_DriverSTL.hxx
|
||||||
|
// Author : Alexander A. BORODIN
|
||||||
|
// Module : SMESH
|
||||||
|
|
||||||
|
#ifndef _SMESH_DriverSTL_HXX_
|
||||||
|
#define _SMESH_DriverSTL_HXX_
|
||||||
|
|
||||||
|
#ifdef WNT
|
||||||
|
#if defined MESHDRIVERSTL_EXPORTS
|
||||||
|
#define MESHDRIVERSTL_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define MESHDRIVERSTL_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define MESHDRIVERSTL_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -20,11 +20,13 @@
|
|||||||
#ifndef _INCLUDE_DRIVERUNV_R_SMDS_MESH
|
#ifndef _INCLUDE_DRIVERUNV_R_SMDS_MESH
|
||||||
#define _INCLUDE_DRIVERUNV_R_SMDS_MESH
|
#define _INCLUDE_DRIVERUNV_R_SMDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverUNV.hxx"
|
||||||
|
|
||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
|
|
||||||
class SMDS_Mesh;
|
class SMDS_Mesh;
|
||||||
|
|
||||||
class DriverUNV_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
class MESHDRIVERUNV_EXPORT DriverUNV_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual Status Perform();
|
virtual Status Perform();
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERUNV_R_SMESHDS_DOCUMENT
|
#ifndef _INCLUDE_DRIVERUNV_R_SMESHDS_DOCUMENT
|
||||||
#define _INCLUDE_DRIVERUNV_R_SMESHDS_DOCUMENT
|
#define _INCLUDE_DRIVERUNV_R_SMESHDS_DOCUMENT
|
||||||
|
|
||||||
|
#include "SMESH_DriverUNV.hxx"
|
||||||
|
|
||||||
#include "Driver_Document.h"
|
#include "Driver_Document.h"
|
||||||
|
|
||||||
class DriverUNV_R_SMESHDS_Document: public Driver_Document
|
class MESHDRIVERUNV_EXPORT DriverUNV_R_SMESHDS_Document: public Driver_Document
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERUNV_R_SMESHDS_MESH
|
#ifndef _INCLUDE_DRIVERUNV_R_SMESHDS_MESH
|
||||||
#define _INCLUDE_DRIVERUNV_R_SMESHDS_MESH
|
#define _INCLUDE_DRIVERUNV_R_SMESHDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverUNV.hxx"
|
||||||
|
|
||||||
#include "Driver_SMESHDS_Mesh.h"
|
#include "Driver_SMESHDS_Mesh.h"
|
||||||
|
|
||||||
class DriverUNV_R_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
class MESHDRIVERUNV_EXPORT DriverUNV_R_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERUNV_W_SMDS_MESH
|
#ifndef _INCLUDE_DRIVERUNV_W_SMDS_MESH
|
||||||
#define _INCLUDE_DRIVERUNV_W_SMDS_MESH
|
#define _INCLUDE_DRIVERUNV_W_SMDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverUNV.hxx"
|
||||||
|
|
||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
|
|
||||||
class DriverUNV_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
class MESHDRIVERUNV_EXPORT DriverUNV_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual Status Perform();
|
virtual Status Perform();
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERUNV_W_SMESHDS_DOCUMENT
|
#ifndef _INCLUDE_DRIVERUNV_W_SMESHDS_DOCUMENT
|
||||||
#define _INCLUDE_DRIVERUNV_W_SMESHDS_DOCUMENT
|
#define _INCLUDE_DRIVERUNV_W_SMESHDS_DOCUMENT
|
||||||
|
|
||||||
|
#include "SMESH_DriverUNV.hxx"
|
||||||
|
|
||||||
#include "Driver_Document.h"
|
#include "Driver_Document.h"
|
||||||
|
|
||||||
class DriverUNV_W_SMESHDS_Document : public Driver_Document
|
class MESHDRIVERUNV_EXPORT DriverUNV_W_SMESHDS_Document : public Driver_Document
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef _INCLUDE_DRIVERUNV_W_SMESHDS_MESH
|
#ifndef _INCLUDE_DRIVERUNV_W_SMESHDS_MESH
|
||||||
#define _INCLUDE_DRIVERUNV_W_SMESHDS_MESH
|
#define _INCLUDE_DRIVERUNV_W_SMESHDS_MESH
|
||||||
|
|
||||||
|
#include "SMESH_DriverUNV.hxx"
|
||||||
|
|
||||||
#include "Driver_SMESHDS_Mesh.h"
|
#include "Driver_SMESHDS_Mesh.h"
|
||||||
|
|
||||||
class DriverUNV_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
class MESHDRIVERUNV_EXPORT DriverUNV_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,7 @@ LIB_SRC = \
|
|||||||
DriverUNV_W_SMESHDS_Document.cxx \
|
DriverUNV_W_SMESHDS_Document.cxx \
|
||||||
DriverUNV_W_SMDS_Mesh.cxx \
|
DriverUNV_W_SMDS_Mesh.cxx \
|
||||||
DriverUNV_W_SMESHDS_Mesh.cxx \
|
DriverUNV_W_SMESHDS_Mesh.cxx \
|
||||||
UNV_Utilities.cxx UNV2411_Structure.cxx UNV2412_Structure.cxx
|
UNV_Utilities.cxx UNV2411_Structure.cxx UNV2412_Structure.cxx SMESH_DriverUNV.hxx
|
||||||
|
|
||||||
# Executables targets
|
# Executables targets
|
||||||
BIN = UNV_Test
|
BIN = UNV_Test
|
||||||
|
39
src/DriverUNV/SMESH_DriverUNV.hxx
Executable file
39
src/DriverUNV/SMESH_DriverUNV.hxx
Executable file
@ -0,0 +1,39 @@
|
|||||||
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
//
|
||||||
|
// This library is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
// License as published by the Free Software Foundation; either
|
||||||
|
// version 2.1 of the License.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
//
|
||||||
|
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// File : SMESH_DriverUNV.hxx
|
||||||
|
// Author : Alexander A. BORODIN
|
||||||
|
// Module : SMESH
|
||||||
|
|
||||||
|
#ifndef _SMESH_DriverUNV_HXX_
|
||||||
|
#define _SMESH_DriverUNV_HXX_
|
||||||
|
|
||||||
|
#ifdef WNT
|
||||||
|
#if defined MESHDRIVERUNV_EXPORTS
|
||||||
|
#define MESHDRIVERUNV_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define MESHDRIVERUNV_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define MESHDRIVERUNV_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -20,12 +20,14 @@
|
|||||||
#ifndef UNV2411_Structure_HeaderFile
|
#ifndef UNV2411_Structure_HeaderFile
|
||||||
#define UNV2411_Structure_HeaderFile
|
#define UNV2411_Structure_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_DriverUNV.hxx"
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
namespace UNV2411{
|
namespace UNV2411{
|
||||||
|
|
||||||
struct TRecord{
|
struct MESHDRIVERUNV_EXPORT TRecord{
|
||||||
TRecord();
|
TRecord();
|
||||||
int exp_coord_sys_num; // export coordinate system number
|
int exp_coord_sys_num; // export coordinate system number
|
||||||
int disp_coord_sys_num; // displacement coordinate system number
|
int disp_coord_sys_num; // displacement coordinate system number
|
||||||
@ -36,9 +38,11 @@ namespace UNV2411{
|
|||||||
typedef int TNodeLab; // type of node label
|
typedef int TNodeLab; // type of node label
|
||||||
typedef std::map<TNodeLab,TRecord> TDataSet;
|
typedef std::map<TNodeLab,TRecord> TDataSet;
|
||||||
|
|
||||||
void Read(std::ifstream& in_stream, TDataSet& theDataSet);
|
MESHDRIVERUNV_EXPORT void
|
||||||
|
Read(std::ifstream& in_stream, TDataSet& theDataSet);
|
||||||
|
|
||||||
void Write(std::ofstream& out_stream, const TDataSet& theDataSet);
|
MESHDRIVERUNV_EXPORT void
|
||||||
|
Write(std::ofstream& out_stream, const TDataSet& theDataSet);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#ifndef UNV2412_Structure_HeaderFile
|
#ifndef UNV2412_Structure_HeaderFile
|
||||||
#define UNV2412_Structure_HeaderFile
|
#define UNV2412_Structure_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_DriverUNV.hxx"
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
@ -29,7 +31,7 @@ namespace UNV2412{
|
|||||||
|
|
||||||
typedef std::vector<int> TNodeLabels; // Nodal connectivities
|
typedef std::vector<int> TNodeLabels; // Nodal connectivities
|
||||||
|
|
||||||
struct TRecord{
|
struct MESHDRIVERUNV_EXPORT TRecord{
|
||||||
TRecord();
|
TRecord();
|
||||||
|
|
||||||
int fe_descriptor_id; // FE descriptor id
|
int fe_descriptor_id; // FE descriptor id
|
||||||
@ -47,13 +49,18 @@ namespace UNV2412{
|
|||||||
typedef int TElementLab; // type of element label
|
typedef int TElementLab; // type of element label
|
||||||
typedef std::map<TElementLab,TRecord> TDataSet;
|
typedef std::map<TElementLab,TRecord> TDataSet;
|
||||||
|
|
||||||
void Read(std::ifstream& in_stream, TDataSet& theDataSet);
|
MESHDRIVERUNV_EXPORT void
|
||||||
|
Read(std::ifstream& in_stream, TDataSet& theDataSet);
|
||||||
|
|
||||||
void Write(std::ofstream& out_stream, const TDataSet& theDataSet);
|
MESHDRIVERUNV_EXPORT void
|
||||||
|
Write(std::ofstream& out_stream, const TDataSet& theDataSet);
|
||||||
|
|
||||||
bool IsBeam(int theFeDescriptorId);
|
MESHDRIVERUNV_EXPORT bool
|
||||||
bool IsFace(int theFeDescriptorId);
|
IsBeam(int theFeDescriptorId);
|
||||||
bool IsVolume(int theFeDescriptorId);
|
MESHDRIVERUNV_EXPORT bool
|
||||||
|
IsFace(int theFeDescriptorId);
|
||||||
|
MESHDRIVERUNV_EXPORT bool
|
||||||
|
IsVolume(int theFeDescriptorId);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
#ifndef MED_Utilities_HeaderFile
|
#ifndef MED_Utilities_HeaderFile
|
||||||
#define MED_Utilities_HeaderFile
|
#define MED_Utilities_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_DriverUNV.hxx"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -18,7 +20,7 @@
|
|||||||
namespace UNV{
|
namespace UNV{
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
class PrefixPrinter{
|
class MESHDRIVERUNV_EXPORT PrefixPrinter{
|
||||||
static int myCounter;
|
static int myCounter;
|
||||||
public:
|
public:
|
||||||
PrefixPrinter();
|
PrefixPrinter();
|
||||||
|
@ -25,9 +25,11 @@
|
|||||||
|
|
||||||
#include "Rn.h"
|
#include "Rn.h"
|
||||||
#include "aptrte.h"
|
#include "aptrte.h"
|
||||||
|
#ifndef WIN32
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
#endif
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
@ -48,7 +50,7 @@ void tempscpu_( double & tempsec )
|
|||||||
//Retourne le temps CPU utilise en secondes
|
//Retourne le temps CPU utilise en secondes
|
||||||
{
|
{
|
||||||
tempsec = ( (double) clock() ) / CLOCKS_PER_SEC;
|
tempsec = ( (double) clock() ) / CLOCKS_PER_SEC;
|
||||||
//MESSAGE( "temps cpu=" << tempsec );
|
// MESSAGEE( "temps cpu=" << tempsec );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -58,7 +60,7 @@ void deltacpu_( R & dtcpu )
|
|||||||
tempscpu_( cpunew );
|
tempscpu_( cpunew );
|
||||||
dtcpu = R( cpunew - cpuold );
|
dtcpu = R( cpunew - cpuold );
|
||||||
cpuold = cpunew;
|
cpuold = cpunew;
|
||||||
//MESSAGE( "delta temps cpu=" << dtcpu );
|
// MESSAGEE( "delta temps cpu=" << dtcpu );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -162,8 +164,8 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
// majoration empirique du nombre de sommets de la triangulation
|
// majoration empirique du nombre de sommets de la triangulation
|
||||||
i = 4*nbarfr/10;
|
i = 4*nbarfr/10;
|
||||||
mxsomm = Max( 20000, 64*nbpti+i*i );
|
mxsomm = Max( 20000, 64*nbpti+i*i );
|
||||||
MESSAGE( "APTRTE: Depart de la triangulation avec " );
|
// MESSAGEE( "APTRTE: Depart de la triangulation avec " );
|
||||||
MESSAGE( "nutysu=" << nutysu << " aretmx=" << aretmx << " mxsomm=" << mxsomm );
|
// MESSAGEE( "nutysu=" << nutysu << " aretmx=" << aretmx << " mxsomm=" << mxsomm );
|
||||||
|
|
||||||
NEWDEPART:
|
NEWDEPART:
|
||||||
//mnpxyd( 3, mxsomm ) les coordonnees UV des sommets et la taille d'arete aux sommets
|
//mnpxyd( 3, mxsomm ) les coordonnees UV des sommets et la taille d'arete aux sommets
|
||||||
@ -309,8 +311,8 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
aremax = sqrt( aremax ); //longueur maximale d'une arete
|
aremax = sqrt( aremax ); //longueur maximale d'une arete
|
||||||
|
|
||||||
aretmx = Min( aretmx, aremax ); //pour homogeneiser
|
aretmx = Min( aretmx, aremax ); //pour homogeneiser
|
||||||
MESSAGE("nutysu=" << nutysu << " aretmx=" << aretmx
|
// MESSAGEE("nutysu=" << nutysu << " aretmx=" << aretmx
|
||||||
<< " arete min=" << aremin << " arete max=" << aremax);
|
// << " arete min=" << aremin << " arete max=" << aremax);
|
||||||
|
|
||||||
//chainage des aretes frontalieres : la derniere arete frontaliere
|
//chainage des aretes frontalieres : la derniere arete frontaliere
|
||||||
mnsoar[ mosoar * noar - mosoar + 5 ] = 0;
|
mnsoar[ mosoar * noar - mosoar + 5 ] = 0;
|
||||||
@ -350,7 +352,7 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
mxtree = 2 * mxsomm;
|
mxtree = 2 * mxsomm;
|
||||||
|
|
||||||
NEWTREE: //en cas de saturation de l'un des tableaux, on boucle
|
NEWTREE: //en cas de saturation de l'un des tableaux, on boucle
|
||||||
MESSAGE( "Debut triangulation avec mxsomm=" << mxsomm );
|
// MESSAGEE( "Debut triangulation avec mxsomm=" << mxsomm );
|
||||||
if( mntree != NULL ) delete [] mntree;
|
if( mntree != NULL ) delete [] mntree;
|
||||||
nbsomm = nbarpi;
|
nbsomm = nbarpi;
|
||||||
mntree = new Z[motree*(1+mxtree)];
|
mntree = new Z[motree*(1+mxtree)];
|
||||||
@ -366,13 +368,13 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
//saturation de letree => sa taille est augmentee et relance
|
//saturation de letree => sa taille est augmentee et relance
|
||||||
mxtree = mxtree * 2;
|
mxtree = mxtree * 2;
|
||||||
ierr = 0;
|
ierr = 0;
|
||||||
MESSAGE( "Nouvelle valeur de mxtree=" << mxtree );
|
// MESSAGEE( "Nouvelle valeur de mxtree=" << mxtree );
|
||||||
goto NEWTREE;
|
goto NEWTREE;
|
||||||
}
|
}
|
||||||
|
|
||||||
deltacpu_( d );
|
deltacpu_( d );
|
||||||
tcpu += d;
|
tcpu += d;
|
||||||
MESSAGE( "Temps de l'ajout arbre-4 des Triangles Equilateraux=" << d << " secondes" );
|
// MESSAGEE( "Temps de l'ajout arbre-4 des Triangles Equilateraux=" << d << " secondes" );
|
||||||
if( ierr != 0 ) goto ERREUR;
|
if( ierr != 0 ) goto ERREUR;
|
||||||
//ici le tableau mnpxyd contient les sommets des te et les points frontaliers et internes
|
//ici le tableau mnpxyd contient les sommets des te et les points frontaliers et internes
|
||||||
|
|
||||||
@ -392,8 +394,8 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
|
|
||||||
deltacpu_( d );
|
deltacpu_( d );
|
||||||
tcpu += d;
|
tcpu += d;
|
||||||
MESSAGE("Temps de l'adaptation et l'homogeneisation de l'arbre-4 des TE="
|
// MESSAGEE("Temps de l'adaptation et l'homogeneisation de l'arbre-4 des TE="
|
||||||
<< d << " secondes");
|
// << d << " secondes");
|
||||||
if( ierr != 0 )
|
if( ierr != 0 )
|
||||||
{
|
{
|
||||||
//destruction du tableau auxiliaire et de l'arbre
|
//destruction du tableau auxiliaire et de l'arbre
|
||||||
@ -401,7 +403,7 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
{
|
{
|
||||||
//letree sature
|
//letree sature
|
||||||
mxtree = mxtree * 2;
|
mxtree = mxtree * 2;
|
||||||
MESSAGE( "Redemarrage avec la valeur de mxtree=" << mxtree );
|
// MESSAGEE( "Redemarrage avec la valeur de mxtree=" << mxtree );
|
||||||
ierr = 0;
|
ierr = 0;
|
||||||
goto NEWTREE;
|
goto NEWTREE;
|
||||||
}
|
}
|
||||||
@ -424,7 +426,7 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
//Temps calcul
|
//Temps calcul
|
||||||
deltacpu_( d );
|
deltacpu_( d );
|
||||||
tcpu += d;
|
tcpu += d;
|
||||||
MESSAGE( "Temps de la triangulation des TE=" << d << " secondes" );
|
// MESSAGEE( "Temps de la triangulation des TE=" << d << " secondes" );
|
||||||
|
|
||||||
// ierr =0 si pas d'erreur
|
// ierr =0 si pas d'erreur
|
||||||
// =1 si le tableau mnsoar est sature
|
// =1 si le tableau mnsoar est sature
|
||||||
@ -446,11 +448,11 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
mosoar, mxsoar, n1soar, mnsoar, na,
|
mosoar, mxsoar, n1soar, mnsoar, na,
|
||||||
moartr, mxartr, n1artr, mnartr, n );
|
moartr, mxartr, n1artr, mnartr, n );
|
||||||
|
|
||||||
MESSAGE( "Nombre d'echanges des diagonales de 2 triangles=" << n );
|
// MESSAGEE( "Nombre d'echanges des diagonales de 2 triangles=" << n );
|
||||||
deltacpu_( d );
|
deltacpu_( d );
|
||||||
tcpu += d;
|
tcpu += d;
|
||||||
MESSAGE("Temps de la triangulation Delaunay par echange des diagonales="
|
// MESSAGEE("Temps de la triangulation Delaunay par echange des diagonales="
|
||||||
<< d << " secondes");
|
// << d << " secondes");
|
||||||
|
|
||||||
//qualites de la triangulation actuelle
|
//qualites de la triangulation actuelle
|
||||||
qualitetrte( mnpxyd, mosoar, mxsoar, mnsoar, moartr, mxartr, mnartr,
|
qualitetrte( mnpxyd, mosoar, mxsoar, mnsoar, moartr, mxartr, mnartr,
|
||||||
@ -479,11 +481,11 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
mxarcf, mn1arcf, mnarcf, mnarcf1, mnarcf2,
|
mxarcf, mn1arcf, mnarcf, mnarcf1, mnarcf2,
|
||||||
n, ierr );
|
n, ierr );
|
||||||
|
|
||||||
MESSAGE( "Restauration de " << n << " aretes perdues de la frontiere" );
|
// MESSAGEE( "Restauration de " << n << " aretes perdues de la frontiere" );
|
||||||
deltacpu_( d );
|
deltacpu_( d );
|
||||||
tcpu += d;
|
tcpu += d;
|
||||||
MESSAGE("Temps de la recuperation des aretes perdues de la frontiere="
|
// MESSAGEE("Temps de la recuperation des aretes perdues de la frontiere="
|
||||||
<< d << " secondes");
|
// << d << " secondes");
|
||||||
|
|
||||||
if( ierr != 0 ) goto ERREUR;
|
if( ierr != 0 ) goto ERREUR;
|
||||||
|
|
||||||
@ -525,7 +527,7 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
|
|
||||||
deltacpu_( d );
|
deltacpu_( d );
|
||||||
tcpu += d;
|
tcpu += d;
|
||||||
MESSAGE( "Temps de la suppression des triangles externes=" << d );
|
// MESSAGEE( "Temps de la suppression des triangles externes=" << d );
|
||||||
if( ierr != 0 ) goto ERREUR;
|
if( ierr != 0 ) goto ERREUR;
|
||||||
|
|
||||||
//qualites de la triangulation actuelle
|
//qualites de la triangulation actuelle
|
||||||
@ -556,7 +558,7 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
|
|
||||||
deltacpu_( d );
|
deltacpu_( d );
|
||||||
tcpu += d;
|
tcpu += d;
|
||||||
MESSAGE( "Temps de l'amelioration de la qualite de la triangulation=" << d );
|
// MESSAGEE( "Temps de l'amelioration de la qualite de la triangulation=" << d );
|
||||||
if( ierr != 0 ) goto ERREUR;
|
if( ierr != 0 ) goto ERREUR;
|
||||||
|
|
||||||
//qualites de la triangulation finale
|
//qualites de la triangulation finale
|
||||||
@ -649,12 +651,12 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
nbt /= 4; //le nombre final de triangles de la surface
|
nbt /= 4; //le nombre final de triangles de la surface
|
||||||
MESSAGE("Nombre de sommets=" << nbst
|
// MESSAGEE("Nombre de sommets=" << nbst
|
||||||
<< " Nombre de triangles=" << nbt);
|
// << " Nombre de triangles=" << nbt);
|
||||||
|
|
||||||
deltacpu_( d );
|
deltacpu_( d );
|
||||||
tcpu += d;
|
tcpu += d;
|
||||||
MESSAGE( "Temps total de la triangulation=" << tcpu << " secondes" );
|
// MESSAGEE( "Temps total de la triangulation=" << tcpu << " secondes" );
|
||||||
|
|
||||||
// destruction des tableaux auxiliaires
|
// destruction des tableaux auxiliaires
|
||||||
// ------------------------------------
|
// ------------------------------------
|
||||||
@ -686,7 +688,7 @@ void aptrte( Z nutysu, R aretmx,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MESSAGE( "Triangulation non realisee " << ierr );
|
// MESSAGEE( "Triangulation non realisee " << ierr );
|
||||||
if( ierr == 0 ) ierr=1;
|
if( ierr == 0 ) ierr=1;
|
||||||
goto NETTOYAGE;
|
goto NETTOYAGE;
|
||||||
}
|
}
|
||||||
@ -763,9 +765,9 @@ void qualitetrte( R3 *mnpxyd,
|
|||||||
{
|
{
|
||||||
//un triangle d'aire negative de plus
|
//un triangle d'aire negative de plus
|
||||||
nbtrianeg++;
|
nbtrianeg++;
|
||||||
MESSAGE("ATTENTION: le triangle " << nt << " de sommets:"
|
// MESSAGEE("ATTENTION: le triangle " << nt << " de sommets:"
|
||||||
<< nosotr[0] << " " << nosotr[1] << " " << nosotr[2]
|
// << nosotr[0] << " " << nosotr[1] << " " << nosotr[2]
|
||||||
<< " a une aire " << d <<"<=0");
|
// << " a une aire " << d <<"<=0");
|
||||||
}
|
}
|
||||||
|
|
||||||
//aire des triangles actuels
|
//aire des triangles actuels
|
||||||
@ -775,12 +777,12 @@ void qualitetrte( R3 *mnpxyd,
|
|||||||
|
|
||||||
//les affichages
|
//les affichages
|
||||||
quamoy /= nbtria;
|
quamoy /= nbtria;
|
||||||
MESSAGE("Qualite moyenne=" << quamoy
|
// MESSAGEE("Qualite moyenne=" << quamoy
|
||||||
<< " Qualite minimale=" << quamin
|
// << " Qualite minimale=" << quamin
|
||||||
<< " des " << nbtria << " triangles de surface totale="
|
// << " des " << nbtria << " triangles de surface totale="
|
||||||
<< aire);
|
// << aire);
|
||||||
|
|
||||||
if( nbtrianeg>0 )
|
//if( nbtrianeg>0 )
|
||||||
MESSAGE( "ATTENTION: nombre de triangles d'aire negative=" << nbtrianeg );
|
// MESSAGE( "ATTENTION: nombre de triangles d'aire negative=" << nbtrianeg );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -28,10 +28,14 @@
|
|||||||
#define aptrte__h
|
#define aptrte__h
|
||||||
|
|
||||||
#include <limits.h> // limites min max int long real ...
|
#include <limits.h> // limites min max int long real ...
|
||||||
|
#ifndef WIN32
|
||||||
#include <unistd.h> // gethostname, ...
|
#include <unistd.h> // gethostname, ...
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#ifndef WIN32
|
||||||
#include <iostream.h> // pour cout cin ...
|
#include <iostream.h> // pour cout cin ...
|
||||||
#include <iomanip.h> // pour le format des io setw, stx, setfill, ...
|
#include <iomanip.h> // pour le format des io setw, stx, setfill, ...
|
||||||
|
#endif
|
||||||
#include <string.h> // pour les fonctions sur les chaines de caracteres
|
#include <string.h> // pour les fonctions sur les chaines de caracteres
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -39,9 +43,21 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#ifndef WIN32
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
void qualitetrte( R3 *mnpxyd,
|
#ifdef WNT
|
||||||
|
#if defined MEFISTO2D_EXPORTS
|
||||||
|
#define MEFISTO2D_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define MEFISTO2D_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define MEFISTO2D_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void qualitetrte( R3 *mnpxyd,
|
||||||
Z & mosoar, Z & mxsoar, Z *mnsoar,
|
Z & mosoar, Z & mxsoar, Z *mnsoar,
|
||||||
Z & moartr, Z & mxartr, Z *mnartr,
|
Z & moartr, Z & mxartr, Z *mnartr,
|
||||||
Z & nbtria, R & quamoy, R & quamin );
|
Z & nbtria, R & quamoy, R & quamin );
|
||||||
@ -75,7 +91,8 @@ void qualitetrte( R3 *mnpxyd,
|
|||||||
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
|
|
||||||
void aptrte( Z nutysu, R aretmx,
|
MEFISTO2D_EXPORT
|
||||||
|
void aptrte( Z nutysu, R aretmx,
|
||||||
Z nblf, Z *nudslf, R2 *uvslf,
|
Z nblf, Z *nudslf, R2 *uvslf,
|
||||||
Z nbpti, R2 *uvpti,
|
Z nbpti, R2 *uvpti,
|
||||||
Z & nbst, R2 * & uvst, Z & nbt, Z * & nust,
|
Z & nbst, R2 * & uvst, Z & nbt, Z * & nust,
|
||||||
|
@ -39,7 +39,7 @@ class vtkScalarBarActor;
|
|||||||
class vtkPlane;
|
class vtkPlane;
|
||||||
class vtkImplicitBoolean;
|
class vtkImplicitBoolean;
|
||||||
|
|
||||||
class SMESH_Actor: public SALOME_Actor
|
class SMESHOBJECT_EXPORT SMESH_Actor: public SALOME_Actor
|
||||||
{
|
{
|
||||||
static SMESH_Actor* New() { return NULL;}
|
static SMESH_Actor* New() { return NULL;}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ class vtkTimeStamp;
|
|||||||
class SMESH_DeviceActor;
|
class SMESH_DeviceActor;
|
||||||
|
|
||||||
|
|
||||||
class SMESH_ActorDef : public SMESH_Actor{
|
class SMESHOBJECT_EXPORT SMESH_ActorDef : public SMESH_Actor{
|
||||||
friend class SMESH_VisualObj;
|
friend class SMESH_VisualObj;
|
||||||
friend class SMESH_Actor;
|
friend class SMESH_Actor;
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#ifndef SMESH_ACTORUTILS_H
|
#ifndef SMESH_ACTORUTILS_H
|
||||||
#define SMESH_ACTORUTILS_H
|
#define SMESH_ACTORUTILS_H
|
||||||
|
|
||||||
|
#include "SMESH_Object.h"
|
||||||
|
|
||||||
#include <qcolor.h>
|
#include <qcolor.h>
|
||||||
#include <qstring.h>
|
#include <qstring.h>
|
||||||
|
|
||||||
@ -27,12 +29,12 @@ class vtkUnstructuredGrid;
|
|||||||
|
|
||||||
namespace SMESH{
|
namespace SMESH{
|
||||||
|
|
||||||
float GetFloat( const QString& theValue, float theDefault = 0 );
|
float SMESHOBJECT_EXPORT GetFloat( const QString& theValue, float theDefault = 0 );
|
||||||
float GetFloat( const QString& theName, const QString& theSection, float theDefault = 0 );
|
float SMESHOBJECT_EXPORT GetFloat( const QString& theName, const QString& theSection, float theDefault = 0 );
|
||||||
|
|
||||||
QColor GetColor( const QString& theSect, const QString& theName, const QColor&t = QColor() );
|
QColor SMESHOBJECT_EXPORT GetColor( const QString& theSect, const QString& theName, const QColor&t = QColor() );
|
||||||
void GetColor( const QString& theSect, const QString& theName, int&, int&, int&, const QColor&t = QColor() );
|
void SMESHOBJECT_EXPORT GetColor( const QString& theSect, const QString& theName, int&, int&, int&, const QColor&t = QColor() );
|
||||||
void GetColor( const QString& theSect, const QString& theName, float&, float&, float&, const QColor&t = QColor() );
|
void SMESHOBJECT_EXPORT GetColor( const QString& theSect, const QString& theName, float&, float&, float&, const QColor&t = QColor() );
|
||||||
|
|
||||||
void WriteUnstructuredGrid(vtkUnstructuredGrid* theGrid, const char* theFileName);
|
void WriteUnstructuredGrid(vtkUnstructuredGrid* theGrid, const char* theFileName);
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ class VTKViewer_ExtractUnstructuredGrid;
|
|||||||
class SMESH_ExtractGeometry;
|
class SMESH_ExtractGeometry;
|
||||||
|
|
||||||
|
|
||||||
class SMESH_DeviceActor: public vtkLODActor{
|
class SMESHOBJECT_EXPORT SMESH_DeviceActor: public vtkLODActor{
|
||||||
friend class SMESH_ActorDef;
|
friend class SMESH_ActorDef;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -20,11 +20,13 @@
|
|||||||
#ifndef SALOME_ExtractGeometry_HeaderFile
|
#ifndef SALOME_ExtractGeometry_HeaderFile
|
||||||
#define SALOME_ExtractGeometry_HeaderFile
|
#define SALOME_ExtractGeometry_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_Object.h"
|
||||||
|
|
||||||
#include <vtkExtractGeometry.h>
|
#include <vtkExtractGeometry.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
class SMESH_ExtractGeometry : public vtkExtractGeometry{
|
class SMESHOBJECT_EXPORT SMESH_ExtractGeometry : public vtkExtractGeometry{
|
||||||
public:
|
public:
|
||||||
vtkTypeMacro(SMESH_ExtractGeometry,vtkExtractGeometry);
|
vtkTypeMacro(SMESH_ExtractGeometry,vtkExtractGeometry);
|
||||||
|
|
||||||
|
@ -719,7 +719,7 @@ bool SMESH_VisualObjDef::GetEdgeNodes( const int theElemId,
|
|||||||
if ( theEdgeNum < 0 || theEdgeNum > 3 || nbNodes != 3 && nbNodes != 4 || theEdgeNum > nbNodes )
|
if ( theEdgeNum < 0 || theEdgeNum > 3 || nbNodes != 3 && nbNodes != 4 || theEdgeNum > nbNodes )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
int anIds[ nbNodes ];
|
vector<int> anIds( nbNodes );
|
||||||
SMDS_ElemIteratorPtr anIter = anElem->nodesIterator();
|
SMDS_ElemIteratorPtr anIter = anElem->nodesIterator();
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while( anIter->more() )
|
while( anIter->more() )
|
||||||
@ -834,7 +834,7 @@ void SMESH_MeshObj::Update( int theIsClear )
|
|||||||
int nbNodes = anIndexes[i++];
|
int nbNodes = anIndexes[i++];
|
||||||
// nodes
|
// nodes
|
||||||
//ASSERT( nbNodes < 9 );
|
//ASSERT( nbNodes < 9 );
|
||||||
const SMDS_MeshNode* aNodes[ nbNodes ];
|
const SMDS_MeshNode** aNodes = new const SMDS_MeshNode*[ nbNodes ];
|
||||||
for ( int iNode = 0; iNode < nbNodes; iNode++ )
|
for ( int iNode = 0; iNode < nbNodes; iNode++ )
|
||||||
aNodes[ iNode ] = FindNode( myMesh, anIndexes[i++] );
|
aNodes[ iNode ] = FindNode( myMesh, anIndexes[i++] );
|
||||||
// change
|
// change
|
||||||
|
@ -29,6 +29,16 @@
|
|||||||
#ifndef SMESH_OBJECT_H
|
#ifndef SMESH_OBJECT_H
|
||||||
#define SMESH_OBJECT_H
|
#define SMESH_OBJECT_H
|
||||||
|
|
||||||
|
#ifdef WNT
|
||||||
|
#if defined SMESHOBJECT_EXPORTS
|
||||||
|
#define SMESHOBJECT_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define SMESHOBJECT_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define SMESHOBJECT_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <vtkSystemIncludes.h>
|
#include <vtkSystemIncludes.h>
|
||||||
|
|
||||||
@ -42,7 +52,7 @@ class vtkUnstructuredGrid;
|
|||||||
Class : SMESH_VisualObj
|
Class : SMESH_VisualObj
|
||||||
Description : Base class for all mesh objects to be visuilised
|
Description : Base class for all mesh objects to be visuilised
|
||||||
*/
|
*/
|
||||||
class SMESH_VisualObj
|
class SMESHOBJECT_EXPORT SMESH_VisualObj
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual void Update( int theIsClear = true ) = 0;
|
virtual void Update( int theIsClear = true ) = 0;
|
||||||
|
@ -51,7 +51,7 @@ class SMDS_MeshElement;
|
|||||||
Class : SMESH_VisualObj
|
Class : SMESH_VisualObj
|
||||||
Description : Base class for all mesh objects to be visuilised
|
Description : Base class for all mesh objects to be visuilised
|
||||||
*/
|
*/
|
||||||
class SMESH_VisualObjDef: public SMESH_VisualObj
|
class SMESHOBJECT_EXPORT SMESH_VisualObjDef: public SMESH_VisualObj
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef std::list<const SMDS_MeshElement*> TEntityList;
|
typedef std::list<const SMDS_MeshElement*> TEntityList;
|
||||||
@ -104,7 +104,7 @@ private:
|
|||||||
Description : Class for visualisation of mesh
|
Description : Class for visualisation of mesh
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class SMESH_MeshObj: public SMESH_VisualObjDef
|
class SMESHOBJECT_EXPORT SMESH_MeshObj: public SMESH_VisualObjDef
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -136,7 +136,7 @@ protected:
|
|||||||
Description : Base class for visualisation of submeshes and groups
|
Description : Base class for visualisation of submeshes and groups
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class SMESH_SubMeshObj: public SMESH_VisualObjDef
|
class SMESHOBJECT_EXPORT SMESH_SubMeshObj: public SMESH_VisualObjDef
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -160,7 +160,7 @@ protected:
|
|||||||
Description : Class for visualisation of groups
|
Description : Class for visualisation of groups
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class SMESH_GroupObj: public SMESH_SubMeshObj
|
class SMESHOBJECT_EXPORT SMESH_GroupObj: public SMESH_SubMeshObj
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMESH_GroupObj( SMESH::SMESH_GroupBase_ptr, SMESH_MeshObj* );
|
SMESH_GroupObj( SMESH::SMESH_GroupBase_ptr, SMESH_MeshObj* );
|
||||||
@ -181,7 +181,7 @@ private:
|
|||||||
Description : Class for visualisation of submeshes
|
Description : Class for visualisation of submeshes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class SMESH_subMeshObj : public SMESH_SubMeshObj
|
class SMESHOBJECT_EXPORT SMESH_subMeshObj : public SMESH_SubMeshObj
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -113,7 +113,8 @@ EXPORT_HEADERS= \
|
|||||||
SMDS_FaceOfEdges.hxx \
|
SMDS_FaceOfEdges.hxx \
|
||||||
SMDS_FaceOfNodes.hxx \
|
SMDS_FaceOfNodes.hxx \
|
||||||
SMDS_PolygonalFaceOfNodes.hxx \
|
SMDS_PolygonalFaceOfNodes.hxx \
|
||||||
SMDS_VolumeTool.hxx
|
SMDS_VolumeTool.hxx \
|
||||||
|
SMESH_SMDS.hxx
|
||||||
# SMDS_Tria3OfNodes.hxx \
|
# SMDS_Tria3OfNodes.hxx \
|
||||||
# SMDS_HexahedronOfNodes.hxx
|
# SMDS_HexahedronOfNodes.hxx
|
||||||
|
|
||||||
|
@ -27,21 +27,11 @@
|
|||||||
#ifndef _SMDS_EdgePosition_HeaderFile
|
#ifndef _SMDS_EdgePosition_HeaderFile
|
||||||
#define _SMDS_EdgePosition_HeaderFile
|
#define _SMDS_EdgePosition_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_Position.hxx"
|
#include "SMDS_Position.hxx"
|
||||||
|
|
||||||
//#ifdef WNT
|
class SMDS_EXPORT SMDS_EdgePosition:public SMDS_Position
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class SMDS_WNT_EXPORT SMDS_EdgePosition:public SMDS_Position
|
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef _SMDS_FaceOfEdges_HeaderFile
|
#ifndef _SMDS_FaceOfEdges_HeaderFile
|
||||||
#define _SMDS_FaceOfEdges_HeaderFile
|
#define _SMDS_FaceOfEdges_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshFace.hxx"
|
#include "SMDS_MeshFace.hxx"
|
||||||
#include "SMDS_MeshEdge.hxx"
|
#include "SMDS_MeshEdge.hxx"
|
||||||
#include "SMDS_Iterator.hxx"
|
#include "SMDS_Iterator.hxx"
|
||||||
@ -29,7 +31,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
||||||
class SMDS_FaceOfEdges:public SMDS_MeshFace
|
class SMDS_EXPORT SMDS_FaceOfEdges:public SMDS_MeshFace
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void Print(std::ostream & OS) const;
|
void Print(std::ostream & OS) const;
|
||||||
|
@ -22,13 +22,15 @@
|
|||||||
#ifndef _SMDS_FaceOfNodes_HeaderFile
|
#ifndef _SMDS_FaceOfNodes_HeaderFile
|
||||||
#define _SMDS_FaceOfNodes_HeaderFile
|
#define _SMDS_FaceOfNodes_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshFace.hxx"
|
#include "SMDS_MeshFace.hxx"
|
||||||
#include "SMDS_MeshNode.hxx"
|
#include "SMDS_MeshNode.hxx"
|
||||||
#include "SMDS_Iterator.hxx"
|
#include "SMDS_Iterator.hxx"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
class SMDS_FaceOfNodes:public SMDS_MeshFace
|
class SMDS_EXPORT SMDS_FaceOfNodes:public SMDS_MeshFace
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void Print(std::ostream & OS) const;
|
void Print(std::ostream & OS) const;
|
||||||
|
@ -27,21 +27,11 @@
|
|||||||
#ifndef _SMDS_FacePosition_HeaderFile
|
#ifndef _SMDS_FacePosition_HeaderFile
|
||||||
#define _SMDS_FacePosition_HeaderFile
|
#define _SMDS_FacePosition_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_Position.hxx"
|
#include "SMDS_Position.hxx"
|
||||||
|
|
||||||
//#ifdef WNT
|
class SMDS_EXPORT SMDS_FacePosition:public SMDS_Position
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class SMDS_WNT_EXPORT SMDS_FacePosition:public SMDS_Position
|
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -19,12 +19,14 @@
|
|||||||
//
|
//
|
||||||
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_Iterator.hxx"
|
#include "SMDS_Iterator.hxx"
|
||||||
#include "SMDS_MeshElement.hxx"
|
#include "SMDS_MeshElement.hxx"
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
|
|
||||||
class SMDS_IteratorOfElements:public SMDS_ElemIterator
|
class SMDS_EXPORT SMDS_IteratorOfElements:public SMDS_ElemIterator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#ifndef _SMDS_Mesh_HeaderFile
|
#ifndef _SMDS_Mesh_HeaderFile
|
||||||
#define _SMDS_Mesh_HeaderFile
|
#define _SMDS_Mesh_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshNode.hxx"
|
#include "SMDS_MeshNode.hxx"
|
||||||
#include "SMDS_MeshEdge.hxx"
|
#include "SMDS_MeshEdge.hxx"
|
||||||
#include "SMDS_MeshFace.hxx"
|
#include "SMDS_MeshFace.hxx"
|
||||||
@ -35,17 +37,6 @@
|
|||||||
#include "SMDS_ElemIterator.hxx"
|
#include "SMDS_ElemIterator.hxx"
|
||||||
#include <NCollection_Map.hxx>
|
#include <NCollection_Map.hxx>
|
||||||
|
|
||||||
//#ifdef WNT
|
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <list>
|
#include <list>
|
||||||
@ -59,7 +50,7 @@ typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshFace *> > SMDS_FaceIterat
|
|||||||
typedef SMDS_Iterator<const SMDS_MeshVolume *> SMDS_VolumeIterator;
|
typedef SMDS_Iterator<const SMDS_MeshVolume *> SMDS_VolumeIterator;
|
||||||
typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshVolume *> > SMDS_VolumeIteratorPtr;
|
typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshVolume *> > SMDS_VolumeIteratorPtr;
|
||||||
|
|
||||||
class SMDS_WNT_EXPORT SMDS_Mesh:public SMDS_MeshObject{
|
class SMDS_EXPORT SMDS_Mesh:public SMDS_MeshObject{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
SMDS_Mesh();
|
SMDS_Mesh();
|
||||||
|
@ -27,10 +27,12 @@
|
|||||||
#ifndef _SMDS_MeshEdge_HeaderFile
|
#ifndef _SMDS_MeshEdge_HeaderFile
|
||||||
#define _SMDS_MeshEdge_HeaderFile
|
#define _SMDS_MeshEdge_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshElement.hxx"
|
#include "SMDS_MeshElement.hxx"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
class SMDS_MeshEdge:public SMDS_MeshElement
|
class SMDS_EXPORT SMDS_MeshEdge:public SMDS_MeshElement
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -26,24 +26,14 @@
|
|||||||
|
|
||||||
#ifndef _SMDS_MeshElement_HeaderFile
|
#ifndef _SMDS_MeshElement_HeaderFile
|
||||||
#define _SMDS_MeshElement_HeaderFile
|
#define _SMDS_MeshElement_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDSAbs_ElementType.hxx"
|
#include "SMDSAbs_ElementType.hxx"
|
||||||
#include "SMDS_MeshObject.hxx"
|
#include "SMDS_MeshObject.hxx"
|
||||||
#include "SMDS_ElemIterator.hxx"
|
#include "SMDS_ElemIterator.hxx"
|
||||||
#include "SMDS_MeshElementIDFactory.hxx"
|
#include "SMDS_MeshElementIDFactory.hxx"
|
||||||
|
|
||||||
//#ifdef WNT
|
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
@ -54,7 +44,7 @@ class SMDS_MeshFace;
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Base class for elements
|
/// Base class for elements
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class SMDS_WNT_EXPORT SMDS_MeshElement:public SMDS_MeshObject
|
class SMDS_EXPORT SMDS_MeshElement:public SMDS_MeshObject
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#ifndef _SMDS_MeshElementIDFactory_HeaderFile
|
#ifndef _SMDS_MeshElementIDFactory_HeaderFile
|
||||||
#define _SMDS_MeshElementIDFactory_HeaderFile
|
#define _SMDS_MeshElementIDFactory_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshIDFactory.hxx"
|
#include "SMDS_MeshIDFactory.hxx"
|
||||||
#include "SMDS_ElemIterator.hxx"
|
#include "SMDS_ElemIterator.hxx"
|
||||||
|
|
||||||
@ -36,7 +38,7 @@ class SMDS_MeshElement;
|
|||||||
|
|
||||||
typedef NCollection_DataMap<int, SMDS_MeshElement *> SMDS_IdElementMap;
|
typedef NCollection_DataMap<int, SMDS_MeshElement *> SMDS_IdElementMap;
|
||||||
|
|
||||||
class SMDS_MeshElementIDFactory:public SMDS_MeshIDFactory
|
class SMDS_EXPORT SMDS_MeshElementIDFactory:public SMDS_MeshIDFactory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMDS_MeshElementIDFactory();
|
SMDS_MeshElementIDFactory();
|
||||||
|
@ -27,9 +27,11 @@
|
|||||||
#ifndef _SMDS_MeshFace_HeaderFile
|
#ifndef _SMDS_MeshFace_HeaderFile
|
||||||
#define _SMDS_MeshFace_HeaderFile
|
#define _SMDS_MeshFace_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshElement.hxx"
|
#include "SMDS_MeshElement.hxx"
|
||||||
|
|
||||||
class SMDS_MeshFace:public SMDS_MeshElement
|
class SMDS_EXPORT SMDS_MeshFace:public SMDS_MeshElement
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMDSAbs_ElementType GetType() const;
|
SMDSAbs_ElementType GetType() const;
|
||||||
|
@ -26,22 +26,12 @@
|
|||||||
#ifndef _SMDS_MeshGroup_HeaderFile
|
#ifndef _SMDS_MeshGroup_HeaderFile
|
||||||
#define _SMDS_MeshGroup_HeaderFile
|
#define _SMDS_MeshGroup_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
//#ifdef WNT
|
class SMDS_EXPORT SMDS_MeshGroup:public SMDS_MeshObject
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class SMDS_WNT_EXPORT SMDS_MeshGroup:public SMDS_MeshObject
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMDS_MeshGroup(const SMDS_Mesh * theMesh,
|
SMDS_MeshGroup(const SMDS_Mesh * theMesh,
|
||||||
|
@ -27,11 +27,13 @@
|
|||||||
#ifndef _SMDS_MeshIDFactory_HeaderFile
|
#ifndef _SMDS_MeshIDFactory_HeaderFile
|
||||||
#define _SMDS_MeshIDFactory_HeaderFile
|
#define _SMDS_MeshIDFactory_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshObject.hxx"
|
#include "SMDS_MeshObject.hxx"
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
|
|
||||||
class SMDS_MeshIDFactory:public SMDS_MeshObject
|
class SMDS_EXPORT SMDS_MeshIDFactory:public SMDS_MeshObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual int GetFreeID();
|
virtual int GetFreeID();
|
||||||
|
@ -27,23 +27,13 @@
|
|||||||
#ifndef _SMDS_MeshNode_HeaderFile
|
#ifndef _SMDS_MeshNode_HeaderFile
|
||||||
#define _SMDS_MeshNode_HeaderFile
|
#define _SMDS_MeshNode_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshElement.hxx"
|
#include "SMDS_MeshElement.hxx"
|
||||||
#include "SMDS_Position.hxx"
|
#include "SMDS_Position.hxx"
|
||||||
#include <NCollection_List.hxx>
|
#include <NCollection_List.hxx>
|
||||||
|
|
||||||
//#ifdef WNT
|
class SMDS_EXPORT SMDS_MeshNode:public SMDS_MeshElement
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class SMDS_WNT_EXPORT SMDS_MeshNode:public SMDS_MeshElement
|
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -27,20 +27,9 @@
|
|||||||
#ifndef _SMDS_MeshObject_HeaderFile
|
#ifndef _SMDS_MeshObject_HeaderFile
|
||||||
#define _SMDS_MeshObject_HeaderFile
|
#define _SMDS_MeshObject_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
//#ifdef WNT
|
class SMDS_EXPORT SMDS_MeshObject
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class SMDS_WNT_EXPORT SMDS_MeshObject
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~SMDS_MeshObject() {}
|
virtual ~SMDS_MeshObject() {}
|
||||||
|
@ -27,9 +27,11 @@
|
|||||||
#ifndef _SMDS_MeshVolume_HeaderFile
|
#ifndef _SMDS_MeshVolume_HeaderFile
|
||||||
#define _SMDS_MeshVolume_HeaderFile
|
#define _SMDS_MeshVolume_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshElement.hxx"
|
#include "SMDS_MeshElement.hxx"
|
||||||
|
|
||||||
class SMDS_MeshVolume:public SMDS_MeshElement
|
class SMDS_EXPORT SMDS_MeshVolume:public SMDS_MeshElement
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef _SMDS_PolygonalFaceOfNodes_HeaderFile
|
#ifndef _SMDS_PolygonalFaceOfNodes_HeaderFile
|
||||||
#define _SMDS_PolygonalFaceOfNodes_HeaderFile
|
#define _SMDS_PolygonalFaceOfNodes_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshFace.hxx"
|
#include "SMDS_MeshFace.hxx"
|
||||||
//#include "SMDS_FaceOfNodes.hxx"
|
//#include "SMDS_FaceOfNodes.hxx"
|
||||||
#include "SMDS_MeshNode.hxx"
|
#include "SMDS_MeshNode.hxx"
|
||||||
@ -30,7 +32,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
//class SMDS_PolygonalFaceOfNodes:public SMDS_FaceOfNodes
|
//class SMDS_PolygonalFaceOfNodes:public SMDS_FaceOfNodes
|
||||||
class SMDS_PolygonalFaceOfNodes:public SMDS_MeshFace
|
class SMDS_EXPORT SMDS_PolygonalFaceOfNodes:public SMDS_MeshFace
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMDS_PolygonalFaceOfNodes (std::vector<const SMDS_MeshNode *> nodes);
|
SMDS_PolygonalFaceOfNodes (std::vector<const SMDS_MeshNode *> nodes);
|
||||||
|
@ -27,14 +27,11 @@
|
|||||||
#ifndef _SMDS_PolyhedralVolumeOfNodes_HeaderFile
|
#ifndef _SMDS_PolyhedralVolumeOfNodes_HeaderFile
|
||||||
#define _SMDS_PolyhedralVolumeOfNodes_HeaderFile
|
#define _SMDS_PolyhedralVolumeOfNodes_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_VolumeOfNodes.hxx"
|
#include "SMDS_VolumeOfNodes.hxx"
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
class SMDS_EXPORT SMDS_PolyhedralVolumeOfNodes:public SMDS_VolumeOfNodes
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
class SMDS_WNT_EXPORT SMDS_PolyhedralVolumeOfNodes:public SMDS_VolumeOfNodes
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMDS_PolyhedralVolumeOfNodes (std::vector<const SMDS_MeshNode *> nodes,
|
SMDS_PolyhedralVolumeOfNodes (std::vector<const SMDS_MeshNode *> nodes,
|
||||||
|
@ -27,26 +27,15 @@
|
|||||||
#ifndef _SMDS_Position_HeaderFile
|
#ifndef _SMDS_Position_HeaderFile
|
||||||
#define _SMDS_Position_HeaderFile
|
#define _SMDS_Position_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_TypeOfPosition.hxx"
|
#include "SMDS_TypeOfPosition.hxx"
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
//#ifdef WNT
|
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class SMDS_Position;
|
class SMDS_Position;
|
||||||
typedef boost::shared_ptr<SMDS_Position> SMDS_PositionPtr;
|
typedef boost::shared_ptr<SMDS_Position> SMDS_PositionPtr;
|
||||||
|
|
||||||
|
class SMDS_EXPORT SMDS_Position
|
||||||
class SMDS_WNT_EXPORT SMDS_Position
|
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -27,21 +27,11 @@
|
|||||||
#ifndef _SMDS_SpacePosition_HeaderFile
|
#ifndef _SMDS_SpacePosition_HeaderFile
|
||||||
#define _SMDS_SpacePosition_HeaderFile
|
#define _SMDS_SpacePosition_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_Position.hxx"
|
#include "SMDS_Position.hxx"
|
||||||
|
|
||||||
//#ifdef WNT
|
class SMDS_EXPORT SMDS_SpacePosition:public SMDS_Position
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class SMDS_WNT_EXPORT SMDS_SpacePosition:public SMDS_Position
|
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -27,21 +27,11 @@
|
|||||||
#ifndef _SMDS_VertexPosition_HeaderFile
|
#ifndef _SMDS_VertexPosition_HeaderFile
|
||||||
#define _SMDS_VertexPosition_HeaderFile
|
#define _SMDS_VertexPosition_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_Position.hxx"
|
#include "SMDS_Position.hxx"
|
||||||
|
|
||||||
//#ifdef WNT
|
class SMDS_EXPORT SMDS_VertexPosition:public SMDS_Position
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class SMDS_WNT_EXPORT SMDS_VertexPosition:public SMDS_Position
|
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -27,13 +27,15 @@
|
|||||||
#ifndef _SMDS_VolumeOfFaces_HeaderFile
|
#ifndef _SMDS_VolumeOfFaces_HeaderFile
|
||||||
#define _SMDS_VolumeOfFaces_HeaderFile
|
#define _SMDS_VolumeOfFaces_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshVolume.hxx"
|
#include "SMDS_MeshVolume.hxx"
|
||||||
#include "SMDS_MeshFace.hxx"
|
#include "SMDS_MeshFace.hxx"
|
||||||
#include "SMDS_Iterator.hxx"
|
#include "SMDS_Iterator.hxx"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
||||||
class SMDS_VolumeOfFaces:public SMDS_MeshVolume
|
class SMDS_EXPORT SMDS_VolumeOfFaces:public SMDS_MeshVolume
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -27,10 +27,11 @@
|
|||||||
#ifndef _SMDS_VolumeOfNodes_HeaderFile
|
#ifndef _SMDS_VolumeOfNodes_HeaderFile
|
||||||
#define _SMDS_VolumeOfNodes_HeaderFile
|
#define _SMDS_VolumeOfNodes_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
#include "SMDS_MeshVolume.hxx"
|
#include "SMDS_MeshVolume.hxx"
|
||||||
|
|
||||||
|
class SMDS_EXPORT SMDS_VolumeOfNodes:public SMDS_MeshVolume
|
||||||
class SMDS_VolumeOfNodes:public SMDS_MeshVolume
|
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -30,6 +30,8 @@
|
|||||||
#ifndef SMDS_VolumeTool_HeaderFile
|
#ifndef SMDS_VolumeTool_HeaderFile
|
||||||
#define SMDS_VolumeTool_HeaderFile
|
#define SMDS_VolumeTool_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMDS.hxx"
|
||||||
|
|
||||||
class SMDS_MeshElement;
|
class SMDS_MeshElement;
|
||||||
class SMDS_MeshNode;
|
class SMDS_MeshNode;
|
||||||
class SMDS_PolyhedralVolumeOfNodes;
|
class SMDS_PolyhedralVolumeOfNodes;
|
||||||
@ -37,18 +39,6 @@ class SMDS_PolyhedralVolumeOfNodes;
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
//#ifdef WNT
|
|
||||||
//#include <SALOME_WNT.hxx>
|
|
||||||
//#else
|
|
||||||
//#define SALOME_WNT_EXPORT
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
|
|
||||||
#define SMDS_WNT_EXPORT __declspec( dllexport )
|
|
||||||
#else
|
|
||||||
#define SMDS_WNT_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// =========================================================================
|
// =========================================================================
|
||||||
//
|
//
|
||||||
// Class providing topological and other information about SMDS_MeshVolume:
|
// Class providing topological and other information about SMDS_MeshVolume:
|
||||||
@ -57,7 +47,7 @@ class SMDS_PolyhedralVolumeOfNodes;
|
|||||||
//
|
//
|
||||||
// =========================================================================
|
// =========================================================================
|
||||||
|
|
||||||
class SMDS_WNT_EXPORT SMDS_VolumeTool
|
class SMDS_EXPORT SMDS_VolumeTool
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
39
src/SMDS/SMESH_SMDS.hxx
Executable file
39
src/SMDS/SMESH_SMDS.hxx
Executable file
@ -0,0 +1,39 @@
|
|||||||
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
//
|
||||||
|
// This library is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
// License as published by the Free Software Foundation; either
|
||||||
|
// version 2.1 of the License.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
//
|
||||||
|
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// File : SMESH_SMDS.hxx
|
||||||
|
// Author : Alexander A. BORODIN
|
||||||
|
// Module : SMESH
|
||||||
|
|
||||||
|
#ifndef _SMESH_SMDS_HXX_
|
||||||
|
#define _SMESH_SMDS_HXX_
|
||||||
|
|
||||||
|
#ifdef WNT
|
||||||
|
#if defined SMDS_EXPORTS
|
||||||
|
#define SMDS_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define SMDS_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define SMDS_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -50,7 +50,8 @@ EXPORT_HEADERS= \
|
|||||||
SMESH_IndexedDataMapOfShapeIndexedMapOfShape.hxx \
|
SMESH_IndexedDataMapOfShapeIndexedMapOfShape.hxx \
|
||||||
SMESH_DataMapOfElemPtrSequenceOfElemPtr.hxx \
|
SMESH_DataMapOfElemPtrSequenceOfElemPtr.hxx \
|
||||||
SMESH_SequenceOfElemPtr.hxx \
|
SMESH_SequenceOfElemPtr.hxx \
|
||||||
SMESH_SequenceOfNode.hxx
|
SMESH_SequenceOfNode.hxx \
|
||||||
|
SMESH_SMESH.hxx
|
||||||
|
|
||||||
EXPORT_PYSCRIPTS =
|
EXPORT_PYSCRIPTS =
|
||||||
|
|
||||||
|
@ -26,11 +26,12 @@
|
|||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
#include "SMESH_1D_Algo.hxx"
|
#include "SMESH_1D_Algo.hxx"
|
||||||
#include "SMESH_Gen.hxx"
|
#include "SMESH_Gen.hxx"
|
||||||
#include "SMESH_subMesh.hxx"
|
#include "SMESH_subMesh.hxx"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
|
@ -29,9 +29,11 @@
|
|||||||
#ifndef _SMESH_1D_ALGO_HXX_
|
#ifndef _SMESH_1D_ALGO_HXX_
|
||||||
#define _SMESH_1D_ALGO_HXX_
|
#define _SMESH_1D_ALGO_HXX_
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include "SMESH_Algo.hxx"
|
#include "SMESH_Algo.hxx"
|
||||||
|
|
||||||
class SMESH_1D_Algo:
|
class SMESH_EXPORT SMESH_1D_Algo:
|
||||||
public SMESH_Algo
|
public SMESH_Algo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -26,13 +26,14 @@
|
|||||||
// 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"
|
||||||
#include "SMESH_subMesh.hxx"
|
#include "SMESH_subMesh.hxx"
|
||||||
|
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
|
@ -29,10 +29,12 @@
|
|||||||
#ifndef _SMESH_2D_ALGO_HXX_
|
#ifndef _SMESH_2D_ALGO_HXX_
|
||||||
#define _SMESH_2D_ALGO_HXX_
|
#define _SMESH_2D_ALGO_HXX_
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include "SMESH_Algo.hxx"
|
#include "SMESH_Algo.hxx"
|
||||||
#include <TopoDS_Wire.hxx>
|
#include <TopoDS_Wire.hxx>
|
||||||
|
|
||||||
class SMESH_2D_Algo:
|
class SMESH_EXPORT SMESH_2D_Algo:
|
||||||
public SMESH_Algo
|
public SMESH_Algo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -26,13 +26,14 @@
|
|||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
#include "SMESH_3D_Algo.hxx"
|
#include "SMESH_3D_Algo.hxx"
|
||||||
#include "SMESH_Gen.hxx"
|
#include "SMESH_Gen.hxx"
|
||||||
#include "SMESH_subMesh.hxx"
|
#include "SMESH_subMesh.hxx"
|
||||||
|
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
|
@ -29,9 +29,11 @@
|
|||||||
#ifndef _SMESH_3D_ALGO_HXX_
|
#ifndef _SMESH_3D_ALGO_HXX_
|
||||||
#define _SMESH_3D_ALGO_HXX_
|
#define _SMESH_3D_ALGO_HXX_
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include "SMESH_Algo.hxx"
|
#include "SMESH_Algo.hxx"
|
||||||
|
|
||||||
class SMESH_3D_Algo:
|
class SMESH_EXPORT SMESH_3D_Algo:
|
||||||
public SMESH_Algo
|
public SMESH_Algo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
#include "SMESH_Algo.hxx"
|
#include "SMESH_Algo.hxx"
|
||||||
#include "SMESH_Gen.hxx"
|
#include "SMESH_Gen.hxx"
|
||||||
#include "SMESH_Mesh.hxx"
|
#include "SMESH_Mesh.hxx"
|
||||||
@ -55,6 +54,8 @@ using namespace std;
|
|||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#ifndef _SMESH_ALGO_HXX_
|
#ifndef _SMESH_ALGO_HXX_
|
||||||
#define _SMESH_ALGO_HXX_
|
#define _SMESH_ALGO_HXX_
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include "SMESH_Hypothesis.hxx"
|
#include "SMESH_Hypothesis.hxx"
|
||||||
|
|
||||||
#include <TopoDS_Shape.hxx>
|
#include <TopoDS_Shape.hxx>
|
||||||
@ -44,7 +46,7 @@ class TopoDS_Face;
|
|||||||
class TopoDS_Shape;
|
class TopoDS_Shape;
|
||||||
class SMESHDS_Mesh;
|
class SMESHDS_Mesh;
|
||||||
|
|
||||||
class SMESH_Algo:public SMESH_Hypothesis
|
class SMESH_EXPORT SMESH_Algo:public SMESH_Hypothesis
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMESH_Algo(int hypId, int studyId, SMESH_Gen * gen);
|
SMESH_Algo(int hypId, int studyId, SMESH_Gen * gen);
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#ifndef SMESH_Block_HeaderFile
|
#ifndef SMESH_Block_HeaderFile
|
||||||
#define SMESH_Block_HeaderFile
|
#define SMESH_Block_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include <Geom2d_Curve.hxx>
|
#include <Geom2d_Curve.hxx>
|
||||||
#include <Geom_Curve.hxx>
|
#include <Geom_Curve.hxx>
|
||||||
#include <Geom_Surface.hxx>
|
#include <Geom_Surface.hxx>
|
||||||
@ -52,7 +54,7 @@ class SMDS_MeshNode;
|
|||||||
// parameters inside the block and vice versa
|
// parameters inside the block and vice versa
|
||||||
// =========================================================
|
// =========================================================
|
||||||
|
|
||||||
class SMESH_Block: public math_FunctionSetWithDerivatives
|
class SMESH_EXPORT SMESH_Block: public math_FunctionSetWithDerivatives
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum TShapeID { // ids of the block sub-shapes
|
enum TShapeID { // ids of the block sub-shapes
|
||||||
|
@ -26,10 +26,13 @@
|
|||||||
#ifndef SMESH_DataMapOfElemPtrSequenceOfElemPtr_HeaderFile
|
#ifndef SMESH_DataMapOfElemPtrSequenceOfElemPtr_HeaderFile
|
||||||
#define SMESH_DataMapOfElemPtrSequenceOfElemPtr_HeaderFile
|
#define SMESH_DataMapOfElemPtrSequenceOfElemPtr_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include <SMESH_SequenceOfElemPtr.hxx>
|
#include <SMESH_SequenceOfElemPtr.hxx>
|
||||||
|
|
||||||
#include <NCollection_DefineDataMap.hxx>
|
#include <NCollection_DefineDataMap.hxx>
|
||||||
|
|
||||||
|
SMESH_EXPORT
|
||||||
inline Standard_Integer HashCode(SMDS_MeshElementPtr theElem,
|
inline Standard_Integer HashCode(SMDS_MeshElementPtr theElem,
|
||||||
const Standard_Integer theUpper)
|
const Standard_Integer theUpper)
|
||||||
{
|
{
|
||||||
@ -37,6 +40,7 @@ inline Standard_Integer HashCode(SMDS_MeshElementPtr theElem,
|
|||||||
return HashCode(anElem,theUpper);
|
return HashCode(anElem,theUpper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SMESH_EXPORT
|
||||||
inline Standard_Boolean IsEqual(SMDS_MeshElementPtr theOne,
|
inline Standard_Boolean IsEqual(SMDS_MeshElementPtr theOne,
|
||||||
SMDS_MeshElementPtr theTwo)
|
SMDS_MeshElementPtr theTwo)
|
||||||
{
|
{
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#ifndef _SMESH_GEN_HXX_
|
#ifndef _SMESH_GEN_HXX_
|
||||||
#define _SMESH_GEN_HXX_
|
#define _SMESH_GEN_HXX_
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include "Utils_SALOME_Exception.hxx"
|
#include "Utils_SALOME_Exception.hxx"
|
||||||
|
|
||||||
#include "SMESH_Hypothesis.hxx"
|
#include "SMESH_Hypothesis.hxx"
|
||||||
@ -52,7 +54,7 @@ typedef struct studyContextStruct
|
|||||||
SMESHDS_Document * myDocument;
|
SMESHDS_Document * myDocument;
|
||||||
} StudyContextStruct;
|
} StudyContextStruct;
|
||||||
|
|
||||||
class SMESH_Gen
|
class SMESH_EXPORT SMESH_Gen
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMESH_Gen();
|
SMESH_Gen();
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
#ifndef _SMESH_Group_HeaderFile
|
#ifndef _SMESH_Group_HeaderFile
|
||||||
#define _SMESH_Group_HeaderFile
|
#define _SMESH_Group_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include <SMDSAbs_ElementType.hxx>
|
#include <SMDSAbs_ElementType.hxx>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <TopoDS_Shape.hxx>
|
#include <TopoDS_Shape.hxx>
|
||||||
@ -36,7 +38,7 @@
|
|||||||
class SMESHDS_GroupBase;
|
class SMESHDS_GroupBase;
|
||||||
class SMESH_Mesh;
|
class SMESH_Mesh;
|
||||||
|
|
||||||
class SMESH_Group
|
class SMESH_EXPORT SMESH_Group
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#ifndef SMESH_HypoFilter_HeaderFile
|
#ifndef SMESH_HypoFilter_HeaderFile
|
||||||
#define SMESH_HypoFilter_HeaderFile
|
#define SMESH_HypoFilter_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
// ===========================
|
// ===========================
|
||||||
// Filter of SMESH_Hypothesis
|
// Filter of SMESH_Hypothesis
|
||||||
// ===========================
|
// ===========================
|
||||||
@ -40,7 +42,7 @@
|
|||||||
class SMESH_HypoFilter;
|
class SMESH_HypoFilter;
|
||||||
class SMESH_Hypothesis;
|
class SMESH_Hypothesis;
|
||||||
|
|
||||||
class SMESH_HypoPredicate {
|
class SMESH_EXPORT SMESH_HypoPredicate {
|
||||||
public:
|
public:
|
||||||
virtual bool IsOk(const SMESH_Hypothesis* aHyp,
|
virtual bool IsOk(const SMESH_Hypothesis* aHyp,
|
||||||
const TopoDS_Shape& aShape) const = 0;
|
const TopoDS_Shape& aShape) const = 0;
|
||||||
|
@ -26,13 +26,13 @@
|
|||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
using namespace std;
|
|
||||||
#include "SMESH_Hypothesis.hxx"
|
#include "SMESH_Hypothesis.hxx"
|
||||||
#include "SMESH_Gen.hxx"
|
#include "SMESH_Gen.hxx"
|
||||||
#include "SMESH_subMesh.hxx"
|
#include "SMESH_subMesh.hxx"
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
|
@ -29,13 +29,15 @@
|
|||||||
#ifndef _SMESH_HYPOTHESIS_HXX_
|
#ifndef _SMESH_HYPOTHESIS_HXX_
|
||||||
#define _SMESH_HYPOTHESIS_HXX_
|
#define _SMESH_HYPOTHESIS_HXX_
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include "SMESHDS_Hypothesis.hxx"
|
#include "SMESHDS_Hypothesis.hxx"
|
||||||
|
|
||||||
class SMESH_Gen;
|
class SMESH_Gen;
|
||||||
class TopoDS_Shape;
|
class TopoDS_Shape;
|
||||||
class SMESH_Mesh;
|
class SMESH_Mesh;
|
||||||
|
|
||||||
class SMESH_Hypothesis: public SMESHDS_Hypothesis
|
class SMESH_EXPORT SMESH_Hypothesis: public SMESHDS_Hypothesis
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum Hypothesis_Status // in the order of severity
|
enum Hypothesis_Status // in the order of severity
|
||||||
|
@ -26,10 +26,13 @@
|
|||||||
#ifndef SMESH_IndexedMapOfShape_HeaderFile
|
#ifndef SMESH_IndexedMapOfShape_HeaderFile
|
||||||
#define SMESH_IndexedMapOfShape_HeaderFile
|
#define SMESH_IndexedMapOfShape_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include <NCollection_DefineIndexedMap.hxx>
|
#include <NCollection_DefineIndexedMap.hxx>
|
||||||
|
|
||||||
#include <TopoDS_Shape.hxx>
|
#include <TopoDS_Shape.hxx>
|
||||||
|
|
||||||
|
SMESH_EXPORT
|
||||||
inline Standard_Boolean IsEqual(const TopoDS_Shape& S1,
|
inline Standard_Boolean IsEqual(const TopoDS_Shape& S1,
|
||||||
const TopoDS_Shape& S2)
|
const TopoDS_Shape& S2)
|
||||||
{
|
{
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#ifndef _SMESH_MESH_HXX_
|
#ifndef _SMESH_MESH_HXX_
|
||||||
#define _SMESH_MESH_HXX_
|
#define _SMESH_MESH_HXX_
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include "SMESH_Hypothesis.hxx"
|
#include "SMESH_Hypothesis.hxx"
|
||||||
//#include "SMESH_subMesh.hxx"
|
//#include "SMESH_subMesh.hxx"
|
||||||
|
|
||||||
@ -74,7 +76,7 @@ class SMESH_HypoFilter;
|
|||||||
//typedef NMTTools_IndexedDataMapOfShapeIndexedMapOfShape IndexedMapOfChain;
|
//typedef NMTTools_IndexedDataMapOfShapeIndexedMapOfShape IndexedMapOfChain;
|
||||||
typedef SMESH_IndexedDataMapOfShapeIndexedMapOfShape IndexedMapOfChain;
|
typedef SMESH_IndexedDataMapOfShapeIndexedMapOfShape IndexedMapOfChain;
|
||||||
|
|
||||||
class SMESH_Mesh
|
class SMESH_EXPORT SMESH_Mesh
|
||||||
{
|
{
|
||||||
SMESH_Mesh();
|
SMESH_Mesh();
|
||||||
SMESH_Mesh(const SMESH_Mesh&);
|
SMESH_Mesh(const SMESH_Mesh&);
|
||||||
|
@ -1969,8 +1969,8 @@ void SMESH_MeshEditor::Smooth (set<const SMDS_MeshElement*> & theElems,
|
|||||||
// iNotSame is where prevNodes and nextNodes are different
|
// iNotSame is where prevNodes and nextNodes are different
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
static bool isReverse(const SMDS_MeshNode* prevNodes[],
|
static bool isReverse(vector<const SMDS_MeshNode*> prevNodes,
|
||||||
const SMDS_MeshNode* nextNodes[],
|
vector<const SMDS_MeshNode*> nextNodes,
|
||||||
const int nbNodes,
|
const int nbNodes,
|
||||||
const int iNotSame)
|
const int iNotSame)
|
||||||
{
|
{
|
||||||
@ -2005,8 +2005,12 @@ static void sweepElement(SMESHDS_Mesh* aMesh,
|
|||||||
// Loop on elem nodes:
|
// Loop on elem nodes:
|
||||||
// find new nodes and detect same nodes indices
|
// find new nodes and detect same nodes indices
|
||||||
int nbNodes = elem->NbNodes();
|
int nbNodes = elem->NbNodes();
|
||||||
list<const SMDS_MeshNode*>::const_iterator itNN[ nbNodes ];
|
//list<const SMDS_MeshNode*>::const_iterator itNN[ nbNodes ];
|
||||||
const SMDS_MeshNode* prevNod[ nbNodes ], *nextNod[ nbNodes ];
|
vector<list<const SMDS_MeshNode*>::const_iterator> itNN( nbNodes );
|
||||||
|
//const SMDS_MeshNode* prevNod[ nbNodes ], *nextNod[ nbNodes ];
|
||||||
|
vector<const SMDS_MeshNode*> prevNod( nbNodes );
|
||||||
|
vector<const SMDS_MeshNode*> nextNod( nbNodes );
|
||||||
|
|
||||||
int iNode, nbSame = 0, iNotSameNode = 0, iSameNode = 0;
|
int iNode, nbSame = 0, iNotSameNode = 0, iSameNode = 0;
|
||||||
|
|
||||||
for ( iNode = 0; iNode < nbNodes; iNode++ )
|
for ( iNode = 0; iNode < nbNodes; iNode++ )
|
||||||
@ -3192,7 +3196,8 @@ int SMESH_MeshEditor::SimplifyFace (const vector<const SMDS_MeshNode *> faceNode
|
|||||||
set<const SMDS_MeshNode*> nodeSet;
|
set<const SMDS_MeshNode*> nodeSet;
|
||||||
|
|
||||||
// get simple seq of nodes
|
// get simple seq of nodes
|
||||||
const SMDS_MeshNode* simpleNodes[ nbNodes ];
|
//const SMDS_MeshNode* simpleNodes[ nbNodes ];
|
||||||
|
vector<const SMDS_MeshNode*> simpleNodes( nbNodes );
|
||||||
int iSimple = 0, nbUnique = 0;
|
int iSimple = 0, nbUnique = 0;
|
||||||
|
|
||||||
simpleNodes[iSimple++] = faceNodes[0];
|
simpleNodes[iSimple++] = faceNodes[0];
|
||||||
@ -3304,8 +3309,12 @@ void SMESH_MeshEditor::MergeNodes (TListOfListOfNodes & theGroupsOfNodes)
|
|||||||
int aShapeId = FindShape( elem );
|
int aShapeId = FindShape( elem );
|
||||||
|
|
||||||
set<const SMDS_MeshNode*> nodeSet;
|
set<const SMDS_MeshNode*> nodeSet;
|
||||||
const SMDS_MeshNode* curNodes[ nbNodes ], *uniqueNodes[ nbNodes ];
|
//const SMDS_MeshNode* curNodes[ nbNodes ], *uniqueNodes[ nbNodes ];
|
||||||
int iUnique = 0, iCur = 0, nbRepl = 0, iRepl [ nbNodes ];
|
const SMDS_MeshNode** curNodes = new const SMDS_MeshNode*[ nbNodes ];
|
||||||
|
const SMDS_MeshNode** uniqueNodes = new const SMDS_MeshNode*[ nbNodes ];
|
||||||
|
|
||||||
|
int iUnique = 0, iCur = 0, nbRepl = 0;
|
||||||
|
vector<int> iRepl( nbNodes );
|
||||||
|
|
||||||
// get new seq of nodes
|
// get new seq of nodes
|
||||||
SMDS_ElemIteratorPtr itN = elem->nodesIterator();
|
SMDS_ElemIteratorPtr itN = elem->nodesIterator();
|
||||||
@ -3691,13 +3700,14 @@ void SMESH_MeshEditor::MergeNodes (TListOfListOfNodes & theGroupsOfNodes)
|
|||||||
rmElemIds.push_back( elem->GetID() );
|
rmElemIds.push_back( elem->GetID() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete curNodes;
|
||||||
|
delete uniqueNodes;
|
||||||
} // loop on elements
|
} // loop on elements
|
||||||
|
|
||||||
// Remove equal nodes and bad elements
|
// Remove equal nodes and bad elements
|
||||||
|
|
||||||
Remove( rmNodeIds, true );
|
Remove( rmNodeIds, true );
|
||||||
Remove( rmElemIds, false );
|
Remove( rmElemIds, false );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -3771,7 +3781,9 @@ const SMDS_MeshElement*
|
|||||||
continue;
|
continue;
|
||||||
// get face nodes and find index of n1
|
// get face nodes and find index of n1
|
||||||
int i1, nbN = elem->NbNodes(), iNode = 0;
|
int i1, nbN = elem->NbNodes(), iNode = 0;
|
||||||
const SMDS_MeshNode* faceNodes[ nbN ], *n;
|
//const SMDS_MeshNode* faceNodes[ nbN ], *n;
|
||||||
|
vector<const SMDS_MeshNode*> faceNodes( nbN );
|
||||||
|
const SMDS_MeshNode* n;
|
||||||
SMDS_ElemIteratorPtr nIt = elem->nodesIterator();
|
SMDS_ElemIteratorPtr nIt = elem->nodesIterator();
|
||||||
while ( nIt->more() ) {
|
while ( nIt->more() ) {
|
||||||
faceNodes[ iNode ] = static_cast<const SMDS_MeshNode*>( nIt->next() );
|
faceNodes[ iNode ] = static_cast<const SMDS_MeshNode*>( nIt->next() );
|
||||||
@ -4105,7 +4117,8 @@ SMESH_MeshEditor::Sew_Error
|
|||||||
const SMDS_MeshElement* elem = invElemIt->next();
|
const SMDS_MeshElement* elem = invElemIt->next();
|
||||||
// prepare data for a loop on links, of a face or a volume
|
// prepare data for a loop on links, of a face or a volume
|
||||||
int iPrevNode, iNode = 0, nbNodes = elem->NbNodes();
|
int iPrevNode, iNode = 0, nbNodes = elem->NbNodes();
|
||||||
const SMDS_MeshNode* faceNodes[ nbNodes ];
|
//const SMDS_MeshNode* faceNodes[ nbNodes ];
|
||||||
|
const SMDS_MeshNode** faceNodes = new const SMDS_MeshNode*[ nbNodes ];
|
||||||
bool isVolume = volume.Set( elem );
|
bool isVolume = volume.Set( elem );
|
||||||
const SMDS_MeshNode** nodes = isVolume ? volume.GetNodes() : faceNodes;
|
const SMDS_MeshNode** nodes = isVolume ? volume.GetNodes() : faceNodes;
|
||||||
if ( isVolume ) // --volume
|
if ( isVolume ) // --volume
|
||||||
@ -4161,6 +4174,7 @@ SMESH_MeshEditor::Sew_Error
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
delete faceNodes;
|
||||||
} // loop on inverse elements of prevSideNode
|
} // loop on inverse elements of prevSideNode
|
||||||
|
|
||||||
if ( !sideNode ) {
|
if ( !sideNode ) {
|
||||||
@ -4222,7 +4236,10 @@ SMESH_MeshEditor::Sew_Error
|
|||||||
// insert new nodes into the border and the side to get equal nb of segments
|
// insert new nodes into the border and the side to get equal nb of segments
|
||||||
|
|
||||||
// get normalized parameters of nodes on the borders
|
// get normalized parameters of nodes on the borders
|
||||||
double param[ 2 ][ maxNbNodes ];
|
//double param[ 2 ][ maxNbNodes ];
|
||||||
|
double* param[ 2 ];
|
||||||
|
param[0] = new double [ maxNbNodes ];
|
||||||
|
param[1] = new double [ maxNbNodes ];
|
||||||
int iNode, iBord;
|
int iNode, iBord;
|
||||||
for ( iBord = 0; iBord < 2; iBord++ ) { // loop on 2 borders
|
for ( iBord = 0; iBord < 2; iBord++ ) { // loop on 2 borders
|
||||||
list< const SMDS_MeshNode* >& nodes = nSide[ iBord ];
|
list< const SMDS_MeshNode* >& nodes = nSide[ iBord ];
|
||||||
@ -4383,6 +4400,8 @@ SMESH_MeshEditor::Sew_Error
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete param[0];
|
||||||
|
delete param[1];
|
||||||
} // end: insert new nodes
|
} // end: insert new nodes
|
||||||
|
|
||||||
MergeNodes ( nodeGroupsToMerge );
|
MergeNodes ( nodeGroupsToMerge );
|
||||||
@ -4407,7 +4426,8 @@ void SMESH_MeshEditor::InsertNodesIntoLink(const SMDS_MeshElement* theFace,
|
|||||||
// find indices of 2 link nodes and of the rest nodes
|
// find indices of 2 link nodes and of the rest nodes
|
||||||
int iNode = 0, il1, il2, i3, i4;
|
int iNode = 0, il1, il2, i3, i4;
|
||||||
il1 = il2 = i3 = i4 = -1;
|
il1 = il2 = i3 = i4 = -1;
|
||||||
const SMDS_MeshNode* nodes[ theFace->NbNodes() ];
|
//const SMDS_MeshNode* nodes[ theFace->NbNodes() ];
|
||||||
|
vector<const SMDS_MeshNode*> nodes( theFace->NbNodes() );
|
||||||
SMDS_ElemIteratorPtr nodeIt = theFace->nodesIterator();
|
SMDS_ElemIteratorPtr nodeIt = theFace->nodesIterator();
|
||||||
while ( nodeIt->more() ) {
|
while ( nodeIt->more() ) {
|
||||||
const SMDS_MeshNode* n = static_cast<const SMDS_MeshNode*>( nodeIt->next() );
|
const SMDS_MeshNode* n = static_cast<const SMDS_MeshNode*>( nodeIt->next() );
|
||||||
@ -4489,7 +4509,8 @@ void SMESH_MeshEditor::InsertNodesIntoLink(const SMDS_MeshElement* theFace,
|
|||||||
|
|
||||||
// put aNodesToInsert between theBetweenNode1 and theBetweenNode2
|
// put aNodesToInsert between theBetweenNode1 and theBetweenNode2
|
||||||
int nbLinkNodes = 2 + aNodesToInsert.size();
|
int nbLinkNodes = 2 + aNodesToInsert.size();
|
||||||
const SMDS_MeshNode* linkNodes[ nbLinkNodes ];
|
//const SMDS_MeshNode* linkNodes[ nbLinkNodes ];
|
||||||
|
vector<const SMDS_MeshNode*> linkNodes( nbLinkNodes );
|
||||||
linkNodes[ 0 ] = nodes[ il1 ];
|
linkNodes[ 0 ] = nodes[ il1 ];
|
||||||
linkNodes[ nbLinkNodes - 1 ] = nodes[ il2 ];
|
linkNodes[ nbLinkNodes - 1 ] = nodes[ il2 ];
|
||||||
list<const SMDS_MeshNode*>::iterator nIt = aNodesToInsert.begin();
|
list<const SMDS_MeshNode*>::iterator nIt = aNodesToInsert.begin();
|
||||||
|
@ -30,6 +30,8 @@
|
|||||||
#ifndef SMESH_MeshEditor_HeaderFile
|
#ifndef SMESH_MeshEditor_HeaderFile
|
||||||
#define SMESH_MeshEditor_HeaderFile
|
#define SMESH_MeshEditor_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include "SMESH_Mesh.hxx"
|
#include "SMESH_Mesh.hxx"
|
||||||
#include "SMESH_Controls.hxx"
|
#include "SMESH_Controls.hxx"
|
||||||
#include "SMESH_SequenceOfNode.hxx"
|
#include "SMESH_SequenceOfNode.hxx"
|
||||||
@ -49,7 +51,7 @@ class gp_Ax1;
|
|||||||
class gp_Vec;
|
class gp_Vec;
|
||||||
class gp_Pnt;
|
class gp_Pnt;
|
||||||
|
|
||||||
class SMESH_MeshEditor {
|
class SMESH_EXPORT SMESH_MeshEditor {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
SMESH_MeshEditor( SMESH_Mesh* theMesh );
|
SMESH_MeshEditor( SMESH_Mesh* theMesh );
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
#ifndef SMESH_Pattern_HeaderFile
|
#ifndef SMESH_Pattern_HeaderFile
|
||||||
#define SMESH_Pattern_HeaderFile
|
#define SMESH_Pattern_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <map>
|
#include <map>
|
||||||
@ -53,7 +55,7 @@ class TopoDS_Edge;
|
|||||||
// of 6 faces.
|
// of 6 faces.
|
||||||
//
|
//
|
||||||
|
|
||||||
class SMESH_Pattern {
|
class SMESH_EXPORT SMESH_Pattern {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
SMESH_Pattern ();
|
SMESH_Pattern ();
|
||||||
|
39
src/SMESH/SMESH_SMESH.hxx
Executable file
39
src/SMESH/SMESH_SMESH.hxx
Executable file
@ -0,0 +1,39 @@
|
|||||||
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
//
|
||||||
|
// This library is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
// License as published by the Free Software Foundation; either
|
||||||
|
// version 2.1 of the License.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
//
|
||||||
|
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// File : SMESH_SMESH.hxx
|
||||||
|
// Author : Alexander A. BORODIN
|
||||||
|
// Module : SMESH
|
||||||
|
|
||||||
|
#ifndef _SMESH_SMESH_HXX_
|
||||||
|
#define _SMESH_SMESH_HXX_
|
||||||
|
|
||||||
|
#ifdef WNT
|
||||||
|
#if defined SMESH_EXPORTS
|
||||||
|
#define SMESH_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define SMESH_EXPORT __declspec( dllimport )
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define SMESH_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -26,6 +26,8 @@
|
|||||||
#ifndef SMESH_SequenceOfElemPtr_HeaderFile
|
#ifndef SMESH_SequenceOfElemPtr_HeaderFile
|
||||||
#define SMESH_SequenceOfElemPtr_HeaderFile
|
#define SMESH_SequenceOfElemPtr_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include <NCollection_DefineSequence.hxx>
|
#include <NCollection_DefineSequence.hxx>
|
||||||
|
|
||||||
//#include <Handle_SMDS_MeshElement.hxx>
|
//#include <Handle_SMDS_MeshElement.hxx>
|
||||||
|
@ -26,6 +26,8 @@
|
|||||||
#ifndef SMESH_SequenceOfNode_HeaderFile
|
#ifndef SMESH_SequenceOfNode_HeaderFile
|
||||||
#define SMESH_SequenceOfNode_HeaderFile
|
#define SMESH_SequenceOfNode_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include <NCollection_DefineSequence.hxx>
|
#include <NCollection_DefineSequence.hxx>
|
||||||
|
|
||||||
typedef const SMDS_MeshNode* SMDS_MeshNodePtr;
|
typedef const SMDS_MeshNode* SMDS_MeshNodePtr;
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
#include "SMESH_subMesh.hxx"
|
#include "SMESH_subMesh.hxx"
|
||||||
#include "SMESH_Gen.hxx"
|
#include "SMESH_Gen.hxx"
|
||||||
#include "SMESH_Mesh.hxx"
|
#include "SMESH_Mesh.hxx"
|
||||||
@ -53,6 +52,8 @@ using namespace std;
|
|||||||
#include <TopTools_IndexedMapOfShape.hxx>
|
#include <TopTools_IndexedMapOfShape.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* default constructor:
|
* default constructor:
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#ifndef _SMESH_SUBMESH_HXX_
|
#ifndef _SMESH_SUBMESH_HXX_
|
||||||
#define _SMESH_SUBMESH_HXX_
|
#define _SMESH_SUBMESH_HXX_
|
||||||
|
|
||||||
|
#include "SMESH_SMESH.hxx"
|
||||||
|
|
||||||
#include "SMESHDS_Mesh.hxx"
|
#include "SMESHDS_Mesh.hxx"
|
||||||
#include "SMESHDS_SubMesh.hxx"
|
#include "SMESHDS_SubMesh.hxx"
|
||||||
#include "SMESH_Hypothesis.hxx"
|
#include "SMESH_Hypothesis.hxx"
|
||||||
@ -46,7 +48,7 @@ class SMESH_Hypothesis;
|
|||||||
class SMESH_Algo;
|
class SMESH_Algo;
|
||||||
class SMESH_Gen;
|
class SMESH_Gen;
|
||||||
|
|
||||||
class SMESH_subMesh
|
class SMESH_EXPORT SMESH_subMesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMESH_subMesh(int Id, SMESH_Mesh * father, SMESHDS_Mesh * meshDS,
|
SMESH_subMesh(int Id, SMESH_Mesh * father, SMESHDS_Mesh * meshDS,
|
||||||
|
@ -67,7 +67,8 @@ EXPORT_HEADERS= \
|
|||||||
SMESHDS_SubMesh.hxx \
|
SMESHDS_SubMesh.hxx \
|
||||||
SMESHDS_GroupBase.hxx \
|
SMESHDS_GroupBase.hxx \
|
||||||
SMESHDS_Group.hxx \
|
SMESHDS_Group.hxx \
|
||||||
SMESHDS_GroupOnGeom.hxx
|
SMESHDS_GroupOnGeom.hxx \
|
||||||
|
SMESH_SMESHDS.hxx
|
||||||
|
|
||||||
# additionnal information to compil and link file
|
# additionnal information to compil and link file
|
||||||
CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS)
|
CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS)
|
||||||
|
@ -27,11 +27,13 @@
|
|||||||
#ifndef _SMESHDS_Command_HeaderFile
|
#ifndef _SMESHDS_Command_HeaderFile
|
||||||
#define _SMESHDS_Command_HeaderFile
|
#define _SMESHDS_Command_HeaderFile
|
||||||
|
|
||||||
|
#include "SMESH_SMESHDS.hxx"
|
||||||
|
|
||||||
#include "SMESHDS_CommandType.hxx"
|
#include "SMESHDS_CommandType.hxx"
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class SMESHDS_Command
|
class SMESHDS_EXPORT SMESHDS_Command
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user