OCCT3D About OCCT
Open CASCADE Technology Reference Manual 8.0.1
Loading...
Searching...
No Matches
Data Structures | Public Member Functions
BRepGraph::MeshView Class Reference

Read/write view over mesh data. More...

#include <BRepGraph_MeshView.hxx>

Data Structures

class  CacheView
 Cache reads. Each accessor returns data only if a fresh cache entry exists for the given entity (matched against its current OwnGen). More...
 
class  EditorView
 Cache mutation surface. Mutates the BRepGraphMesh cache only - does not touch persistent definition data. Persistent rep creation/edit lives on BRepGraph::Editor().Edges(), BRepGraph::Editor().CoEdges(), BRepGraph::Editor().Faces(). More...
 
class  EffectiveView
 Resolves mesh data by checking the cache first and the persistent (def-resident) source second. Callers that do not care which source supplies the data go through this view; callers that do care use Cache() or Persistent() directly. More...
 
class  PersistentView
 Persistent reads. Resolves data through the rep id stored on the entity's definition (FaceDef / EdgeDef / CoEdgeDef). Independent of the cache. More...
 
class  PolyOps
 Polygonal and triangulation count queries. More...
 

Public Member Functions

const CacheViewCache () const
 Cache-only reads.
 
const PersistentViewPersistent () const
 Persistent (definition-resident) reads.
 
const EffectiveViewEffective () const
 Effective reads - cache first, persistent fallback. Use when source is irrelevant.
 
EditorViewEditor ()
 Cache mutations.
 
const PolyOpsPoly () const
 Polygon/triangulation count queries.
 

Detailed Description

Read/write view over mesh data.

Splits mesh access into three explicit sub-views:

There is no fallback path that mixes cache and persistent - callers pick the source explicitly.

Obtained via BRepGraph::Mesh() (const) or BRepGraph::Mesh() (non-const for Editor).

Member Function Documentation

◆ Cache()

const CacheView & BRepGraph::MeshView::Cache ( ) const
inline

Cache-only reads.

◆ Editor()

EditorView & BRepGraph::MeshView::Editor ( )
inline

Cache mutations.

◆ Effective()

const EffectiveView & BRepGraph::MeshView::Effective ( ) const
inline

Effective reads - cache first, persistent fallback. Use when source is irrelevant.

◆ Persistent()

const PersistentView & BRepGraph::MeshView::Persistent ( ) const
inline

Persistent (definition-resident) reads.

◆ Poly()

const PolyOps & BRepGraph::MeshView::Poly ( ) const
inline

Polygon/triangulation count queries.


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