Go to the documentation of this file.
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;
void Point(const gp_XYZ &theParams, const TopoDS_Shape &theShape, gp_Pnt &thePnt)
TopoDS_Shape myEmptyShape
bool LoadIJNodes(StdMeshers_IJNodeMap &theIJNodes, const TopoDS_Face &theFace, const TopoDS_Edge &theBaseEdge, SMESHDS_Mesh *theMesh)
SMESH_ComputeErrorPtr myErrorStatus
SMESH_ComputeErrorPtr GetError() const
void SetShapeSupportID(const int theID)
void FindNodeOnShape(const TopoDS_Shape &aS, const gp_XYZ &aParams, const int z, StdMeshers_TNode &aTN)
int GetIndexOnLayer(const int aID)
std::map< double, std::vector< const SMDS_MeshNode * > > StdMeshers_IJNodeMap
void SetMesh(SMESH_Mesh &theMesh)
SMESH_MesherHelper * myTool
std::vector< gp_XYZ > myShapeXYZ
bool Compute(SMESH_Mesh &, const TopoDS_Shape &)
double SetHorizEdgeXYZ(const gp_XYZ &aBNXYZ, const int aFaceID, std::vector< const SMDS_MeshNode * > *&aCol1, std::vector< const SMDS_MeshNode * > *&aCol2)
const gp_XYZ & NormCoord() const
void ComputeParameters(const double &theU, const TopoDS_Shape &theShape, gp_XYZ &theXYZ)
void SetNormCoord(const gp_XYZ &theXYZ)
boost::shared_ptr< SMESH_ComputeError > SMESH_ComputeErrorPtr
TopTools_IndexedMapOfOrientedShape myShapeIDMap
void ShapeSupportID(const bool theIsUpperLayer, const SMESH_Block::TShapeID theBNSSID, SMESH_Block::TShapeID &theSSID)
StdMeshers_SMESHBlock myBlock
std::vector< StdMeshers_TNode > myTNodes
void Load(const TopoDS_Shell &theShell)
void SetTolerance(const double theTol3D)
std::map< SMESH_subMesh *, std::vector< int > > MapShapeNbElems
void Point(const gp_XYZ &theParams, gp_Pnt &thePnt)
void ComputeParameters(const gp_Pnt &thePnt, const TopoDS_Shape &theShape, gp_XYZ &theXYZ)
bool Evaluate(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap)
void Load(const TopoDS_Shell &theShell, const TopoDS_Vertex &theV000, const TopoDS_Vertex &theV001)
int ShapeID(const TopoDS_Shape &theShape)
void CreateNode(const bool theIsUpperLayer, const gp_XYZ &aParams, StdMeshers_TNode &aTN)
std::vector< StdMeshers_IJNodeMap > myWallNodesMaps
SMESH_ComputeErrorPtr GetComputeError() const
#define STDMESHERS_EXPORT
SMESH_Mesh * GetMesh() const
const SMDS_MeshNode * Node() const
std::vector< int > myIsEdgeForward
std::map< int, int > myConnectingMap
void SetNode(const SMDS_MeshNode *theNode)
const TopoDS_Shape & Shape(const int theID)
bool IsForwadEdge(const int theEdgeID)
int ShapeSupportID() const
void SetBaseNodeID(const int theID)
void ComputeParameters(const gp_Pnt &thePnt, gp_XYZ &theXYZ)