![]() |
Open CASCADE Technology Reference Manual 8.0.1
|
Central backend storage container for the incidence-table topology model. More...
#include <BRepGraphInc_Storage.hxx>
Data Structures | |
| struct | CachedShape |
| Gen-validated shape cache entry. More... | |
Public Types | |
| enum class | WireCoEdgeOrderStatus { Connected , Reordered , ToleranceOrdered , Partial , InvalidInput } |
| Result of wire coedge order canonicalization. More... | |
Public Member Functions | |
| BRepGraphInc_Storage () | |
| Construct an empty storage with no entities or representations. | |
| ~BRepGraphInc_Storage () | |
| Clear allocator-backed containers before member destructors walk them. | |
| const occ::handle< NCollection_BaseAllocator > & | Allocator () const |
| Return the allocator used for backend storage. | |
| const NCollection_LinearVector< BRepGraph_ProductId > & | RootProductIds () const |
| Return products not referenced by any active occurrence. | |
| NCollection_LinearVector< BRepGraph_ProductId > & | ChangeRootProductIds () |
| Return products not referenced by any active occurrence. | |
| const NCollection_LinearVector< BRepGraph_NodeId > & | DeferredModified () const |
| Return nodes accumulated during deferred invalidation. | |
| NCollection_LinearVector< BRepGraph_NodeId > & | ChangeDeferredModified () |
| Return nodes accumulated during deferred invalidation. | |
| const NCollection_LinearVector< BRepGraph_RefId > & | DeferredRefModified () const |
| Return refs accumulated during deferred invalidation. | |
| NCollection_LinearVector< BRepGraph_RefId > & | ChangeDeferredRefModified () |
| Return refs accumulated during deferred invalidation. | |
| bool | IsEmpty () const |
| Return true when the graph contains no topology definitions. Checks whether any node kind (Vertex, Edge, Wire, Face, Shell, Solid, Compound, CompSolid, Product, Occurrence) has been allocated. | |
| uint32_t | NextNodeUIDCounter (BRepGraph_NodeId::Kind theKind) const |
| Return the next UID counter for a given node kind. | |
| void | SetNextNodeUIDCounter (BRepGraph_NodeId::Kind theKind, uint32_t theCounter) |
| Override the next UID counter for a given node kind. | |
| uint32_t | NextRefUIDCounter (BRepGraph_RefId::Kind theKind) const |
| Return the next UID counter for a given reference kind. | |
| void | SetNextRefUIDCounter (BRepGraph_RefId::Kind theKind, uint32_t theCounter) |
| Override the next UID counter for a given reference kind. | |
| BRepGraph_UID | AllocateNodeUID (BRepGraph_NodeId theNodeId) |
| Allocate a node UID: write counter into the entity, bind reverse map, advance counter. | |
| BRepGraph_RefUID | AllocateRefUID (BRepGraph_RefId theRefId) |
| Allocate a reference UID: write counter into the ref, bind reverse map, advance counter. | |
| uint32_t | Generation () const |
| Return the current graph generation used by VersionStamp staleness checks. | |
| void | SetGeneration (const uint32_t theGeneration) |
| Override the current graph generation. | |
| void | IncrementGeneration () |
| Increment the graph generation after a structural mutation batch. | |
| const Standard_GUID & | GraphGUID () const |
| Return the stable graph instance GUID. | |
| void | SetGraphGUID (const Standard_GUID &theGuid) |
| Override the stable graph instance GUID. | |
| bool | DeferredMode () const |
| Return whether invalidation is currently deferred. | |
| void | SetDeferredMode (const bool theEnabled) |
| Enable or disable deferred invalidation mode. | |
| uint32_t | PropagationWave () const |
| Return the current propagation wave id used to avoid revisiting parents. | |
| uint32_t | AdvancePropagationWave () |
| Increment the propagation wave and return the new value. | |
| void | IncrementPropagationWave () |
| Increment the propagation wave without reading it back. | |
| uint32_t | RemoveSubgraphDepth () const |
| Return the recursion depth of the active RemoveSubgraph cascade. | |
| void | IncrementRemoveSubgraphDepth () |
| Enter one nested RemoveSubgraph scope. | |
| void | DecrementRemoveSubgraphDepth () |
| Leave one nested RemoveSubgraph scope. | |
| uint32_t | NbVertices () const |
| Returns the total number of vertex entities (including removed). | |
| uint32_t | NbEdges () const |
| Returns the total number of edge entities (including removed). | |
| uint32_t | NbCoEdges () const |
| Returns the total number of coedge entities (including removed). | |
| uint32_t | NbWires () const |
| Returns the total number of wire entities (including removed). | |
| uint32_t | NbFaces () const |
| Returns the total number of face entities (including removed). | |
| uint32_t | NbShells () const |
| Returns the total number of shell entities (including removed). | |
| uint32_t | NbSolids () const |
| Returns the total number of solid entities (including removed). | |
| uint32_t | NbCompounds () const |
| Returns the total number of compound entities (including removed). | |
| uint32_t | NbCompSolids () const |
| Returns the total number of compsolid entities (including removed). | |
| uint32_t | NbProducts () const |
| Returns the total number of product entities (including removed). | |
| uint32_t | NbOccurrences () const |
| Returns the total number of occurrence entities (including removed). | |
| uint32_t | NbShellRefs () const |
| Returns the total number of shell reference entries (including removed). | |
| uint32_t | NbFaceRefs () const |
| Returns the total number of face reference entries (including removed). | |
| uint32_t | NbWireRefs () const |
| Returns the total number of wire reference entries (including removed). | |
| uint32_t | NbVertexRefs () const |
| Returns the total number of vertex reference entries (including removed). | |
| uint32_t | NbSolidRefs () const |
| Returns the total number of solid reference entries (including removed). | |
| uint32_t | NbChildRefs () const |
| Returns the total number of child reference entries (including removed). | |
| uint32_t | NbOccurrenceRefs () const |
| Returns the total number of occurrence reference entries (including removed). | |
| uint32_t | NbActiveVertices () const |
| Returns the number of active vertex entities (excluding removed). | |
| uint32_t | NbActiveEdges () const |
| Returns the number of active edge entities (excluding removed). | |
| uint32_t | NbActiveCoEdges () const |
| Returns the number of active coedge entities (excluding removed). | |
| uint32_t | NbActiveWires () const |
| Returns the number of active wire entities (excluding removed). | |
| uint32_t | NbActiveFaces () const |
| Returns the number of active face entities (excluding removed). | |
| uint32_t | NbActiveShells () const |
| Returns the number of active shell entities (excluding removed). | |
| uint32_t | NbActiveSolids () const |
| Returns the number of active solid entities (excluding removed). | |
| uint32_t | NbActiveCompounds () const |
| Returns the number of active compound entities (excluding removed). | |
| uint32_t | NbActiveCompSolids () const |
| Returns the number of active compsolid entities (excluding removed). | |
| uint32_t | NbActiveProducts () const |
| Returns the number of active product entities (excluding removed). | |
| uint32_t | NbActiveOccurrences () const |
| Returns the number of active occurrence entities (excluding removed). | |
| uint32_t | NbActiveShellRefs () const |
| Returns the number of active shell reference entries (excluding removed). | |
| uint32_t | NbActiveFaceRefs () const |
| Returns the number of active face reference entries (excluding removed). | |
| uint32_t | NbActiveWireRefs () const |
| Returns the number of active wire reference entries (excluding removed). | |
| uint32_t | NbActiveVertexRefs () const |
| Returns the number of active vertex reference entries (excluding removed). | |
| uint32_t | NbActiveSolidRefs () const |
| Returns the number of active solid reference entries (excluding removed). | |
| uint32_t | NbActiveChildRefs () const |
| Returns the number of active child reference entries (excluding removed). | |
| uint32_t | NbActiveOccurrenceRefs () const |
| Returns the number of active occurrence reference entries (excluding removed). | |
| bool | MarkRemoved (const BRepGraph_NodeId theNodeId) |
| Mark an entity node as removed and decrement its active counter once. | |
| bool | MarkRemovedRef (const BRepGraph_RefId theRefId) |
| Mark a reference entry as removed and decrement its active counter once. | |
| uint32_t | NbEdgeCurves3D () const |
| Returns the number of edge 3D curve use records. | |
| uint32_t | NbEdgePolygons3D () const |
| Returns the number of edge 3D polygon use records. | |
| uint32_t | NbCoEdgeCurves2D () const |
| Returns the number of coedge 2D curve use records. | |
| uint32_t | NbCoEdgePolygons2D () const |
| Returns the number of coedge 2D polygon use records. | |
| uint32_t | NbCoEdgePolygonsOnTri () const |
| Returns the number of coedge polygon-on-triangulation use records. | |
| uint32_t | NbFaceSurfaces () const |
| Returns the number of face surface use records. | |
| uint32_t | NbFaceTriangulations () const |
| Returns the number of face triangulation use records. | |
| uint32_t | NbActiveEdgeCurves3D () const |
| Returns the number of active (parent-valid) edge 3D curve use records. | |
| uint32_t | NbActiveCoEdgeCurves2D () const |
| Returns the number of active (parent-valid) coedge 2D curve use records. | |
| uint32_t | NbActiveFaceSurfaces () const |
| Returns the number of active (parent-valid) face surface use records. | |
| uint32_t | NbActiveFaceTriangulations () const |
| Returns the number of active (parent-valid) face triangulation use records. | |
| uint32_t | NbActiveEdgePolygons3D () const |
| Returns the number of active (parent-valid) edge 3D polygon use records. | |
| uint32_t | NbActiveCoEdgePolygons2D () const |
| Returns the number of active (parent-valid) coedge 2D polygon use records. | |
| uint32_t | NbActiveCoEdgePolygonsOnTri () const |
| Returns the number of active (parent-valid) coedge polygon-on-triangulation use records. | |
| const BRepGraphInc::EdgeCurve3DRep & | EdgeCurve3DRep (const BRepGraph_EdgeCurve3DRepId theId) const |
| Returns the edge 3D curve use at the given id. | |
| BRepGraphInc::EdgeCurve3DRep & | ChangeEdgeCurve3DRep (const BRepGraph_EdgeCurve3DRepId theId) |
| Returns a mutable reference to the edge 3D curve use at the given id. | |
| const BRepGraphInc::EdgePolygon3DRep & | EdgePolygon3DRep (const BRepGraph_EdgePolygon3DRepId theId) const |
| Returns the edge 3D polygon use at the given id. | |
| BRepGraphInc::EdgePolygon3DRep & | ChangeEdgePolygon3DRep (const BRepGraph_EdgePolygon3DRepId theId) |
| Returns a mutable reference to the edge 3D polygon use at the given id. | |
| const BRepGraphInc::CoEdgeCurve2DRep & | CoEdgeCurve2DRep (const BRepGraph_CoEdgeCurve2DRepId theId) const |
| Returns the coedge 2D curve use at the given id. | |
| BRepGraphInc::CoEdgeCurve2DRep & | ChangeCoEdgeCurve2DRep (const BRepGraph_CoEdgeCurve2DRepId theId) |
| Returns a mutable reference to the coedge 2D curve use at the given id. | |
| const BRepGraphInc::CoEdgePolygon2DRep & | CoEdgePolygon2DRep (const BRepGraph_CoEdgePolygon2DRepId theId) const |
| Returns the coedge 2D polygon use at the given id. | |
| BRepGraphInc::CoEdgePolygon2DRep & | ChangeCoEdgePolygon2DRep (const BRepGraph_CoEdgePolygon2DRepId theId) |
| Returns a mutable reference to the coedge 2D polygon use at the given id. | |
| const BRepGraphInc::CoEdgePolygonOnTriRep & | CoEdgePolygonOnTriRep (const BRepGraph_CoEdgePolygonOnTriRepId theId) const |
| Returns the coedge polygon-on-triangulation use at the given id. | |
| BRepGraphInc::CoEdgePolygonOnTriRep & | ChangeCoEdgePolygonOnTriRep (const BRepGraph_CoEdgePolygonOnTriRepId theId) |
| Returns a mutable reference to the coedge polygon-on-triangulation use at the given id. | |
| const BRepGraphInc::FaceSurfaceRep & | FaceSurfaceRep (const BRepGraph_FaceSurfaceRepId theId) const |
| Returns the face surface use at the given id. | |
| BRepGraphInc::FaceSurfaceRep & | ChangeFaceSurfaceRep (const BRepGraph_FaceSurfaceRepId theId) |
| Returns a mutable reference to the face surface use at the given id. | |
| const BRepGraphInc::FaceTriangulationRep & | FaceTriangulationRep (const BRepGraph_FaceTriangulationRepId theId) const |
| Returns the face triangulation use at the given id. | |
| BRepGraphInc::FaceTriangulationRep & | ChangeFaceTriangulationRep (const BRepGraph_FaceTriangulationRepId theId) |
| Returns a mutable reference to the face triangulation use at the given id. | |
| BRepGraph_EdgeCurve3DRepId | AppendEdgeCurve3DRep () |
| Appends a new edge 3D curve use record and returns its id. | |
| BRepGraph_EdgePolygon3DRepId | AppendEdgePolygon3DRep () |
| Appends a new edge 3D polygon use record and returns its id. | |
| BRepGraph_CoEdgeCurve2DRepId | AppendCoEdgeCurve2DRep () |
| Appends a new coedge 2D curve use record and returns its id. | |
| BRepGraph_CoEdgePolygon2DRepId | AppendCoEdgePolygon2DRep () |
| Appends a new coedge 2D polygon use record and returns its id. | |
| BRepGraph_CoEdgePolygonOnTriRepId | AppendCoEdgePolygonOnTriRep () |
| Appends a new coedge polygon-on-triangulation use record and returns its id. | |
| BRepGraph_FaceSurfaceRepId | AppendFaceSurfaceRep () |
| Appends a new face surface use record and returns its id. | |
| BRepGraph_FaceTriangulationRepId | AppendFaceTriangulationRep () |
| Appends a new face triangulation use record and returns its id. | |
| bool | MarkRemoved (const BRepGraph_RepId theRepId) |
| Mark a representation-use record as removed and decrement its active counter once. | |
| void | SetRemoved (const BRepGraph_RepId theRepId, const bool theVal) |
| Set or clear the soft-removal flag for a representation-use record. | |
| const BRepGraphInc::VertexDef & | Vertex (const BRepGraph_VertexId theVertex) const |
| Returns the vertex entity at the given typed id. | |
| const BRepGraphInc::EdgeDef & | Edge (const BRepGraph_EdgeId theEdge) const |
| Returns the edge entity at the given typed id. | |
| const BRepGraphInc::CoEdgeDef & | CoEdge (const BRepGraph_CoEdgeId theCoEdge) const |
| Returns the coedge entity at the given typed id. | |
| const BRepGraphInc::WireDef & | Wire (const BRepGraph_WireId theWire) const |
| Returns the wire entity at the given typed id. | |
| const BRepGraphInc::FaceDef & | Face (const BRepGraph_FaceId theFace) const |
| Returns the face entity at the given typed id. | |
| const BRepGraphInc::ShellDef & | Shell (const BRepGraph_ShellId theShell) const |
| Returns the shell entity at the given typed id. | |
| const BRepGraphInc::SolidDef & | Solid (const BRepGraph_SolidId theSolid) const |
| Returns the solid entity at the given typed id. | |
| const BRepGraphInc::CompoundDef & | Compound (const BRepGraph_CompoundId theCompound) const |
| Returns the compound entity at the given typed id. | |
| const BRepGraphInc::CompSolidDef & | CompSolid (const BRepGraph_CompSolidId theCompSolid) const |
| Returns the compsolid entity at the given typed id. | |
| const BRepGraphInc::ProductDef & | Product (const BRepGraph_ProductId theProduct) const |
| Returns the product entity at the given typed id. | |
| const BRepGraphInc::OccurrenceDef & | Occurrence (const BRepGraph_OccurrenceId theOccurrence) const |
| Returns the occurrence entity at the given typed id. | |
| const BRepGraphInc::ShellRef & | ShellRef (const BRepGraph_ShellRefId theRefId) const |
| Returns the shell reference entry at the given typed id. | |
| const BRepGraphInc::FaceRef & | FaceRef (const BRepGraph_FaceRefId theRefId) const |
| Returns the face reference entry at the given typed id. | |
| const BRepGraphInc::WireRef & | WireRef (const BRepGraph_WireRefId theRefId) const |
| Returns the wire reference entry at the given typed id. | |
| const BRepGraphInc::VertexRef & | VertexRef (const BRepGraph_VertexRefId theRefId) const |
| Returns the vertex reference entry at the given typed id. | |
| const BRepGraphInc::SolidRef & | SolidRef (const BRepGraph_SolidRefId theRefId) const |
| Returns the solid reference entry at the given typed id. | |
| const BRepGraphInc::ChildRef & | ChildRef (const BRepGraph_ChildRefId theRefId) const |
| Returns the child reference entry at the given typed id. | |
| const BRepGraphInc::OccurrenceRef & | OccurrenceRef (const BRepGraph_OccurrenceRefId theRefId) const |
| Returns the occurrence reference entry at the given typed id. | |
| BRepGraphInc::VertexDef & | ChangeVertex (const BRepGraph_VertexId theVertex) |
| Returns a mutable reference to the vertex entity at the given typed id. | |
| BRepGraphInc::EdgeDef & | ChangeEdge (const BRepGraph_EdgeId theEdge) |
| Returns a mutable reference to the edge entity at the given typed id. | |
| BRepGraphInc::CoEdgeDef & | ChangeCoEdge (const BRepGraph_CoEdgeId theCoEdge) |
| Returns a mutable reference to the coedge entity at the given typed id. | |
| BRepGraphInc::WireDef & | ChangeWire (const BRepGraph_WireId theWire) |
| Returns a mutable reference to the wire entity at the given typed id. | |
| BRepGraphInc::FaceDef & | ChangeFace (const BRepGraph_FaceId theFace) |
| Returns a mutable reference to the face entity at the given typed id. | |
| BRepGraphInc::ShellDef & | ChangeShell (const BRepGraph_ShellId theShell) |
| Returns a mutable reference to the shell entity at the given typed id. | |
| BRepGraphInc::SolidDef & | ChangeSolid (const BRepGraph_SolidId theSolid) |
| Returns a mutable reference to the solid entity at the given typed id. | |
| BRepGraphInc::CompoundDef & | ChangeCompound (const BRepGraph_CompoundId theCompound) |
| Returns a mutable reference to the compound entity at the given typed id. | |
| BRepGraphInc::CompSolidDef & | ChangeCompSolid (const BRepGraph_CompSolidId theCompSolid) |
| Returns a mutable reference to the compsolid entity at the given typed id. | |
| BRepGraphInc::ProductDef & | ChangeProduct (const BRepGraph_ProductId theProduct) |
| Returns a mutable reference to the product entity at the given typed id. | |
| BRepGraphInc::OccurrenceDef & | ChangeOccurrence (const BRepGraph_OccurrenceId theOccurrence) |
| Returns a mutable reference to the occurrence entity at the given typed id. | |
| BRepGraphInc::ShellRef & | ChangeShellRef (const BRepGraph_ShellRefId theRefId) |
| Returns a mutable reference to the shell reference entry at the given typed id. | |
| BRepGraphInc::FaceRef & | ChangeFaceRef (const BRepGraph_FaceRefId theRefId) |
| Returns a mutable reference to the face reference entry at the given typed id. | |
| BRepGraphInc::WireRef & | ChangeWireRef (const BRepGraph_WireRefId theRefId) |
| Returns a mutable reference to the wire reference entry at the given typed id. | |
| BRepGraphInc::VertexRef & | ChangeVertexRef (const BRepGraph_VertexRefId theRefId) |
| Returns a mutable reference to the vertex reference entry at the given typed id. | |
| BRepGraphInc::SolidRef & | ChangeSolidRef (const BRepGraph_SolidRefId theRefId) |
| Returns a mutable reference to the solid reference entry at the given typed id. | |
| BRepGraphInc::ChildRef & | ChangeChildRef (const BRepGraph_ChildRefId theRefId) |
| Returns a mutable reference to the child reference entry at the given typed id. | |
| BRepGraphInc::OccurrenceRef & | ChangeOccurrenceRef (const BRepGraph_OccurrenceRefId theRefId) |
| Returns a mutable reference to the occurrence reference entry at the given typed id. | |
| const BRepGraphInc::FaceRelations & | FaceRelations (const BRepGraph_FaceId theId) const |
| Return the face relations for a given face identifier. | |
| const BRepGraphInc::WireRelations & | WireRelations (const BRepGraph_WireId theId) const |
| Return the wire relations for a given wire identifier. | |
| const BRepGraphInc::EdgeRelations & | EdgeRelations (const BRepGraph_EdgeId theId) const |
| Return the edge relations for a given edge identifier. | |
| const BRepGraphInc::ShellRelations & | ShellRelations (const BRepGraph_ShellId theId) const |
| Return the shell relations for a given shell identifier. | |
| const BRepGraphInc::SolidRelations & | SolidRelations (const BRepGraph_SolidId theId) const |
| Return the solid relations for a given solid identifier. | |
| const BRepGraphInc::CompoundRelations & | CompoundRelations (const BRepGraph_CompoundId theId) const |
| Return the compound relations for a given compound identifier. | |
| const BRepGraphInc::CompSolidRelations & | CompSolidRelations (const BRepGraph_CompSolidId theId) const |
| Return the compsolid relations for a given compsolid identifier. | |
| const BRepGraphInc::VertexRelations & | VertexRelations (const BRepGraph_VertexId theId) const |
| Return the vertex relations for a given vertex identifier. | |
| const BRepGraphInc::ProductRelations & | ProductRelations (const BRepGraph_ProductId theId) const |
| Return the product relations for a given product identifier. | |
| const BRepGraphInc::OccurrenceRelations & | OccurrenceRelations (const BRepGraph_OccurrenceId theId) const |
| Return the occurrence relations for a given occurrence identifier. | |
| const NCollection_LinearVector< BRepGraph_ChildRefId > & | CompoundRefsOfNode (const BRepGraph_NodeId theNode) const |
| Return the compound child reference identifiers that point to a given node. | |
| const NCollection_LinearVector< BRepGraph_OccurrenceRefId > & | OccurrenceRefsOfNode (const BRepGraph_NodeId theNode) const |
| Return the occurrence reference identifiers that point to a given node. | |
| BRepGraph_VertexId | AppendVertex () |
| Appends a new vertex entity and returns its typed id. | |
| BRepGraph_EdgeId | AppendEdge () |
| Appends a new edge entity and returns its typed id. | |
| BRepGraph_CoEdgeId | AppendCoEdge () |
| Appends a new coedge entity and returns its typed id. | |
| BRepGraph_WireId | AppendWire () |
| Appends a new wire entity and returns its typed id. | |
| BRepGraph_FaceId | AppendFace () |
| Appends a new face entity and returns its typed id. | |
| BRepGraph_ShellId | AppendShell () |
| Appends a new shell entity and returns its typed id. | |
| BRepGraph_SolidId | AppendSolid () |
| Appends a new solid entity and returns its typed id. | |
| BRepGraph_CompoundId | AppendCompound () |
| Appends a new compound entity and returns its typed id. | |
| BRepGraph_CompSolidId | AppendCompSolid () |
| Appends a new compsolid entity and returns its typed id. | |
| BRepGraph_ProductId | AppendProduct () |
| Appends a new product entity and returns its typed id. | |
| BRepGraph_OccurrenceId | AppendOccurrence () |
| Appends a new occurrence entity and returns its typed id. | |
| BRepGraph_ShellRefId | AppendShellRef () |
| Appends a new shell reference entry and returns its typed id. | |
| BRepGraph_FaceRefId | AppendFaceRef () |
| Appends a new face reference entry and returns its typed id. | |
| BRepGraph_WireRefId | AppendWireRef () |
| Appends a new wire reference entry and returns its typed id. | |
| BRepGraph_VertexRefId | AppendVertexRef () |
| Appends a new vertex reference entry and returns its typed id. | |
| BRepGraph_SolidRefId | AppendSolidRef () |
| Appends a new solid reference entry and returns its typed id. | |
| BRepGraph_ChildRefId | AppendChildRef () |
| Appends a new child reference entry and returns its typed id. | |
| BRepGraph_OccurrenceRefId | AppendOccurrenceRef () |
| Appends a new occurrence reference entry and returns its typed id. | |
| BRepGraph_CoEdgeId | CreateCoEdgeUse (const BRepGraph_WireId theParentWireId, const BRepGraph_EdgeId theChildEdgeId, const BRepGraph_FaceId theFaceId, const BRepGraphInc::ParityOrientation theOrientation) |
| Create a coedge use record binding an edge to a wire within a face context. | |
| void | AttachEdgeToVertex (const BRepGraph_EdgeId theEdgeId, const BRepGraph_VertexId theVertexId) |
| Attach an edge to a vertex by creating a vertex reference. | |
| BRepGraph_WireRefId | AttachWireToFace (const BRepGraph_FaceId theParentFaceId, const BRepGraph_WireId theChildWireId, const BRepGraphInc::ParityOrientation theOrientation=TopAbs_FORWARD) |
| Attach a wire to a face by creating a wire reference. | |
| BRepGraph_FaceRefId | AttachFaceToShell (const BRepGraph_ShellId theParentShellId, const BRepGraph_FaceId theChildFaceId, const BRepGraphInc::ParityOrientation theOrientation=TopAbs_FORWARD) |
| Attach a face to a shell by creating a face reference. | |
| BRepGraph_ShellRefId | AttachShellToSolid (const BRepGraph_SolidId theParentSolidId, const BRepGraph_ShellId theChildShellId, const BRepGraphInc::ParityOrientation theOrientation=TopAbs_FORWARD) |
| Attach a shell to a solid by creating a shell reference. | |
| BRepGraph_SolidRefId | AttachSolidToCompSolid (const BRepGraph_CompSolidId theParentCompSolidId, const BRepGraph_SolidId theChildSolidId, const BRepGraphInc::ParityOrientation theOrientation=TopAbs_FORWARD) |
| Attach a solid to a compsolid by creating a solid reference. | |
| BRepGraph_ChildRefId | AttachChildToCompound (const BRepGraph_CompoundId theParentCompoundId, const BRepGraph_NodeId theChildNodeId, const TopLoc_Location &theLocation=TopLoc_Location(), const BRepGraphInc::ParityOrientation theOrientation=TopAbs_FORWARD) |
| Attach a child node to a compound by creating a child reference. | |
| BRepGraph_OccurrenceRefId | AttachOccurrenceToProduct (const BRepGraph_ProductId theParentProductId, const BRepGraph_OccurrenceId theChildOccurrenceId, const TopLoc_Location &theLocation=TopLoc_Location()) |
| Attach an occurrence to a product by creating an occurrence reference. | |
| bool | DetachCoEdgeUse (const BRepGraph_WireId theParentWireId, const BRepGraph_CoEdgeId theCoEdgeId) |
| Detach a coedge use from its parent wire. | |
| bool | ReplaceCoEdgeUseWithPair (const BRepGraph_WireId theParentWireId, const BRepGraph_CoEdgeId theOldCoEdgeId, const BRepGraph_CoEdgeId theNewFirstCoEdgeId, const BRepGraph_CoEdgeId theNewSecondCoEdgeId) |
| Replace a single coedge with a pair of new coedges in a wire. | |
| bool | DetachWireFromFace (const BRepGraph_FaceId theParentFaceId, const BRepGraph_WireRefId theRefId) |
| Detach a wire reference from its parent face. | |
| bool | DetachFaceFromShell (const BRepGraph_ShellId theParentShellId, const BRepGraph_FaceRefId theRefId) |
| Detach a face reference from its parent shell. | |
| bool | DetachShellFromSolid (const BRepGraph_SolidId theParentSolidId, const BRepGraph_ShellRefId theRefId) |
| Detach a shell reference from its parent solid. | |
| bool | DetachSolidFromCompSolid (const BRepGraph_CompSolidId theParentCompSolidId, const BRepGraph_SolidRefId theRefId) |
| Detach a solid reference from its parent compsolid. | |
| bool | DetachChildFromCompound (const BRepGraph_CompoundId theParentCompoundId, const BRepGraph_ChildRefId theRefId) |
| Detach a child reference from its parent compound. | |
| bool | DetachOccurrenceFromProduct (const BRepGraph_ProductId theParentProductId, const BRepGraph_OccurrenceRefId theRefId) |
| Detach an occurrence reference from its parent product. | |
| void | RebindOccurrenceChild (const BRepGraph_OccurrenceId theOccurrence, const BRepGraph_NodeId theOldChild, const BRepGraph_NodeId theNewChild) |
| Rebind the child node of an occurrence to a new node. | |
| void | RebindVertexEdge (const BRepGraph_VertexId theOldVertex, const BRepGraph_VertexId theNewVertex, const BRepGraph_EdgeId theEdge, const BRepGraph_VertexRefId theExcludingRef) |
| Rebind vertex edge references from one vertex to another, excluding a specific ref. | |
| void | RebindVertexRef (const BRepGraph_VertexRefId theRefId, const BRepGraph_VertexId theOldVertex, const BRepGraph_VertexId theNewVertex) |
| Rebind a vertex reference to point to a new vertex. | |
| void | RebindCoEdgeEdge (const BRepGraph_CoEdgeId theCoEdge, const BRepGraph_EdgeId theOldEdge, const BRepGraph_EdgeId theNewEdge) |
| Rebind a coedge to reference a different edge. | |
| void | RebindWireRef (const BRepGraph_WireRefId theRefId, const BRepGraph_WireId theOldWire, const BRepGraph_WireId theNewWire) |
| Rebind a wire reference to point to a new wire. | |
| void | RebindFaceRef (const BRepGraph_FaceRefId theRefId, const BRepGraph_FaceId theOldFace, const BRepGraph_FaceId theNewFace) |
| Rebind a face reference to point to a new face. | |
| void | RebindShellRef (const BRepGraph_ShellRefId theRefId, const BRepGraph_ShellId theOldShell, const BRepGraph_ShellId theNewShell) |
| Rebind a shell reference to point to a new shell. | |
| void | RebindSolidRef (const BRepGraph_SolidRefId theRefId, const BRepGraph_SolidId theOldSolid, const BRepGraph_SolidId theNewSolid) |
| Rebind a solid reference to point to a new solid. | |
| void | RebindChildRef (const BRepGraph_ChildRefId theRefId, const BRepGraph_NodeId theOldChild, const BRepGraph_NodeId theNewChild) |
| Rebind a child reference to point to a new child node. | |
| void | RebindOccurrenceRef (const BRepGraph_OccurrenceRefId theRefId, const BRepGraph_OccurrenceId theOldOccurrence, const BRepGraph_OccurrenceId theNewOccurrence) |
| Rebind an occurrence reference to point to a new occurrence. | |
| void | ReverseWireCoEdges (const BRepGraph_WireId theWireId) |
| Reverse the order of coedges in a wire. | |
| void | SetWireCoEdges (const BRepGraph_WireId theWireId, const NCollection_Array1< BRepGraph_CoEdgeId > &theCoEdgeIds) |
| Replace the coedge list of a wire with a new set. | |
| void | SetFaceWireRefs (const BRepGraph_FaceId theFaceId, const NCollection_Array1< BRepGraph_WireRefId > &theWireRefIds) |
| Replace the wire reference list of a face with a new set. | |
| void | SetShellFaceRefs (const BRepGraph_ShellId theShellId, const NCollection_Array1< BRepGraph_FaceRefId > &theFaceRefIds) |
| Replace the face reference list of a shell with a new set. | |
| void | SetSolidShellRefs (const BRepGraph_SolidId theSolidId, const NCollection_Array1< BRepGraph_ShellRefId > &theShellRefIds) |
| Replace the shell reference list of a solid with a new set. | |
| void | SetCompSolidSolidRefs (const BRepGraph_CompSolidId theCompSolidId, const NCollection_Array1< BRepGraph_SolidRefId > &theSolidRefIds) |
| Replace the solid reference list of a compsolid with a new set. | |
| void | SetCompoundChildRefs (const BRepGraph_CompoundId theCompoundId, const NCollection_Array1< BRepGraph_ChildRefId > &theChildRefIds) |
| Replace the child reference list of a compound with a new set. | |
| void | SetProductOccurrenceRefs (const BRepGraph_ProductId theProductId, const NCollection_Array1< BRepGraph_OccurrenceRefId > &theOccurrenceRefIds) |
| Replace the occurrence reference list of a product with a new set. | |
| const BRepGraphInc::BaseRef & | BaseRef (const BRepGraph_RefId theRefId) const |
| Return the BaseRef portion of any ref entry by generic RefId. | |
| BRepGraphInc::BaseRef * | ChangeBaseRef (const BRepGraph_RefId theRefId) |
| Return the mutable BaseRef portion of any ref entry by generic RefId. | |
| BRepGraph_NodeId | FindNodeIdByUID (const BRepGraph_UID &theUID) const |
| Resolve an active node UID through storage reverse maps. | |
| BRepGraph_RefId | FindRefIdByUID (const BRepGraph_RefUID &theUID) const |
| Resolve an active reference UID through storage reverse maps. | |
| BRepGraph_NodeId | FindDefinitionByShape (const TopoDS_Shape &theShape) const |
| Returns the node id bound to the given shape definition key, or invalid if not bound. | |
| bool | HasShapeBinding (const TopoDS_Shape &theShape) const |
| Returns true if the given shape definition key is bound to a node. | |
| void | SetDefinitionShapeBinding (const TopoDS_Shape &theShape, const BRepGraph_NodeId theNodeId) |
| Set or update the shape-to-node binding. Uses replacement semantics: binds if absent, updates if already bound. | |
| bool | RemoveDefinitionShapeBinding (const TopoDS_Shape &theShape, const BRepGraph_NodeId theExpectedNodeId) |
| Remove the shape-to-node binding only if it points to the expected node. Returns true if the binding was removed. | |
| TopoDS_Shape | FindOriginal (const BRepGraph_NodeId theNodeId) const |
Back-reference to the construction-time TopoDS_Shape key a node was built from. Only populated during graph construction; absent bindings are a valid state. | |
| bool | HasOriginal (const BRepGraph_NodeId theNodeId) const |
| Returns true if the given node id has an original shape binding. | |
| void | BindOriginal (const BRepGraph_NodeId theNodeId, const TopoDS_Shape &theShape) |
| Binds the given node id to its construction-time shape key. | |
| void | UnBindOriginal (const BRepGraph_NodeId theNodeId) |
| Removes the original shape binding for the given node id. | |
| template<typename FuncT > | |
| void | ForEachShapeBinding (FuncT &&theFunc) const |
| Iterate all shape-to-NodeId bindings, invoking theFunc(shape, NodeId) for each entry. Used by Compact to rebuild the map after the rebuild-and-swap. | |
| template<typename FuncT > | |
| void | ForEachOriginalBinding (FuncT &&theFunc) const |
| Iterate all NodeId-to-OriginalShape bindings, invoking theFunc(NodeId, Shape) for each entry. Used by Compact to rebuild the map after the rebuild-and-swap. | |
| void | CopyShapeBindingsFrom (const BRepGraphInc_Storage &theSource) |
| Copy shape-to-NodeId and Original shape bindings from another storage. Used by identity copy to preserve shape reconstruction bindings. | |
| const NCollection_FlatDataMap< BRepGraph_NodeId, CachedShape > & | CurrentShapes () const |
| Return the generation-validated node-to-shape reconstruction cache. | |
| NCollection_FlatDataMap< BRepGraph_NodeId, CachedShape > & | ChangeCurrentShapes () |
| Return the mutable generation-validated node-to-shape reconstruction cache. | |
| std::shared_mutex & | CurrentShapesMutex () const |
| Return the mutex protecting the reconstruction cache. | |
| void | ClearCurrentShapes () |
| Clear the generation-validated shape reconstruction cache. | |
| void | UnbindCurrentShape (const BRepGraph_NodeId theNode) |
| Remove one entry from the generation-validated shape reconstruction cache. | |
| void | ClearDeferredQueues () |
| Clear deferred invalidation queues and release their batch allocator. | |
| void | Clear () |
| Clear all storage. | |
| void | PrepareForLoad (const BRepGraphInc_Load::Counts &theCounts) |
| Prepare fixed-size destination ranges for indexed load. | |
| void | SetActiveCounts (const BRepGraphInc_Load::Counts &theCounts) |
| Override active-slot counters after a trusted indexed load path. | |
| BRepGraphInc_Load::Counts | Counts () const |
| Build a Counts struct from current allocated slot counts. | |
| BRepGraphInc_Load::Counts | ActiveCounts () const |
| Build a Counts struct from current active (non-removed) counts. | |
| void | RecountActiveCounts () |
Recount active-slot counters from current IsRemoved flags without rebuilding indexes. | |
| void | RebuildDerivedRelations () |
| Rebuild centralized relation tables from entity and reference endpoints. This is intended for raw load, compact, and explicit repair paths only; editor mutations maintain relation containers incrementally. | |
| void | RebuildDerivedRelationsPreservingActiveCounts () |
| Rebuild relation maps after a trusted load already restored active counts. | |
| void | CopyRemovedFlagsFrom (const BRepGraphInc_Storage &theSource) |
| Bulk-copy all RemovedFlags bit-planes from theSource. Source must have been loaded with the same entity counts (identity copy path). | |
| bool | ValidateRelations () const |
| Debug: verify relation-table consistency against entity/reference endpoints. | |
| bool | ValidateWireCoEdgeOrder (const BRepGraph_WireId theWireId) const |
| Verify coedge ordering consistency for a specific wire. | |
| bool | ValidateWireCoEdgeOrders () const |
| Verify coedge ordering consistency for all wires. | |
| WireCoEdgeOrderStatus | CanonicalizeWireCoEdgeOrderStatus (const BRepGraph_WireId theWireId) |
| Canonicalize the coedge ordering of a wire and report the achieved order quality. | |
| bool | CanonicalizeWireCoEdgeOrder (const BRepGraph_WireId theWireId) |
| Canonicalize the coedge ordering of a wire to a consistent form. | |
| void | RebuildUIDReverseIndexes () |
| Rebuild UID reverse indexes (UID->NodeId, RefUID->RefId) from the current UID vectors. Clears indexes and resets allocators before rebuilding. Called after Compact, Load, etc. where UID vectors have been modified externally. | |
| void | MarkUIDReverseIndexesDirty () |
| Mark UID reverse indexes stale after bulk UID-vector replacement. | |
| void | EnsureUIDReverseIndex () const |
| Lazily rebuild the node UID reverse index if it is stale. | |
| void | EnsureRefUIDReverseIndex () const |
| Lazily rebuild the reference UID reverse index if it is stale. | |
| void | CopyDerivedRelationsFrom (const BRepGraphInc_Storage &theSource) |
| Copy all forward/reverse relation vectors directly from theSource. Used by identity copy to avoid the clear+rebuild cycle. | |
| template<typename T > | |
| bool | IsRemoved (const T theId) const |
| Return true if the entity identified by the given typed ID is soft-removed. | |
| template<typename T > | |
| void | SetRemoved (const T theId, const bool theVal) |
| Set or clear the soft-removal flag for the entity identified by the given typed ID. | |
| template<typename T > | |
| bool | IsOwned (const T theId) const |
| Return true if the entity identified by the given typed ID has a registered owner. | |
| template<typename T > | |
| void | SetOwned (const T theId, const bool theVal) |
| Set or clear the ownership flag for the entity identified by the given typed ID. | |
| template<typename T > | |
| bool | IsGuarded (const T theId) const |
| Return true if the entity identified by the given typed ID has an active MutGuard. | |
| template<typename T > | |
| void | SetGuarded (const T theId) |
| Register an active MutGuard on the entity identified by the given typed ID. | |
| template<typename T > | |
| void | ClearGuarded (const T theId) |
| Deregister an active MutGuard from the entity identified by the given typed ID. | |
| bool | HasCompoundParent (const BRepGraph_NodeId theNode) const |
| Return true if the node identified by the given generic NodeId has a parent compound. Dispatches by node kind to the appropriate per-kind bitset. | |
| bool | HasOccurrenceParent (const BRepGraph_NodeId theNode) const |
| Return true if the node identified by the given generic NodeId has a parent occurrence. Dispatches by node kind to the appropriate per-kind bitset. | |
| bool | IsGuarded (const BRepGraph_ItemId &theId) const |
| Return true if the entity identified by the given generic item id has an active MutGuard. | |
| void | SetGuarded (const BRepGraph_ItemId &theId) |
| Register an active MutGuard on the entity identified by the given generic item id. | |
| void | ClearGuarded (const BRepGraph_ItemId &theId) |
| Deregister an active MutGuard from the entity identified by the given generic item id. | |
| bool | HasAnyGuard () const |
| Return true if any entity in any store has an active MutGuard. Used to assert no guards are active before Clear(). | |
Central backend storage container for the incidence-table topology model.
Holds all entity vectors (Vertex through Occurrence), representation vectors (Surface, Curve3D, Curve2D, Triangulation, Polygon), relation tables for connectivity navigation, TShape deduplication maps, original shape bindings, and per-kind UID vectors. Provides typed accessors enforcing compile-time safety for backend code. External callers should normally use the BRepGraph facade rather than reaching into this storage directly. BRepGraphInc_Populate has friend access for efficient bulk writes during graph population.
Result of wire coedge order canonicalization.
| BRepGraphInc_Storage::BRepGraphInc_Storage | ( | ) |
Construct an empty storage with no entities or representations.
| BRepGraphInc_Storage::~BRepGraphInc_Storage | ( | ) |
Clear allocator-backed containers before member destructors walk them.
| BRepGraphInc_Load::Counts BRepGraphInc_Storage::ActiveCounts | ( | ) | const |
Build a Counts struct from current active (non-removed) counts.
|
inline |
Increment the propagation wave and return the new value.
| BRepGraph_UID BRepGraphInc_Storage::AllocateNodeUID | ( | BRepGraph_NodeId | theNodeId | ) |
Allocate a node UID: write counter into the entity, bind reverse map, advance counter.
| BRepGraph_RefUID BRepGraphInc_Storage::AllocateRefUID | ( | BRepGraph_RefId | theRefId | ) |
Allocate a reference UID: write counter into the ref, bind reverse map, advance counter.
|
inline |
Return the allocator used for backend storage.
|
inline |
Appends a new child reference entry and returns its typed id.
|
inline |
Appends a new coedge entity and returns its typed id.
|
inline |
Appends a new coedge 2D curve use record and returns its id.
|
inline |
Appends a new coedge 2D polygon use record and returns its id.
|
inline |
Appends a new coedge polygon-on-triangulation use record and returns its id.
|
inline |
Appends a new compound entity and returns its typed id.
|
inline |
Appends a new compsolid entity and returns its typed id.
|
inline |
Appends a new edge entity and returns its typed id.
|
inline |
Appends a new edge 3D curve use record and returns its id.
|
inline |
Appends a new edge 3D polygon use record and returns its id.
|
inline |
Appends a new face entity and returns its typed id.
|
inline |
Appends a new face reference entry and returns its typed id.
|
inline |
Appends a new face surface use record and returns its id.
|
inline |
Appends a new face triangulation use record and returns its id.
|
inline |
Appends a new occurrence entity and returns its typed id.
|
inline |
Appends a new occurrence reference entry and returns its typed id.
|
inline |
Appends a new product entity and returns its typed id.
|
inline |
Appends a new shell entity and returns its typed id.
|
inline |
Appends a new shell reference entry and returns its typed id.
|
inline |
Appends a new solid entity and returns its typed id.
|
inline |
Appends a new solid reference entry and returns its typed id.
|
inline |
Appends a new vertex entity and returns its typed id.
|
inline |
Appends a new vertex reference entry and returns its typed id.
|
inline |
Appends a new wire entity and returns its typed id.
|
inline |
Appends a new wire reference entry and returns its typed id.
| BRepGraph_ChildRefId BRepGraphInc_Storage::AttachChildToCompound | ( | const BRepGraph_CompoundId | theParentCompoundId, |
| const BRepGraph_NodeId | theChildNodeId, | ||
| const TopLoc_Location & | theLocation = TopLoc_Location(), | ||
| const BRepGraphInc::ParityOrientation | theOrientation = TopAbs_FORWARD ) |
Attach a child node to a compound by creating a child reference.
| [in] | theParentCompoundId | parent compound identifier |
| [in] | theChildNodeId | child node identifier |
| [in] | theLocation | optional location transformation |
| [in] | theOrientation | orientation within parent |
| void BRepGraphInc_Storage::AttachEdgeToVertex | ( | const BRepGraph_EdgeId | theEdgeId, |
| const BRepGraph_VertexId | theVertexId ) |
Attach an edge to a vertex by creating a vertex reference.
| [in] | theEdgeId | edge identifier |
| [in] | theVertexId | vertex identifier |
| BRepGraph_FaceRefId BRepGraphInc_Storage::AttachFaceToShell | ( | const BRepGraph_ShellId | theParentShellId, |
| const BRepGraph_FaceId | theChildFaceId, | ||
| const BRepGraphInc::ParityOrientation | theOrientation = TopAbs_FORWARD ) |
Attach a face to a shell by creating a face reference.
| [in] | theParentShellId | parent shell identifier |
| [in] | theChildFaceId | child face identifier |
| [in] | theOrientation | orientation within parent |
| BRepGraph_OccurrenceRefId BRepGraphInc_Storage::AttachOccurrenceToProduct | ( | const BRepGraph_ProductId | theParentProductId, |
| const BRepGraph_OccurrenceId | theChildOccurrenceId, | ||
| const TopLoc_Location & | theLocation = TopLoc_Location() ) |
Attach an occurrence to a product by creating an occurrence reference.
| [in] | theParentProductId | parent product identifier |
| [in] | theChildOccurrenceId | child occurrence identifier |
| [in] | theLocation | optional location transformation |
| BRepGraph_ShellRefId BRepGraphInc_Storage::AttachShellToSolid | ( | const BRepGraph_SolidId | theParentSolidId, |
| const BRepGraph_ShellId | theChildShellId, | ||
| const BRepGraphInc::ParityOrientation | theOrientation = TopAbs_FORWARD ) |
Attach a shell to a solid by creating a shell reference.
| [in] | theParentSolidId | parent solid identifier |
| [in] | theChildShellId | child shell identifier |
| [in] | theOrientation | orientation within parent |
| BRepGraph_SolidRefId BRepGraphInc_Storage::AttachSolidToCompSolid | ( | const BRepGraph_CompSolidId | theParentCompSolidId, |
| const BRepGraph_SolidId | theChildSolidId, | ||
| const BRepGraphInc::ParityOrientation | theOrientation = TopAbs_FORWARD ) |
Attach a solid to a compsolid by creating a solid reference.
| [in] | theParentCompSolidId | parent compsolid identifier |
| [in] | theChildSolidId | child solid identifier |
| [in] | theOrientation | orientation within parent |
| BRepGraph_WireRefId BRepGraphInc_Storage::AttachWireToFace | ( | const BRepGraph_FaceId | theParentFaceId, |
| const BRepGraph_WireId | theChildWireId, | ||
| const BRepGraphInc::ParityOrientation | theOrientation = TopAbs_FORWARD ) |
Attach a wire to a face by creating a wire reference.
| [in] | theParentFaceId | parent face identifier |
| [in] | theChildWireId | child wire identifier |
| [in] | theOrientation | orientation within parent |
| const BRepGraphInc::BaseRef & BRepGraphInc_Storage::BaseRef | ( | const BRepGraph_RefId | theRefId | ) | const |
Return the BaseRef portion of any ref entry by generic RefId.
| [in] | theRefId | generic reference identifier |
| void BRepGraphInc_Storage::BindOriginal | ( | const BRepGraph_NodeId | theNodeId, |
| const TopoDS_Shape & | theShape ) |
Binds the given node id to its construction-time shape key.
| bool BRepGraphInc_Storage::CanonicalizeWireCoEdgeOrder | ( | const BRepGraph_WireId | theWireId | ) |
Canonicalize the coedge ordering of a wire to a consistent form.
| [in] | theWireId | wire identifier |
| WireCoEdgeOrderStatus BRepGraphInc_Storage::CanonicalizeWireCoEdgeOrderStatus | ( | const BRepGraph_WireId | theWireId | ) |
Canonicalize the coedge ordering of a wire and report the achieved order quality.
| [in] | theWireId | wire identifier |
| BRepGraphInc::BaseRef * BRepGraphInc_Storage::ChangeBaseRef | ( | const BRepGraph_RefId | theRefId | ) |
Return the mutable BaseRef portion of any ref entry by generic RefId.
| [in] | theRefId | generic reference identifier |
|
inline |
Returns a mutable reference to the child reference entry at the given typed id.
|
inline |
Returns a mutable reference to the coedge entity at the given typed id.
| [in] | theCoEdge | typed coedge id |
|
inline |
Returns a mutable reference to the coedge 2D curve use at the given id.
|
inline |
Returns a mutable reference to the coedge 2D polygon use at the given id.
|
inline |
Returns a mutable reference to the coedge polygon-on-triangulation use at the given id.
|
inline |
Returns a mutable reference to the compound entity at the given typed id.
| [in] | theCompound | typed compound id |
|
inline |
Returns a mutable reference to the compsolid entity at the given typed id.
| [in] | theCompSolid | typed comp-solid id |
|
inline |
Return the mutable generation-validated node-to-shape reconstruction cache.
|
inline |
Return nodes accumulated during deferred invalidation.
|
inline |
Return refs accumulated during deferred invalidation.
|
inline |
Returns a mutable reference to the edge entity at the given typed id.
| [in] | theEdge | typed edge id |
|
inline |
Returns a mutable reference to the edge 3D curve use at the given id.
|
inline |
Returns a mutable reference to the edge 3D polygon use at the given id.
|
inline |
Returns a mutable reference to the face entity at the given typed id.
| [in] | theFace | typed face id |
|
inline |
Returns a mutable reference to the face reference entry at the given typed id.
|
inline |
Returns a mutable reference to the face surface use at the given id.
|
inline |
Returns a mutable reference to the face triangulation use at the given id.
|
inline |
Returns a mutable reference to the occurrence entity at the given typed id.
| [in] | theOccurrence | typed occurrence id |
|
inline |
Returns a mutable reference to the occurrence reference entry at the given typed id.
|
inline |
Returns a mutable reference to the product entity at the given typed id.
| [in] | theProduct | typed product id |
|
inline |
Return products not referenced by any active occurrence.
|
inline |
Returns a mutable reference to the shell entity at the given typed id.
| [in] | theShell | typed shell id |
|
inline |
Returns a mutable reference to the shell reference entry at the given typed id.
|
inline |
Returns a mutable reference to the solid entity at the given typed id.
| [in] | theSolid | typed solid id |
|
inline |
Returns a mutable reference to the solid reference entry at the given typed id.
|
inline |
Returns a mutable reference to the vertex entity at the given typed id.
| [in] | theVertex | typed vertex id |
|
inline |
Returns a mutable reference to the vertex reference entry at the given typed id.
|
inline |
Returns a mutable reference to the wire entity at the given typed id.
| [in] | theWire | typed wire id |
|
inline |
Returns a mutable reference to the wire reference entry at the given typed id.
|
inline |
Returns the child reference entry at the given typed id.
| void BRepGraphInc_Storage::Clear | ( | ) |
Clear all storage.
| void BRepGraphInc_Storage::ClearCurrentShapes | ( | ) |
Clear the generation-validated shape reconstruction cache.
| void BRepGraphInc_Storage::ClearDeferredQueues | ( | ) |
Clear deferred invalidation queues and release their batch allocator.
| void BRepGraphInc_Storage::ClearGuarded | ( | const BRepGraph_ItemId & | theId | ) |
Deregister an active MutGuard from the entity identified by the given generic item id.
| [in] | theId | generic item identifier (node, reference, or representation) |
Deregister an active MutGuard from the entity identified by the given typed ID.
| [in] | theId | typed entity identifier |
|
inline |
Returns the coedge entity at the given typed id.
| [in] | theCoEdge | typed coedge id |
|
inline |
Returns the coedge 2D curve use at the given id.
|
inline |
Returns the coedge 2D polygon use at the given id.
|
inline |
Returns the coedge polygon-on-triangulation use at the given id.
|
inline |
Returns the compound entity at the given typed id.
| [in] | theCompound | typed compound id |
| const NCollection_LinearVector< BRepGraph_ChildRefId > & BRepGraphInc_Storage::CompoundRefsOfNode | ( | const BRepGraph_NodeId | theNode | ) | const |
Return the compound child reference identifiers that point to a given node.
| [in] | theNode | node identifier |
|
inline |
Return the compound relations for a given compound identifier.
| [in] | theId | compound identifier |
|
inline |
Returns the compsolid entity at the given typed id.
| [in] | theCompSolid | typed comp-solid id |
|
inline |
Return the compsolid relations for a given compsolid identifier.
| [in] | theId | compsolid identifier |
| void BRepGraphInc_Storage::CopyDerivedRelationsFrom | ( | const BRepGraphInc_Storage & | theSource | ) |
Copy all forward/reverse relation vectors directly from theSource. Used by identity copy to avoid the clear+rebuild cycle.
| void BRepGraphInc_Storage::CopyRemovedFlagsFrom | ( | const BRepGraphInc_Storage & | theSource | ) |
Bulk-copy all RemovedFlags bit-planes from theSource. Source must have been loaded with the same entity counts (identity copy path).
| void BRepGraphInc_Storage::CopyShapeBindingsFrom | ( | const BRepGraphInc_Storage & | theSource | ) |
Copy shape-to-NodeId and Original shape bindings from another storage. Used by identity copy to preserve shape reconstruction bindings.
| BRepGraphInc_Load::Counts BRepGraphInc_Storage::Counts | ( | ) | const |
Build a Counts struct from current allocated slot counts.
| BRepGraph_CoEdgeId BRepGraphInc_Storage::CreateCoEdgeUse | ( | const BRepGraph_WireId | theParentWireId, |
| const BRepGraph_EdgeId | theChildEdgeId, | ||
| const BRepGraph_FaceId | theFaceId, | ||
| const BRepGraphInc::ParityOrientation | theOrientation ) |
Create a coedge use record binding an edge to a wire within a face context.
| [in] | theParentWireId | owning wire identifier |
| [in] | theChildEdgeId | referenced edge identifier |
| [in] | theFaceId | face context identifier |
| [in] | theOrientation | orientation of the coedge |
|
inline |
Return the generation-validated node-to-shape reconstruction cache.
|
inline |
Return the mutex protecting the reconstruction cache.
|
inline |
Leave one nested RemoveSubgraph scope.
|
inline |
Return whether invalidation is currently deferred.
|
inline |
Return nodes accumulated during deferred invalidation.
|
inline |
Return refs accumulated during deferred invalidation.
| bool BRepGraphInc_Storage::DetachChildFromCompound | ( | const BRepGraph_CompoundId | theParentCompoundId, |
| const BRepGraph_ChildRefId | theRefId ) |
Detach a child reference from its parent compound.
| [in] | theParentCompoundId | parent compound identifier |
| [in] | theRefId | child reference identifier to detach |
| bool BRepGraphInc_Storage::DetachCoEdgeUse | ( | const BRepGraph_WireId | theParentWireId, |
| const BRepGraph_CoEdgeId | theCoEdgeId ) |
Detach a coedge use from its parent wire.
| [in] | theParentWireId | owning wire identifier |
| [in] | theCoEdgeId | coedge identifier to detach |
| bool BRepGraphInc_Storage::DetachFaceFromShell | ( | const BRepGraph_ShellId | theParentShellId, |
| const BRepGraph_FaceRefId | theRefId ) |
Detach a face reference from its parent shell.
| [in] | theParentShellId | parent shell identifier |
| [in] | theRefId | face reference identifier to detach |
| bool BRepGraphInc_Storage::DetachOccurrenceFromProduct | ( | const BRepGraph_ProductId | theParentProductId, |
| const BRepGraph_OccurrenceRefId | theRefId ) |
Detach an occurrence reference from its parent product.
| [in] | theParentProductId | parent product identifier |
| [in] | theRefId | occurrence reference identifier to detach |
| bool BRepGraphInc_Storage::DetachShellFromSolid | ( | const BRepGraph_SolidId | theParentSolidId, |
| const BRepGraph_ShellRefId | theRefId ) |
Detach a shell reference from its parent solid.
| [in] | theParentSolidId | parent solid identifier |
| [in] | theRefId | shell reference identifier to detach |
| bool BRepGraphInc_Storage::DetachSolidFromCompSolid | ( | const BRepGraph_CompSolidId | theParentCompSolidId, |
| const BRepGraph_SolidRefId | theRefId ) |
Detach a solid reference from its parent compsolid.
| [in] | theParentCompSolidId | parent compsolid identifier |
| [in] | theRefId | solid reference identifier to detach |
| bool BRepGraphInc_Storage::DetachWireFromFace | ( | const BRepGraph_FaceId | theParentFaceId, |
| const BRepGraph_WireRefId | theRefId ) |
Detach a wire reference from its parent face.
| [in] | theParentFaceId | parent face identifier |
| [in] | theRefId | wire reference identifier to detach |
|
inline |
Returns the edge entity at the given typed id.
| [in] | theEdge | typed edge id |
|
inline |
Returns the edge 3D curve use at the given id.
|
inline |
Returns the edge 3D polygon use at the given id.
|
inline |
Return the edge relations for a given edge identifier.
| [in] | theId | edge identifier |
| void BRepGraphInc_Storage::EnsureRefUIDReverseIndex | ( | ) | const |
Lazily rebuild the reference UID reverse index if it is stale.
| void BRepGraphInc_Storage::EnsureUIDReverseIndex | ( | ) | const |
Lazily rebuild the node UID reverse index if it is stale.
|
inline |
Returns the face entity at the given typed id.
| [in] | theFace | typed face id |
|
inline |
Returns the face reference entry at the given typed id.
|
inline |
Return the face relations for a given face identifier.
| [in] | theId | face identifier |
|
inline |
Returns the face surface use at the given id.
|
inline |
Returns the face triangulation use at the given id.
| BRepGraph_NodeId BRepGraphInc_Storage::FindDefinitionByShape | ( | const TopoDS_Shape & | theShape | ) | const |
Returns the node id bound to the given shape definition key, or invalid if not bound.
| BRepGraph_NodeId BRepGraphInc_Storage::FindNodeIdByUID | ( | const BRepGraph_UID & | theUID | ) | const |
Resolve an active node UID through storage reverse maps.
| TopoDS_Shape BRepGraphInc_Storage::FindOriginal | ( | const BRepGraph_NodeId | theNodeId | ) | const |
Back-reference to the construction-time TopoDS_Shape key a node was built from. Only populated during graph construction; absent bindings are a valid state.
Returns the original shape for the given node id, or a null shape if not bound.
| BRepGraph_RefId BRepGraphInc_Storage::FindRefIdByUID | ( | const BRepGraph_RefUID & | theUID | ) | const |
Resolve an active reference UID through storage reverse maps.
Iterate all NodeId-to-OriginalShape bindings, invoking theFunc(NodeId, Shape) for each entry. Used by Compact to rebuild the map after the rebuild-and-swap.
Iterate all shape-to-NodeId bindings, invoking theFunc(shape, NodeId) for each entry. Used by Compact to rebuild the map after the rebuild-and-swap.
|
inline |
Return the current graph generation used by VersionStamp staleness checks.
|
inline |
Return the stable graph instance GUID.
| bool BRepGraphInc_Storage::HasAnyGuard | ( | ) | const |
Return true if any entity in any store has an active MutGuard. Used to assert no guards are active before Clear().
| bool BRepGraphInc_Storage::HasCompoundParent | ( | const BRepGraph_NodeId | theNode | ) | const |
Return true if the node identified by the given generic NodeId has a parent compound. Dispatches by node kind to the appropriate per-kind bitset.
| [in] | theNode | generic node identifier |
| bool BRepGraphInc_Storage::HasOccurrenceParent | ( | const BRepGraph_NodeId | theNode | ) | const |
Return true if the node identified by the given generic NodeId has a parent occurrence. Dispatches by node kind to the appropriate per-kind bitset.
| [in] | theNode | generic node identifier |
| bool BRepGraphInc_Storage::HasOriginal | ( | const BRepGraph_NodeId | theNodeId | ) | const |
Returns true if the given node id has an original shape binding.
| bool BRepGraphInc_Storage::HasShapeBinding | ( | const TopoDS_Shape & | theShape | ) | const |
Returns true if the given shape definition key is bound to a node.
|
inline |
Increment the graph generation after a structural mutation batch.
|
inline |
Increment the propagation wave without reading it back.
|
inline |
Enter one nested RemoveSubgraph scope.
| bool BRepGraphInc_Storage::IsEmpty | ( | ) | const |
Return true when the graph contains no topology definitions. Checks whether any node kind (Vertex, Edge, Wire, Face, Shell, Solid, Compound, CompSolid, Product, Occurrence) has been allocated.
| bool BRepGraphInc_Storage::IsGuarded | ( | const BRepGraph_ItemId & | theId | ) | const |
Return true if the entity identified by the given generic item id has an active MutGuard.
| [in] | theId | generic item identifier (node, reference, or representation) |
Return true if the entity identified by the given typed ID has an active MutGuard.
| [in] | theId | typed entity identifier |
Return true if the entity identified by the given typed ID has a registered owner.
| [in] | theId | typed entity identifier |
Return true if the entity identified by the given typed ID is soft-removed.
| [in] | theId | typed entity identifier |
| bool BRepGraphInc_Storage::MarkRemoved | ( | const BRepGraph_NodeId | theNodeId | ) |
Mark an entity node as removed and decrement its active counter once.
| [in] | theNodeId | typed entity id |
| bool BRepGraphInc_Storage::MarkRemoved | ( | const BRepGraph_RepId | theRepId | ) |
Mark a representation-use record as removed and decrement its active counter once.
| [in] | theRepId | typed use id |
| bool BRepGraphInc_Storage::MarkRemovedRef | ( | const BRepGraph_RefId | theRefId | ) |
Mark a reference entry as removed and decrement its active counter once.
| [in] | theRefId | typed reference id |
| void BRepGraphInc_Storage::MarkUIDReverseIndexesDirty | ( | ) |
Mark UID reverse indexes stale after bulk UID-vector replacement.
|
inline |
Returns the number of active child reference entries (excluding removed).
| uint32_t BRepGraphInc_Storage::NbActiveCoEdgeCurves2D | ( | ) | const |
Returns the number of active (parent-valid) coedge 2D curve use records.
| uint32_t BRepGraphInc_Storage::NbActiveCoEdgePolygons2D | ( | ) | const |
Returns the number of active (parent-valid) coedge 2D polygon use records.
| uint32_t BRepGraphInc_Storage::NbActiveCoEdgePolygonsOnTri | ( | ) | const |
Returns the number of active (parent-valid) coedge polygon-on-triangulation use records.
|
inline |
Returns the number of active coedge entities (excluding removed).
|
inline |
Returns the number of active compound entities (excluding removed).
|
inline |
Returns the number of active compsolid entities (excluding removed).
| uint32_t BRepGraphInc_Storage::NbActiveEdgeCurves3D | ( | ) | const |
Returns the number of active (parent-valid) edge 3D curve use records.
| uint32_t BRepGraphInc_Storage::NbActiveEdgePolygons3D | ( | ) | const |
Returns the number of active (parent-valid) edge 3D polygon use records.
|
inline |
Returns the number of active edge entities (excluding removed).
|
inline |
Returns the number of active face reference entries (excluding removed).
|
inline |
Returns the number of active face entities (excluding removed).
| uint32_t BRepGraphInc_Storage::NbActiveFaceSurfaces | ( | ) | const |
Returns the number of active (parent-valid) face surface use records.
| uint32_t BRepGraphInc_Storage::NbActiveFaceTriangulations | ( | ) | const |
Returns the number of active (parent-valid) face triangulation use records.
|
inline |
Returns the number of active occurrence reference entries (excluding removed).
|
inline |
Returns the number of active occurrence entities (excluding removed).
|
inline |
Returns the number of active product entities (excluding removed).
|
inline |
Returns the number of active shell reference entries (excluding removed).
|
inline |
Returns the number of active shell entities (excluding removed).
|
inline |
Returns the number of active solid reference entries (excluding removed).
|
inline |
Returns the number of active solid entities (excluding removed).
|
inline |
Returns the number of active vertex reference entries (excluding removed).
|
inline |
Returns the number of active vertex entities (excluding removed).
|
inline |
Returns the number of active wire reference entries (excluding removed).
|
inline |
Returns the number of active wire entities (excluding removed).
|
inline |
Returns the total number of child reference entries (including removed).
|
inline |
Returns the number of coedge 2D curve use records.
|
inline |
Returns the number of coedge 2D polygon use records.
|
inline |
Returns the number of coedge polygon-on-triangulation use records.
|
inline |
Returns the total number of coedge entities (including removed).
|
inline |
Returns the total number of compound entities (including removed).
|
inline |
Returns the total number of compsolid entities (including removed).
|
inline |
Returns the number of edge 3D curve use records.
|
inline |
Returns the number of edge 3D polygon use records.
|
inline |
Returns the total number of edge entities (including removed).
|
inline |
Returns the total number of face reference entries (including removed).
|
inline |
Returns the total number of face entities (including removed).
|
inline |
Returns the number of face surface use records.
|
inline |
Returns the number of face triangulation use records.
|
inline |
Returns the total number of occurrence reference entries (including removed).
|
inline |
Returns the total number of occurrence entities (including removed).
|
inline |
Returns the total number of product entities (including removed).
|
inline |
Returns the total number of shell reference entries (including removed).
|
inline |
Returns the total number of shell entities (including removed).
|
inline |
Returns the total number of solid reference entries (including removed).
|
inline |
Returns the total number of solid entities (including removed).
|
inline |
Returns the total number of vertex reference entries (including removed).
|
inline |
Returns the total number of vertex entities (including removed).
|
inline |
Returns the total number of wire reference entries (including removed).
|
inline |
Returns the total number of wire entities (including removed).
| uint32_t BRepGraphInc_Storage::NextNodeUIDCounter | ( | BRepGraph_NodeId::Kind | theKind | ) | const |
Return the next UID counter for a given node kind.
| uint32_t BRepGraphInc_Storage::NextRefUIDCounter | ( | BRepGraph_RefId::Kind | theKind | ) | const |
Return the next UID counter for a given reference kind.
|
inline |
Returns the occurrence entity at the given typed id.
| [in] | theOccurrence | typed occurrence id |
|
inline |
Returns the occurrence reference entry at the given typed id.
| const NCollection_LinearVector< BRepGraph_OccurrenceRefId > & BRepGraphInc_Storage::OccurrenceRefsOfNode | ( | const BRepGraph_NodeId | theNode | ) | const |
Return the occurrence reference identifiers that point to a given node.
| [in] | theNode | node identifier |
|
inline |
Return the occurrence relations for a given occurrence identifier.
| [in] | theId | occurrence identifier |
| void BRepGraphInc_Storage::PrepareForLoad | ( | const BRepGraphInc_Load::Counts & | theCounts | ) |
Prepare fixed-size destination ranges for indexed load.
This is an internal backend preparation API intended for persistence read paths that know final section sizes in advance. It clears previous content, pre-sizes defs/refs/reps and UID vectors, and initializes relation tables exactly once. The load path then restores serialized relation lists and calls RebuildDerivedRelations() once to refresh derived incoming maps.
| theCounts | final per-section slot counts. |
|
inline |
Returns the product entity at the given typed id.
| [in] | theProduct | typed product id |
|
inline |
Return the product relations for a given product identifier.
| [in] | theId | product identifier |
|
inline |
Return the current propagation wave id used to avoid revisiting parents.
| void BRepGraphInc_Storage::RebindChildRef | ( | const BRepGraph_ChildRefId | theRefId, |
| const BRepGraph_NodeId | theOldChild, | ||
| const BRepGraph_NodeId | theNewChild ) |
Rebind a child reference to point to a new child node.
| [in] | theRefId | child reference identifier |
| [in] | theOldChild | old child node identifier |
| [in] | theNewChild | new child node identifier |
| void BRepGraphInc_Storage::RebindCoEdgeEdge | ( | const BRepGraph_CoEdgeId | theCoEdge, |
| const BRepGraph_EdgeId | theOldEdge, | ||
| const BRepGraph_EdgeId | theNewEdge ) |
Rebind a coedge to reference a different edge.
| [in] | theCoEdge | coedge identifier |
| [in] | theOldEdge | old edge identifier |
| [in] | theNewEdge | new edge identifier |
| void BRepGraphInc_Storage::RebindFaceRef | ( | const BRepGraph_FaceRefId | theRefId, |
| const BRepGraph_FaceId | theOldFace, | ||
| const BRepGraph_FaceId | theNewFace ) |
Rebind a face reference to point to a new face.
| [in] | theRefId | face reference identifier |
| [in] | theOldFace | old face identifier |
| [in] | theNewFace | new face identifier |
| void BRepGraphInc_Storage::RebindOccurrenceChild | ( | const BRepGraph_OccurrenceId | theOccurrence, |
| const BRepGraph_NodeId | theOldChild, | ||
| const BRepGraph_NodeId | theNewChild ) |
Rebind the child node of an occurrence to a new node.
| [in] | theOccurrence | occurrence identifier |
| [in] | theOldChild | old child node identifier |
| [in] | theNewChild | new child node identifier |
| void BRepGraphInc_Storage::RebindOccurrenceRef | ( | const BRepGraph_OccurrenceRefId | theRefId, |
| const BRepGraph_OccurrenceId | theOldOccurrence, | ||
| const BRepGraph_OccurrenceId | theNewOccurrence ) |
Rebind an occurrence reference to point to a new occurrence.
| [in] | theRefId | occurrence reference identifier |
| [in] | theOldOccurrence | old occurrence identifier |
| [in] | theNewOccurrence | new occurrence identifier |
| void BRepGraphInc_Storage::RebindShellRef | ( | const BRepGraph_ShellRefId | theRefId, |
| const BRepGraph_ShellId | theOldShell, | ||
| const BRepGraph_ShellId | theNewShell ) |
Rebind a shell reference to point to a new shell.
| [in] | theRefId | shell reference identifier |
| [in] | theOldShell | old shell identifier |
| [in] | theNewShell | new shell identifier |
| void BRepGraphInc_Storage::RebindSolidRef | ( | const BRepGraph_SolidRefId | theRefId, |
| const BRepGraph_SolidId | theOldSolid, | ||
| const BRepGraph_SolidId | theNewSolid ) |
Rebind a solid reference to point to a new solid.
| [in] | theRefId | solid reference identifier |
| [in] | theOldSolid | old solid identifier |
| [in] | theNewSolid | new solid identifier |
| void BRepGraphInc_Storage::RebindVertexEdge | ( | const BRepGraph_VertexId | theOldVertex, |
| const BRepGraph_VertexId | theNewVertex, | ||
| const BRepGraph_EdgeId | theEdge, | ||
| const BRepGraph_VertexRefId | theExcludingRef ) |
Rebind vertex edge references from one vertex to another, excluding a specific ref.
| [in] | theOldVertex | old vertex identifier |
| [in] | theNewVertex | new vertex identifier |
| [in] | theEdge | edge identifier |
| [in] | theExcludingRef | reference identifier to exclude from rebinding |
| void BRepGraphInc_Storage::RebindVertexRef | ( | const BRepGraph_VertexRefId | theRefId, |
| const BRepGraph_VertexId | theOldVertex, | ||
| const BRepGraph_VertexId | theNewVertex ) |
Rebind a vertex reference to point to a new vertex.
| [in] | theRefId | vertex reference identifier |
| [in] | theOldVertex | old vertex identifier |
| [in] | theNewVertex | new vertex identifier |
| void BRepGraphInc_Storage::RebindWireRef | ( | const BRepGraph_WireRefId | theRefId, |
| const BRepGraph_WireId | theOldWire, | ||
| const BRepGraph_WireId | theNewWire ) |
Rebind a wire reference to point to a new wire.
| [in] | theRefId | wire reference identifier |
| [in] | theOldWire | old wire identifier |
| [in] | theNewWire | new wire identifier |
| void BRepGraphInc_Storage::RebuildDerivedRelations | ( | ) |
Rebuild centralized relation tables from entity and reference endpoints. This is intended for raw load, compact, and explicit repair paths only; editor mutations maintain relation containers incrementally.
| void BRepGraphInc_Storage::RebuildDerivedRelationsPreservingActiveCounts | ( | ) |
Rebuild relation maps after a trusted load already restored active counts.
| void BRepGraphInc_Storage::RebuildUIDReverseIndexes | ( | ) |
Rebuild UID reverse indexes (UID->NodeId, RefUID->RefId) from the current UID vectors. Clears indexes and resets allocators before rebuilding. Called after Compact, Load, etc. where UID vectors have been modified externally.
| void BRepGraphInc_Storage::RecountActiveCounts | ( | ) |
Recount active-slot counters from current IsRemoved flags without rebuilding indexes.
| bool BRepGraphInc_Storage::RemoveDefinitionShapeBinding | ( | const TopoDS_Shape & | theShape, |
| const BRepGraph_NodeId | theExpectedNodeId ) |
Remove the shape-to-node binding only if it points to the expected node. Returns true if the binding was removed.
|
inline |
Return the recursion depth of the active RemoveSubgraph cascade.
| bool BRepGraphInc_Storage::ReplaceCoEdgeUseWithPair | ( | const BRepGraph_WireId | theParentWireId, |
| const BRepGraph_CoEdgeId | theOldCoEdgeId, | ||
| const BRepGraph_CoEdgeId | theNewFirstCoEdgeId, | ||
| const BRepGraph_CoEdgeId | theNewSecondCoEdgeId ) |
Replace a single coedge with a pair of new coedges in a wire.
| [in] | theParentWireId | owning wire identifier |
| [in] | theOldCoEdgeId | coedge to replace |
| [in] | theNewFirstCoEdgeId | first replacement coedge |
| [in] | theNewSecondCoEdgeId | second replacement coedge |
| void BRepGraphInc_Storage::ReverseWireCoEdges | ( | const BRepGraph_WireId | theWireId | ) |
Reverse the order of coedges in a wire.
| [in] | theWireId | wire identifier |
|
inline |
Return products not referenced by any active occurrence.
| void BRepGraphInc_Storage::SetActiveCounts | ( | const BRepGraphInc_Load::Counts & | theCounts | ) |
Override active-slot counters after a trusted indexed load path.
This is intended for persistence backends that already touched every slot during load and therefore know exact active counts without rescanning storage after relation construction.
| theCounts | trusted active per-section counts. |
| void BRepGraphInc_Storage::SetCompoundChildRefs | ( | const BRepGraph_CompoundId | theCompoundId, |
| const NCollection_Array1< BRepGraph_ChildRefId > & | theChildRefIds ) |
Replace the child reference list of a compound with a new set.
| [in] | theCompoundId | compound identifier |
| [in] | theChildRefIds | new child reference identifiers |
| void BRepGraphInc_Storage::SetCompSolidSolidRefs | ( | const BRepGraph_CompSolidId | theCompSolidId, |
| const NCollection_Array1< BRepGraph_SolidRefId > & | theSolidRefIds ) |
Replace the solid reference list of a compsolid with a new set.
| [in] | theCompSolidId | compsolid identifier |
| [in] | theSolidRefIds | new solid reference identifiers |
Enable or disable deferred invalidation mode.
| void BRepGraphInc_Storage::SetDefinitionShapeBinding | ( | const TopoDS_Shape & | theShape, |
| const BRepGraph_NodeId | theNodeId ) |
Set or update the shape-to-node binding. Uses replacement semantics: binds if absent, updates if already bound.
| void BRepGraphInc_Storage::SetFaceWireRefs | ( | const BRepGraph_FaceId | theFaceId, |
| const NCollection_Array1< BRepGraph_WireRefId > & | theWireRefIds ) |
Replace the wire reference list of a face with a new set.
| [in] | theFaceId | face identifier |
| [in] | theWireRefIds | new wire reference identifiers |
Override the current graph generation.
|
inline |
Override the stable graph instance GUID.
| void BRepGraphInc_Storage::SetGuarded | ( | const BRepGraph_ItemId & | theId | ) |
Register an active MutGuard on the entity identified by the given generic item id.
| [in] | theId | generic item identifier (node, reference, or representation) |
Register an active MutGuard on the entity identified by the given typed ID.
| [in] | theId | typed entity identifier |
| void BRepGraphInc_Storage::SetNextNodeUIDCounter | ( | BRepGraph_NodeId::Kind | theKind, |
| uint32_t | theCounter ) |
Override the next UID counter for a given node kind.
| void BRepGraphInc_Storage::SetNextRefUIDCounter | ( | BRepGraph_RefId::Kind | theKind, |
| uint32_t | theCounter ) |
Override the next UID counter for a given reference kind.
Set or clear the ownership flag for the entity identified by the given typed ID.
| [in] | theId | typed entity identifier |
| [in] | theVal | true to mark owned, false to mark unowned |
| void BRepGraphInc_Storage::SetProductOccurrenceRefs | ( | const BRepGraph_ProductId | theProductId, |
| const NCollection_Array1< BRepGraph_OccurrenceRefId > & | theOccurrenceRefIds ) |
Replace the occurrence reference list of a product with a new set.
| [in] | theProductId | product identifier |
| [in] | theOccurrenceRefIds | new occurrence reference identifiers |
| void BRepGraphInc_Storage::SetRemoved | ( | const BRepGraph_RepId | theRepId, |
| const bool | theVal ) |
Set or clear the soft-removal flag for a representation-use record.
| [in] | theRepId | typed use id |
| [in] | theVal | true to mark removed, false to mark active |
Set or clear the soft-removal flag for the entity identified by the given typed ID.
| [in] | theId | typed entity identifier |
| [in] | theVal | true to mark removed, false to mark active |
| void BRepGraphInc_Storage::SetShellFaceRefs | ( | const BRepGraph_ShellId | theShellId, |
| const NCollection_Array1< BRepGraph_FaceRefId > & | theFaceRefIds ) |
Replace the face reference list of a shell with a new set.
| [in] | theShellId | shell identifier |
| [in] | theFaceRefIds | new face reference identifiers |
| void BRepGraphInc_Storage::SetSolidShellRefs | ( | const BRepGraph_SolidId | theSolidId, |
| const NCollection_Array1< BRepGraph_ShellRefId > & | theShellRefIds ) |
Replace the shell reference list of a solid with a new set.
| [in] | theSolidId | solid identifier |
| [in] | theShellRefIds | new shell reference identifiers |
| void BRepGraphInc_Storage::SetWireCoEdges | ( | const BRepGraph_WireId | theWireId, |
| const NCollection_Array1< BRepGraph_CoEdgeId > & | theCoEdgeIds ) |
Replace the coedge list of a wire with a new set.
| [in] | theWireId | wire identifier |
| [in] | theCoEdgeIds | new coedge identifiers |
|
inline |
Returns the shell entity at the given typed id.
| [in] | theShell | typed shell id |
|
inline |
Returns the shell reference entry at the given typed id.
|
inline |
Return the shell relations for a given shell identifier.
| [in] | theId | shell identifier |
|
inline |
Returns the solid entity at the given typed id.
| [in] | theSolid | typed solid id |
|
inline |
Returns the solid reference entry at the given typed id.
|
inline |
Return the solid relations for a given solid identifier.
| [in] | theId | solid identifier |
| void BRepGraphInc_Storage::UnbindCurrentShape | ( | const BRepGraph_NodeId | theNode | ) |
Remove one entry from the generation-validated shape reconstruction cache.
| void BRepGraphInc_Storage::UnBindOriginal | ( | const BRepGraph_NodeId | theNodeId | ) |
Removes the original shape binding for the given node id.
| bool BRepGraphInc_Storage::ValidateRelations | ( | ) | const |
Debug: verify relation-table consistency against entity/reference endpoints.
| bool BRepGraphInc_Storage::ValidateWireCoEdgeOrder | ( | const BRepGraph_WireId | theWireId | ) | const |
Verify coedge ordering consistency for a specific wire.
| [in] | theWireId | wire identifier |
| bool BRepGraphInc_Storage::ValidateWireCoEdgeOrders | ( | ) | const |
Verify coedge ordering consistency for all wires.
|
inline |
Returns the vertex entity at the given typed id.
| [in] | theVertex | typed vertex id |
|
inline |
Returns the vertex reference entry at the given typed id.
|
inline |
Return the vertex relations for a given vertex identifier.
| [in] | theId | vertex identifier |
|
inline |
Returns the wire entity at the given typed id.
| [in] | theWire | typed wire id |
|
inline |
Returns the wire reference entry at the given typed id.
|
inline |
Return the wire relations for a given wire identifier.
| [in] | theId | wire identifier |