![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Storage backend for cached mesh data. More...
#include <BRepGraph_MeshCache.hxx>
Public Member Functions | |
| bool | HasFaceMesh (const BRepGraph_FaceId theFace) const |
| Check if a face has a cached mesh entry (StoredOwnGen != 0). | |
| const BRepGraph_MeshCache::FaceMeshEntry * | FindFaceMesh (const BRepGraph_FaceId theFace) const |
| Find face mesh entry, or nullptr if absent. | |
| BRepGraph_MeshCache::FaceMeshEntry & | ChangeFaceMesh (const BRepGraph_FaceId theFace) |
| Get or create a face mesh entry. Creates with default values if absent. | |
| void | ClearFaceMesh (const BRepGraph_FaceId theFace) |
| Clear the face mesh entry (reset to absent). | |
| bool | HasCoEdgeMesh (const BRepGraph_CoEdgeId theCoEdge) const |
| Check if a coedge has a cached mesh entry. | |
| const BRepGraph_MeshCache::CoEdgeMeshEntry * | FindCoEdgeMesh (const BRepGraph_CoEdgeId theCoEdge) const |
| Find coedge mesh entry, or nullptr if absent. | |
| BRepGraph_MeshCache::CoEdgeMeshEntry & | ChangeCoEdgeMesh (const BRepGraph_CoEdgeId theCoEdge) |
| Get or create a coedge mesh entry. | |
| void | ClearCoEdgeMesh (const BRepGraph_CoEdgeId theCoEdge) |
| Clear the coedge mesh entry. | |
| bool | HasEdgeMesh (const BRepGraph_EdgeId theEdge) const |
| Check if an edge has a cached mesh entry. | |
| const BRepGraph_MeshCache::EdgeMeshEntry * | FindEdgeMesh (const BRepGraph_EdgeId theEdge) const |
| Find edge mesh entry, or nullptr if absent. | |
| BRepGraph_MeshCache::EdgeMeshEntry & | ChangeEdgeMesh (const BRepGraph_EdgeId theEdge) |
| Get or create an edge mesh entry. | |
| void | ClearEdgeMesh (const BRepGraph_EdgeId theEdge) |
| Clear the edge mesh entry. | |
| void | Clear () |
| Clear all cached mesh data. | |
| void | OnCompact (const NCollection_DataMap< BRepGraph_NodeId, BRepGraph_NodeId > &theNodeRemapMap) |
| Remap cache entries after compaction. | |
Storage backend for cached mesh data.
Dense vectors indexed by per-kind entity index (same pattern as DefStore). Entries with StoredOwnGen == 0 are absent (no cached mesh data). Thread safety: parallel writes to different indices are safe (no contention).
| BRepGraph_MeshCache::CoEdgeMeshEntry & BRepGraph_MeshCacheStorage::ChangeCoEdgeMesh | ( | const BRepGraph_CoEdgeId | theCoEdge | ) |
Get or create a coedge mesh entry.
| BRepGraph_MeshCache::EdgeMeshEntry & BRepGraph_MeshCacheStorage::ChangeEdgeMesh | ( | const BRepGraph_EdgeId | theEdge | ) |
Get or create an edge mesh entry.
| BRepGraph_MeshCache::FaceMeshEntry & BRepGraph_MeshCacheStorage::ChangeFaceMesh | ( | const BRepGraph_FaceId | theFace | ) |
Get or create a face mesh entry. Creates with default values if absent.
| void BRepGraph_MeshCacheStorage::Clear | ( | ) |
Clear all cached mesh data.
| void BRepGraph_MeshCacheStorage::ClearCoEdgeMesh | ( | const BRepGraph_CoEdgeId | theCoEdge | ) |
Clear the coedge mesh entry.
| void BRepGraph_MeshCacheStorage::ClearEdgeMesh | ( | const BRepGraph_EdgeId | theEdge | ) |
Clear the edge mesh entry.
| void BRepGraph_MeshCacheStorage::ClearFaceMesh | ( | const BRepGraph_FaceId | theFace | ) |
Clear the face mesh entry (reset to absent).
| const BRepGraph_MeshCache::CoEdgeMeshEntry * BRepGraph_MeshCacheStorage::FindCoEdgeMesh | ( | const BRepGraph_CoEdgeId | theCoEdge | ) | const |
Find coedge mesh entry, or nullptr if absent.
| const BRepGraph_MeshCache::EdgeMeshEntry * BRepGraph_MeshCacheStorage::FindEdgeMesh | ( | const BRepGraph_EdgeId | theEdge | ) | const |
Find edge mesh entry, or nullptr if absent.
| const BRepGraph_MeshCache::FaceMeshEntry * BRepGraph_MeshCacheStorage::FindFaceMesh | ( | const BRepGraph_FaceId | theFace | ) | const |
Find face mesh entry, or nullptr if absent.
| bool BRepGraph_MeshCacheStorage::HasCoEdgeMesh | ( | const BRepGraph_CoEdgeId | theCoEdge | ) | const |
Check if a coedge has a cached mesh entry.
| bool BRepGraph_MeshCacheStorage::HasEdgeMesh | ( | const BRepGraph_EdgeId | theEdge | ) | const |
Check if an edge has a cached mesh entry.
| bool BRepGraph_MeshCacheStorage::HasFaceMesh | ( | const BRepGraph_FaceId | theFace | ) | const |
Check if a face has a cached mesh entry (StoredOwnGen != 0).
| void BRepGraph_MeshCacheStorage::OnCompact | ( | const NCollection_DataMap< BRepGraph_NodeId, BRepGraph_NodeId > & | theNodeRemapMap | ) |
Remap cache entries after compaction.
| [in] | theNodeRemapMap | old NodeId -> new NodeId mapping |