Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d5daad2
)
Win32 compatibility
author
ana
<ana@opencascade.com>
Mon, 10 Aug 2015 17:00:26 +0000
(20:00 +0300)
committer
ana
<ana@opencascade.com>
Mon, 10 Aug 2015 17:00:26 +0000
(20:00 +0300)
src/SMESH/SMESH_MeshEditor.hxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_MeshEditor.hxx
b/src/SMESH/SMESH_MeshEditor.hxx
index 6f75318e63ed7ef8b23773031831feafa6751c15..13bf425ab52c4e64225e600fe7261134d4893268 100644
(file)
--- a/
src/SMESH/SMESH_MeshEditor.hxx
+++ b/
src/SMESH/SMESH_MeshEditor.hxx
@@
-82,28
+82,28
@@
public:
double myBallDiameter;
std::vector<int> myPolyhedQuantities;
double myBallDiameter;
std::vector<int> myPolyhedQuantities;
- ElemFeatures( SMDSAbs_ElementType type=SMDSAbs_All, bool isPoly=false, bool isQuad=false )
+
SMESH_EXPORT
ElemFeatures( SMDSAbs_ElementType type=SMDSAbs_All, bool isPoly=false, bool isQuad=false )
:myType( type ), myIsPoly(isPoly), myIsQuad(isQuad), myID(-1), myBallDiameter(0) {}
:myType( type ), myIsPoly(isPoly), myIsQuad(isQuad), myID(-1), myBallDiameter(0) {}
- ElemFeatures& Init( SMDSAbs_ElementType type, bool isPoly=false, bool isQuad=false )
+
SMESH_EXPORT
ElemFeatures& Init( SMDSAbs_ElementType type, bool isPoly=false, bool isQuad=false )
{ myType = type; myIsPoly = isPoly; myIsQuad = isQuad; return *this; }
{ myType = type; myIsPoly = isPoly; myIsQuad = isQuad; return *this; }
- ElemFeatures& Init( const SMDS_MeshElement* elem, bool basicOnly=true );
+
SMESH_EXPORT
ElemFeatures& Init( const SMDS_MeshElement* elem, bool basicOnly=true );
- ElemFeatures& Init( double diameter )
+
SMESH_EXPORT
ElemFeatures& Init( double diameter )
{ myType = SMDSAbs_Ball; myBallDiameter = diameter; return *this; }
{ myType = SMDSAbs_Ball; myBallDiameter = diameter; return *this; }
- ElemFeatures& Init( vector<int>& quanities, bool isQuad=false )
+
SMESH_EXPORT
ElemFeatures& Init( vector<int>& quanities, bool isQuad=false )
{ myType = SMDSAbs_Volume; myIsPoly = 1; myIsQuad = isQuad;
myPolyhedQuantities.swap( quanities ); return *this; }
{ myType = SMDSAbs_Volume; myIsPoly = 1; myIsQuad = isQuad;
myPolyhedQuantities.swap( quanities ); return *this; }
- ElemFeatures& Init( const vector<int>& quanities, bool isQuad=false )
+
SMESH_EXPORT
ElemFeatures& Init( const vector<int>& quanities, bool isQuad=false )
{ myType = SMDSAbs_Volume; myIsPoly = 1; myIsQuad = isQuad;
myPolyhedQuantities = quanities; return *this; }
{ myType = SMDSAbs_Volume; myIsPoly = 1; myIsQuad = isQuad;
myPolyhedQuantities = quanities; return *this; }
- ElemFeatures& SetPoly(bool isPoly) { myIsPoly = isPoly; return *this; }
- ElemFeatures& SetQuad(bool isQuad) { myIsQuad = isQuad; return *this; }
- ElemFeatures& SetID (int ID) { myID = ID; return *this; }
+
SMESH_EXPORT
ElemFeatures& SetPoly(bool isPoly) { myIsPoly = isPoly; return *this; }
+
SMESH_EXPORT
ElemFeatures& SetQuad(bool isQuad) { myIsQuad = isQuad; return *this; }
+
SMESH_EXPORT
ElemFeatures& SetID (int ID) { myID = ID; return *this; }
};
/*!
};
/*!