SALOME - SMESH
|
#include <SMESH_Pattern.hxx>
Data Structures | |
struct | TPoint |
Public Member Functions | |
SMESH_Pattern () | |
void | Clear () |
bool | Load (const char *theFileContents) |
bool | Load (SMESH_Mesh *theMesh, const TopoDS_Face &theFace, bool theProject=false) |
bool | Load (SMESH_Mesh *theMesh, const TopoDS_Shell &theBlock) |
bool | Save (std::ostream &theFile) |
bool | Apply (const TopoDS_Face &theFace, const TopoDS_Vertex &theVertexOnKeyPoint1, const bool theReverse) |
bool | Apply (const TopoDS_Shell &theBlock, const TopoDS_Vertex &theVertex000, const TopoDS_Vertex &theVertex001) |
bool | Apply (const SMDS_MeshFace *theFace, const int theNodeIndexOnKeyPoint1, const bool theReverse) |
bool | Apply (SMESH_Mesh *theMesh, const SMDS_MeshFace *theFace, const TopoDS_Shape &theSurface, const int theNodeIndexOnKeyPoint1, const bool theReverse) |
bool | Apply (SMESH_Mesh *theMesh, std::set< const SMDS_MeshFace *> &theFaces, const int theNodeIndexOnKeyPoint1, const bool theReverse) |
bool | Apply (const SMDS_MeshVolume *theVolume, const int theNode000Index, const int theNode001Index) |
bool | Apply (std::set< const SMDS_MeshVolume *> &theVolumes, const int theNode000Index, const int theNode001Index) |
bool | GetMappedPoints (std::list< const gp_XYZ *> &thePoints) const |
bool | MakeMesh (SMESH_Mesh *theMesh, const bool toCreatePolygons=false, const bool toCreatePolyedrs=false) |
ErrorCode | GetErrorCode () const |
bool | IsLoaded () const |
bool | Is2D () const |
bool | GetPoints (std::list< const gp_XYZ *> &thePoints) const |
const std::list< int > & | GetKeyPointIDs () const |
const std::list< std::list< int > > & | GetElementPointIDs (bool applied) const |
void | DumpPoints () const |
TopoDS_Shape | GetSubShape (const int i) const |
Private Types | |
typedef std::list< std::list< TopoDS_Edge > > | TListOfEdgesList |
typedef std::set< const SMDS_MeshNode * > | TNodeSet |
typedef std::list< int > | TElemDef |
Private Member Functions | |
bool | setErrorCode (const ErrorCode theErrorCode) |
bool | setShapeToMesh (const TopoDS_Shape &theShape) |
std::list< TPoint *> & | getShapePoints (const TopoDS_Shape &theShape) |
std::list< TPoint *> & | getShapePoints (const int theShapeID) |
bool | findBoundaryPoints () |
void | arrangeBoundaries (std::list< std::list< TPoint * > > &boundaryPoints) |
void | computeUVOnEdge (const TopoDS_Edge &theEdge, const std::list< TPoint * > &ePoints) |
bool | compUVByIsoIntersection (const std::list< std::list< TPoint * > > &boundaryPoints, const gp_XY &theInitUV, gp_XY &theUV, bool &theIsDeformed) |
bool | compUVByElasticIsolines (const std::list< std::list< TPoint * > > &boundaryPoints, const std::list< TPoint * > &pointsToCompute) |
double | setFirstEdge (std::list< TopoDS_Edge > &theWire, int theFirstEdgeID) |
bool | sortSameSizeWires (TListOfEdgesList &theWireList, const TListOfEdgesList::iterator &theFromWire, const TListOfEdgesList::iterator &theToWire, const int theFirstEdgeID, std::list< std::list< TPoint * > > &theEdgesPointsList) |
void | mergePoints (const bool uniteGroups) |
void | makePolyElements (const std::vector< const SMDS_MeshNode * > &theNodes, const bool toCreatePolygons, const bool toCreatePolyedrs) |
void | createElements (SMESH_Mesh *theMesh, const std::vector< const SMDS_MeshNode * > &theNodesVector, const std::list< std::list< int > > &theElemNodeIDs, const std::vector< const SMDS_MeshElement *> &theElements) |
bool | getFacesDefinition (const SMDS_MeshNode **theBndNodes, const int theNbBndNodes, const std::vector< const SMDS_MeshNode * > &theNodes, std::list< int > &theFaceDefs, std::vector< int > &theQuantity) |
bool | isReversed (const SMDS_MeshNode *theFirstNode, const std::list< int > &theIdsList) const |
void | clearMesh (SMESH_Mesh *theMesh) const |
Static Private Member Functions | |
static SMESHDS_SubMesh * | getSubmeshWithElements (SMESH_Mesh *theMesh, const TopoDS_Shape &theShape) |
Private Attributes | |
bool | myIs2D |
std::vector< TPoint > | myPoints |
std::list< int > | myKeyPointIDs |
std::list< TElemDef > | myElemPointIDs |
ErrorCode | myErrorCode |
bool | myIsComputed |
bool | myIsBoundaryPointsFound |
TopoDS_Shape | myShape |
TopTools_IndexedMapOfOrientedShape | myShapeIDMap |
std::map< int, std::list< TPoint *> > | myShapeIDToPointsMap |
std::list< int > | myNbKeyPntInBoundary |
std::vector< gp_XYZ > | myXYZ |
std::list< TElemDef > | myElemXYZIDs |
std::map< int, const SMDS_MeshNode * > | myXYZIdToNodeMap |
std::vector< const SMDS_MeshElement * > | myElements |
std::vector< const SMDS_MeshNode * > | myOrderedNodes |
std::vector< const SMDS_MeshElement * > | myPolyElems |
std::list< TElemDef > | myPolyElemXYZIDs |
std::list< std::vector< int > > | myPolyhedronQuantities |
std::map< TNodeSet, std::list< std::list< int > > > | myIdsOnBoundary |
std::map< int, std::list< TElemDef *> > | myReverseConnectivity |
Friends | |
std::ostream & | operator<< (std::ostream &OS, const TPoint &p) |
Definition at line 67 of file SMESH_Pattern.hxx.
|
private |
Definition at line 296 of file SMESH_Pattern.hxx.
|
private |
Definition at line 309 of file SMESH_Pattern.hxx.
|
private |
Definition at line 349 of file SMESH_Pattern.hxx.
Definition at line 163 of file SMESH_Pattern.hxx.
SMESH_Pattern::SMESH_Pattern | ( | ) |
void SMESH_Pattern::Clear | ( | ) |
bool SMESH_Pattern::Load | ( | const char * | theFileContents | ) |
bool SMESH_Pattern::Load | ( | SMESH_Mesh * | theMesh, |
const TopoDS_Face & | theFace, | ||
bool | theProject = false |
||
) |
bool SMESH_Pattern::Load | ( | SMESH_Mesh * | theMesh, |
const TopoDS_Shell & | theBlock | ||
) |
bool SMESH_Pattern::Save | ( | std::ostream & | theFile | ) |
bool SMESH_Pattern::Apply | ( | const TopoDS_Face & | theFace, |
const TopoDS_Vertex & | theVertexOnKeyPoint1, | ||
const bool | theReverse | ||
) |
bool SMESH_Pattern::Apply | ( | const TopoDS_Shell & | theBlock, |
const TopoDS_Vertex & | theVertex000, | ||
const TopoDS_Vertex & | theVertex001 | ||
) |
bool SMESH_Pattern::Apply | ( | const SMDS_MeshFace * | theFace, |
const int | theNodeIndexOnKeyPoint1, | ||
const bool | theReverse | ||
) |
bool SMESH_Pattern::Apply | ( | SMESH_Mesh * | theMesh, |
const SMDS_MeshFace * | theFace, | ||
const TopoDS_Shape & | theSurface, | ||
const int | theNodeIndexOnKeyPoint1, | ||
const bool | theReverse | ||
) |
bool SMESH_Pattern::Apply | ( | SMESH_Mesh * | theMesh, |
std::set< const SMDS_MeshFace *> & | theFaces, | ||
const int | theNodeIndexOnKeyPoint1, | ||
const bool | theReverse | ||
) |
bool SMESH_Pattern::Apply | ( | const SMDS_MeshVolume * | theVolume, |
const int | theNode000Index, | ||
const int | theNode001Index | ||
) |
bool SMESH_Pattern::Apply | ( | std::set< const SMDS_MeshVolume *> & | theVolumes, |
const int | theNode000Index, | ||
const int | theNode001Index | ||
) |
bool SMESH_Pattern::GetMappedPoints | ( | std::list< const gp_XYZ *> & | thePoints | ) | const |
bool SMESH_Pattern::MakeMesh | ( | SMESH_Mesh * | theMesh, |
const bool | toCreatePolygons = false , |
||
const bool | toCreatePolyedrs = false |
||
) |
ErrorCode SMESH_Pattern::GetErrorCode | ( | ) | const |
Definition at line 203 of file SMESH_Pattern.hxx.
bool SMESH_Pattern::IsLoaded | ( | ) | const |
Definition at line 206 of file SMESH_Pattern.hxx.
bool SMESH_Pattern::Is2D | ( | ) | const |
Definition at line 209 of file SMESH_Pattern.hxx.
bool SMESH_Pattern::GetPoints | ( | std::list< const gp_XYZ *> & | thePoints | ) | const |
const std::list< int >& SMESH_Pattern::GetKeyPointIDs | ( | ) | const |
Definition at line 215 of file SMESH_Pattern.hxx.
const std::list< std::list< int > >& SMESH_Pattern::GetElementPointIDs | ( | bool | applied | ) | const |
Definition at line 219 of file SMESH_Pattern.hxx.
void SMESH_Pattern::DumpPoints | ( | ) | const |
TopoDS_Shape SMESH_Pattern::GetSubShape | ( | const int | i | ) | const |
Definition at line 230 of file SMESH_Pattern.hxx.
|
private |
Definition at line 251 of file SMESH_Pattern.hxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
friend |
|
private |
Definition at line 351 of file SMESH_Pattern.hxx.
|
private |
Definition at line 352 of file SMESH_Pattern.hxx.
|
private |
Definition at line 353 of file SMESH_Pattern.hxx.
|
private |
Definition at line 354 of file SMESH_Pattern.hxx.
|
private |
Definition at line 356 of file SMESH_Pattern.hxx.
|
private |
Definition at line 357 of file SMESH_Pattern.hxx.
|
private |
Definition at line 358 of file SMESH_Pattern.hxx.
|
private |
Definition at line 360 of file SMESH_Pattern.hxx.
|
private |
Definition at line 363 of file SMESH_Pattern.hxx.
Definition at line 364 of file SMESH_Pattern.hxx.
|
private |
Definition at line 368 of file SMESH_Pattern.hxx.
|
private |
Definition at line 373 of file SMESH_Pattern.hxx.
|
private |
Definition at line 374 of file SMESH_Pattern.hxx.
|
private |
Definition at line 375 of file SMESH_Pattern.hxx.
|
private |
Definition at line 376 of file SMESH_Pattern.hxx.
|
private |
Definition at line 377 of file SMESH_Pattern.hxx.
|
private |
Definition at line 380 of file SMESH_Pattern.hxx.
|
private |
Definition at line 382 of file SMESH_Pattern.hxx.
|
private |
Definition at line 383 of file SMESH_Pattern.hxx.
Definition at line 388 of file SMESH_Pattern.hxx.
Definition at line 390 of file SMESH_Pattern.hxx.