26 #ifndef StdMeshers_Penta_3D_HeaderFile
27 #define StdMeshers_Penta_3D_HeaderFile
40 #include <TopoDS_Vertex.hxx>
41 #include <TopoDS_Shell.hxx>
42 #include <TopTools_IndexedMapOfOrientedShape.hxx>
43 #include <TColStd_MapOfInteger.hxx>
58 void Load (
const TopoDS_Shell& theShell);
60 void Load (
const TopoDS_Shell& theShell,
61 const TopoDS_Vertex& theV000,
62 const TopoDS_Vertex& theV001);
68 const TopoDS_Shape& theShape,
72 const TopoDS_Shape& theShape,
75 void Point(
const gp_XYZ& theParams,
78 void Point(
const gp_XYZ& theParams,
79 const TopoDS_Shape& theShape,
82 int ShapeID(
const TopoDS_Shape& theShape);
84 const TopoDS_Shape&
Shape(
const int theID);
118 myXYZ.SetCoord(99., 99., 99.);
132 myShapeSupportID=theID;
136 return myShapeSupportID;
168 #include <TopoDS_Shape.hxx>
180 if (myErrorStatus->IsOK())
182 return myErrorStatus->myName;
186 return myErrorStatus;
198 const TopoDS_Face& theFace,
199 const TopoDS_Edge& theBaseEdge,
222 std::vector<const SMDS_MeshNode*>*& aCol1,
223 std::vector<const SMDS_MeshNode*>*& aCol2);
230 const gp_XYZ& aParams,
235 const gp_XYZ& aParams,
249 myMesh=(
void *)&theMesh;
std::map< SMESH_subMesh *, std::vector< int > > MapShapeNbElems
boost::shared_ptr< SMESH_ComputeError > SMESH_ComputeErrorPtr
#define STDMESHERS_EXPORT
std::map< double, std::vector< const SMDS_MeshNode * > > StdMeshers_IJNodeMap
int GetIndexOnLayer(const int aID)
void SetMesh(SMESH_Mesh &theMesh)
bool Compute(SMESH_Mesh &, const TopoDS_Shape &)
SMESH_MesherHelper * myTool
bool Evaluate(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap)
std::map< int, int > myConnectingMap
std::vector< StdMeshers_IJNodeMap > myWallNodesMaps
std::vector< StdMeshers_TNode > myTNodes
void FindNodeOnShape(const TopoDS_Shape &aS, const gp_XYZ &aParams, const int z, StdMeshers_TNode &aTN)
double SetHorizEdgeXYZ(const gp_XYZ &aBNXYZ, const int aFaceID, std::vector< const SMDS_MeshNode * > *&aCol1, std::vector< const SMDS_MeshNode * > *&aCol2)
void ShapeSupportID(const bool theIsUpperLayer, const SMESH_Block::TShapeID theBNSSID, SMESH_Block::TShapeID &theSSID)
SMESH_ComputeErrorPtr GetComputeError() const
SMESH_Mesh * GetMesh() const
StdMeshers_SMESHBlock myBlock
void SetTolerance(const double theTol3D)
std::vector< gp_XYZ > myShapeXYZ
void CreateNode(const bool theIsUpperLayer, const gp_XYZ &aParams, StdMeshers_TNode &aTN)
bool LoadIJNodes(StdMeshers_IJNodeMap &theIJNodes, const TopoDS_Face &theFace, const TopoDS_Edge &theBaseEdge, SMESHDS_Mesh *theMesh)
SMESH_ComputeErrorPtr myErrorStatus
const TopoDS_Shape & Shape(const int theID)
void ComputeParameters(const gp_Pnt &thePnt, gp_XYZ &theXYZ)
int ShapeID(const TopoDS_Shape &theShape)
TopoDS_Shape myEmptyShape
void Point(const gp_XYZ &theParams, gp_Pnt &thePnt)
void Load(const TopoDS_Shell &theShell, const TopoDS_Vertex &theV000, const TopoDS_Vertex &theV001)
void Point(const gp_XYZ &theParams, const TopoDS_Shape &theShape, gp_Pnt &thePnt)
bool IsForwadEdge(const int theEdgeID)
TopTools_IndexedMapOfOrientedShape myShapeIDMap
void ComputeParameters(const double &theU, const TopoDS_Shape &theShape, gp_XYZ &theXYZ)
std::vector< int > myIsEdgeForward
void ComputeParameters(const gp_Pnt &thePnt, const TopoDS_Shape &theShape, gp_XYZ &theXYZ)
SMESH_ComputeErrorPtr GetError() const
void Load(const TopoDS_Shell &theShell)
const gp_XYZ & NormCoord() const
int ShapeSupportID() const
void SetBaseNodeID(const int theID)
void SetNormCoord(const gp_XYZ &theXYZ)
void SetNode(const SMDS_MeshNode *theNode)
void SetShapeSupportID(const int theID)
const SMDS_MeshNode * Node() const