|
| static void | Perform (BRepGraphInc_Storage &theStorage, const TopoDS_Shape &theShape, const bool theParallel, const Options &theOptions=Options(), const occ::handle< BRepGraph_LayerParam > &theParamLayer=occ::handle< BRepGraph_LayerParam >(), const occ::handle< BRepGraph_LayerRegularity > &theRegularityLayer=occ::handle< BRepGraph_LayerRegularity >(), const occ::handle< NCollection_BaseAllocator > &theTmpAlloc=occ::handle< NCollection_BaseAllocator >()) |
| | Build backend incidence storage from a TopoDS_Shape.
|
| |
| static void | AppendFlattened (BRepGraphInc_Storage &theStorage, const TopoDS_Shape &theShape, const bool theParallel, NCollection_DynamicArray< BRepGraph_NodeId > &theAppendedRoots, const Options &theOptions=Options(), const occ::handle< BRepGraph_LayerParam > &theParamLayer=occ::handle< BRepGraph_LayerParam >(), const occ::handle< BRepGraph_LayerRegularity > &theRegularityLayer=occ::handle< BRepGraph_LayerRegularity >(), const occ::handle< NCollection_BaseAllocator > &theTmpAlloc=occ::handle< NCollection_BaseAllocator >()) |
| | Extend existing backend storage with additional shapes (no clear). Flattens hierarchy containers away; Solid/Shell/Compound/CompSolid inputs contribute appended face roots instead of container entities. Recomputes the built-in metadata layers from the populated storage.
|
| |
| static void | Append (BRepGraphInc_Storage &theStorage, const TopoDS_Shape &theShape, const bool theParallel, const Options &theOptions=Options(), const occ::handle< BRepGraph_LayerParam > &theParamLayer=occ::handle< BRepGraph_LayerParam >(), const occ::handle< BRepGraph_LayerRegularity > &theRegularityLayer=occ::handle< BRepGraph_LayerRegularity >(), const occ::handle< NCollection_BaseAllocator > &theTmpAlloc=occ::handle< NCollection_BaseAllocator >()) |
| | Extend existing backend storage with additional shapes (no clear). Preserves the full shape hierarchy: Solid/Shell/Compound/CompSolid nodes are created alongside Face/Edge/Vertex nodes. Shapes already present in the storage (same TShape pointer) are deduplicated and not re-added.
|
| |
Backend population pipeline for BRepGraphInc_Storage.
This class is part of the BRepGraphInc backend and is intended for backend maintenance, tests, and low-level infrastructure only. External code should enter through BRepGraph_Builder::Add(), which owns the public lifecycle, cache invalidation, and layer coordination.
Adapted from BRepGraph_Builder, but writes to incidence-table storage instead of Def/Usage two-layer storage. Entity structs carry forward child references directly (no separate Usage objects).
The population pipeline:
- Sequential hierarchy traversal (Compound/CompSolid/Solid/Shell)
- Parallel per-face geometry extraction
- Sequential registration with TShape deduplication
- Reverse index construction