Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
BRepGraphInc::ProductDef Struct Reference

Product entity: reusable shape definition (part or assembly). Children are managed uniformly via OccurrenceRefIds: More...

#include <BRepGraphInc_Definition.hxx>

Inheritance diagram for BRepGraphInc::ProductDef:
Inheritance graph
[legend]

Public Types

using TypeId = BRepGraph_ProductId
 
- Public Types inherited from BRepGraphInc::BaseDef
using TypeId = BRepGraph_NodeId
 

Public Member Functions

void InitVectors (const occ::handle< NCollection_BaseAllocator > &theAlloc)
 

Data Fields

NCollection_DynamicArray< BRepGraph_OccurrenceRefIdOccurrenceRefIds
 All children (shape roots and sub-products)
 
- Data Fields inherited from BRepGraphInc::BaseDef
uint32_t OwnGen = 0
 Own-data mutation counter, incremented ONLY when the entity's own definition fields change (tolerance, point, flags, etc.). NOT incremented by descendant changes. Used by VersionStamp for persistent identity staleness detection.
 
uint32_t SubtreeGen = 0
 Subtree mutation counter, incremented when own data OR any descendant data changes. Propagated upward via markParentSubtreeGen(). Used by TransientCache and shape cache for hierarchical freshness.
 
uint32_t LastPropWave = 0
 Wave counter from the last propagation that visited this node. Used as a re-visit guard in markParentSubtreeGen() to prevent exponential blowup on diamond topologies. Compared against BRepGraph_Data::myPropagationWave.
 
bool IsRemoved = false
 Soft-removal flag.
 

Detailed Description

Product entity: reusable shape definition (part or assembly). Children are managed uniformly via OccurrenceRefIds:

Member Typedef Documentation

◆ TypeId

Member Function Documentation

◆ InitVectors()

void BRepGraphInc::ProductDef::InitVectors ( const occ::handle< NCollection_BaseAllocator > & theAlloc)
inline

Field Documentation

◆ OccurrenceRefIds

NCollection_DynamicArray<BRepGraph_OccurrenceRefId> BRepGraphInc::ProductDef::OccurrenceRefIds

All children (shape roots and sub-products)


The documentation for this struct was generated from the following file: