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);
64 void ComputeParameters(
const gp_Pnt& thePnt,
67 void ComputeParameters(
const gp_Pnt& thePnt,
68 const TopoDS_Shape& theShape,
71 void ComputeParameters(
const double& theU,
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);
88 bool IsForwadEdge(
const int theEdgeID);
90 int ErrorStatus()
const;
118 myXYZ.SetCoord(99., 99., 99.);
132 myShapeSupportID=theID;
136 return myShapeSupportID;
168 #include <TopoDS_Shape.hxx> 177 bool Compute(
SMESH_Mesh& ,
const TopoDS_Shape& );
180 if (myErrorStatus->IsOK())
182 return myErrorStatus->myName;
186 return myErrorStatus;
198 const TopoDS_Face& theFace,
199 const TopoDS_Edge& theBaseEdge,
208 bool Evaluate(
SMESH_Mesh & aMesh,
const TopoDS_Shape & aShape,
220 double SetHorizEdgeXYZ(
const gp_XYZ& aBNXYZ,
222 std::vector<const SMDS_MeshNode*>*& aCol1,
223 std::vector<const SMDS_MeshNode*>*& aCol2);
225 void ShapeSupportID(
const bool theIsUpperLayer,
229 void FindNodeOnShape(
const TopoDS_Shape& aS,
230 const gp_XYZ& aParams,
234 void CreateNode(
const bool theIsUpperLayer,
235 const gp_XYZ& aParams,
238 void ClearMeshOnFxy1();
240 void MakeMeshOnFxy1();
242 void MakeConnectingMap();
244 int GetIndexOnLayer(
const int aID);
246 void MakeVolumeMesh();
249 myMesh=(
void *)&theMesh;
std::map< double, std::vector< const SMDS_MeshNode * > > StdMeshers_IJNodeMap
void SetShapeSupportID(const int theID)
SMESH_ComputeErrorPtr GetComputeError() const
std::map< int, int > myConnectingMap
void SetBaseNodeID(const int theID)
std::vector< int > myIsEdgeForward
boost::shared_ptr< SMESH_ComputeError > SMESH_ComputeErrorPtr
std::vector< StdMeshers_TNode > myTNodes
SMESH_Mesh * GetMesh() const
void SetMesh(SMESH_Mesh &theMesh)
void SetNormCoord(const gp_XYZ &theXYZ)
SMESH_ComputeErrorPtr myErrorStatus
const gp_XYZ & NormCoord() const
std::vector< StdMeshers_IJNodeMap > myWallNodesMaps
StdMeshers_SMESHBlock myBlock
#define STDMESHERS_EXPORT
const SMDS_MeshNode * Node() const
SMESH_MesherHelper * myTool
std::map< SMESH_subMesh *, std::vector< int > > MapShapeNbElems
void SetNode(const SMDS_MeshNode *theNode)
std::vector< gp_XYZ > myShapeXYZ
TopoDS_Shape myEmptyShape
int ShapeSupportID() const
void SetTolerance(const double theTol3D)
TopTools_IndexedMapOfOrientedShape myShapeIDMap