|
| | BRepGraph_CacheMesh () |
| | BRepGraph_CacheMesh (const BRepGraph_CacheMesh &)=delete |
| BRepGraph_CacheMesh & | operator= (const BRepGraph_CacheMesh &)=delete |
| const Standard_GUID & | ID () const override |
| | Returns the unique cache service GUID.
|
| const TCollection_AsciiString & | Name () const override |
| | Returns the cache service display name.
|
| void | Clear () noexcept override |
| | Clears all cache slots and registered drivers.
|
| void | CopyFreshTo (const BRepGraph_CopyRemap &theCopy) const override |
| | Copy fresh, remappable mesh cache entries into the target graph.
|
| SlotId | ActiveDisplaySlot () const |
| | Get/set the currently active display slot. EffectiveView reads from this slot.
|
| void | SetActiveDisplaySlot (SlotId theSlot) |
| void | RegisterDriver (SlotId theSlot, const occ::handle< Driver > &theDriver) |
| | Register or replace a meshing driver for a cache slot.
|
| void | UnregisterDriver (SlotId theSlot) |
| | Remove a meshing driver from a cache slot and invalidate the slot.
|
| const occ::handle< Driver > & | DriverOf (SlotId theSlot) const |
| | Return driver registered for a slot, or null.
|
| SlotState | State (SlotId theSlot=DefaultDisplaySlot) const |
| | Return current state of a cache slot.
|
| bool | Ensure (BRepGraph &theGraph, SlotId theSlot=DefaultDisplaySlot, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| | Recompute stale data in a slot using its registered driver.
|
| bool | Ensure (BRepGraph &theGraph, const BRepGraph_NodeId theRoot, SlotId theSlot=DefaultDisplaySlot, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| | Recompute stale data below a topology node using the slot driver.
|
| bool | Ensure (BRepGraph &theGraph, const NCollection_Array1< BRepGraph_NodeId > &theNodes, SlotId theSlot=DefaultDisplaySlot, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| | Recompute stale data for requested topology nodes using the slot driver.
|
| bool | Needs (BRepGraph &theGraph, BRepGraph_NodeId theRoot, SlotId theSlot=DefaultDisplaySlot) const |
| | Return true when a cache slot has stale or missing mesh below the topology node. Uses the same actualness rules as Ensure() but does not invoke the driver.
|
| bool | HasFaceMesh (BRepGraph_FaceId theFace) const |
| const FaceMeshEntry * | FindFaceMesh (BRepGraph_FaceId theFace) const |
| FaceMeshEntry & | ChangeFaceMesh (BRepGraph_FaceId theFace) |
| void | ClearFaceMesh (BRepGraph_FaceId theFace) |
| bool | HasCoEdgeMesh (BRepGraph_CoEdgeId theCoEdge) const |
| CoEdgeMeshEntry & | ChangeCoEdgeMesh (BRepGraph_CoEdgeId theCoEdge) |
| void | ClearCoEdgeMesh (BRepGraph_CoEdgeId theCoEdge) |
| bool | HasEdgeMesh (BRepGraph_EdgeId theEdge) const |
| const EdgeMeshEntry * | FindEdgeMesh (BRepGraph_EdgeId theEdge) const |
| EdgeMeshEntry & | ChangeEdgeMesh (BRepGraph_EdgeId theEdge) |
| void | ClearEdgeMesh (BRepGraph_EdgeId theEdge) |
| bool | HasFaceMesh (SlotId theSlot, BRepGraph_FaceId theFace) const |
| const FaceMeshEntry * | FindFaceMesh (SlotId theSlot, BRepGraph_FaceId theFace) const |
| FaceMeshEntry & | ChangeFaceMesh (SlotId theSlot, BRepGraph_FaceId theFace) |
| void | ClearFaceMesh (SlotId theSlot, BRepGraph_FaceId theFace) |
| bool | HasCoEdgeMesh (SlotId theSlot, BRepGraph_CoEdgeId theCoEdge) const |
| CoEdgeMeshEntry & | ChangeCoEdgeMesh (SlotId theSlot, BRepGraph_CoEdgeId theCoEdge) |
| void | ClearCoEdgeMesh (SlotId theSlot, BRepGraph_CoEdgeId theCoEdge) |
| bool | HasEdgeMesh (SlotId theSlot, BRepGraph_EdgeId theEdge) const |
| const EdgeMeshEntry * | FindEdgeMesh (SlotId theSlot, BRepGraph_EdgeId theEdge) const |
| EdgeMeshEntry & | ChangeEdgeMesh (SlotId theSlot, BRepGraph_EdgeId theEdge) |
| void | ClearEdgeMesh (SlotId theSlot, BRepGraph_EdgeId theEdge) |
| void | BindFresh (FaceMeshEntry &theEntry, BRepGraph_FaceId theFace) const |
| | Stamp a freshly written default-slot entry.
|
| void | BindFresh (CoEdgeMeshEntry &theEntry, BRepGraph_CoEdgeId theCoEdge) const |
| void | BindFresh (EdgeMeshEntry &theEntry, BRepGraph_EdgeId theEdge) const |
| void | BumpFaceMeshGeneration (BRepGraph_FaceId theFace, SlotId theSlot=DefaultDisplaySlot) |
| | Bump face mesh generation after cached content changed. This is the ONLY mutator for MeshGeneration. ClearRepresentation() does not bump. Creates the face entry if it doesn't exist yet (via ensureSize).
|
| const FaceMeshEntry * | findFaceEntryRaw (SlotId theSlot, BRepGraph_FaceId theFace) const |
| | Raw face entry access (no freshness filtering). For internal use.
|
| const CoEdgeMeshEntry * | findCoEdgeEntryRaw (SlotId theSlot, BRepGraph_CoEdgeId theCoEdge) const |
| | Raw coedge entry access (no freshness/generation filtering). Returns nullptr if the slot is absent or the entry has no representation. For internal use.
|
| const CoEdgeMeshEntry * | FindCoEdgePolygon2D (SlotId theSlot, BRepGraph_CoEdgeId theCoEdge) const |
| | Return coedge entry if Polygon2D is fresh, nullptr otherwise.
|
| const CoEdgeMeshEntry * | FindCoEdgePolygonOnTri (SlotId theSlot, BRepGraph_CoEdgeId theCoEdge) const |
| | Return coedge entry if PolygonsOnTri is fresh, nullptr otherwise.
|
| const CoEdgeMeshEntry * | FindCoEdgePolygon2D (BRepGraph_CoEdgeId theCoEdge) const |
| | Return coedge entry if Polygon2D is fresh (default slot), nullptr otherwise.
|
| const CoEdgeMeshEntry * | FindCoEdgePolygonOnTri (BRepGraph_CoEdgeId theCoEdge) const |
| | Return coedge entry if PolygonsOnTri is fresh (default slot), nullptr otherwise.
|
| Public Member Functions inherited from Standard_Transient |
| | Standard_Transient () |
| | Empty constructor.
|
| | Standard_Transient (const Standard_Transient &) |
| | Copy constructor – does nothing.
|
| Standard_Transient & | operator= (const Standard_Transient &) |
| | Assignment operator, needed to avoid copying reference counter.
|
| virtual | ~Standard_Transient ()=default |
| | Destructor must be virtual.
|
| virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| | Returns a type descriptor about this object.
|
| bool | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| | Returns a true value if this is an instance of Type.
|
| bool | IsInstance (const char *const theTypeName) const |
| | Returns a true value if this is an instance of TypeName.
|
| bool | IsKind (const opencascade::handle< Standard_Type > &theType) const |
| | Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
|
| bool | IsKind (const char *const theTypeName) const |
| | Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
|
| Standard_Transient * | This () const |
| | Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
|
| int | GetRefCount () const noexcept |
| | Get the reference counter of this object.
|
| void | IncrementRefCounter () noexcept |
| | Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations.
|
| int | DecrementRefCounter () noexcept |
| | Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement.
|
| virtual void | Delete () const |
| | Memory deallocator for transient classes.
|
Registry-owned runtime mesh cache for BRepGraph.
CacheMesh stores transient triangulations and polygons produced by meshing drivers. It is not copied, transformed, or serialized. Persistent mesh representations remain in topology definitions and are filled only by import, authored primitive creation, or explicit promotion.