Class uipc::core::SceneSurfaceCache
ClassList > uipc > core > SceneSurfaceCache
Public Types
| Type | Name |
|---|---|
| enum IndexT | UpdateStatus |
Public Functions
| Type | Name |
|---|---|
| SceneSurfaceCache (Scene & scene, IndexT dim=2) |
|
| SceneSurfaceCache (SceneSurfaceCache &&) noexcept |
|
| SceneSurfaceCache (const SceneSurfaceCache &) = delete |
|
| IndexT | dim () noexcept const Target simplex dimension (-1, 0, 1, or 2). |
| void | invalidate () noexcept Force a full surface and cache rebuild on the next update() . |
| SceneSurfaceCache & | operator= (SceneSurfaceCache &&) noexcept |
| SceneSurfaceCache & | operator= (const SceneSurfaceCache &) = delete |
| span< const Vector3 > | positions () noexcept const Contiguous world-space surface vertex positions kept up to date by update() . |
| const geometry::SimplicialComplex & | surface () noexcept const Merged surface mesh from the latest topology rebuild. |
| UpdateStatus | update () Synchronize cached surface positions and topology with the scene. |
| ~SceneSurfaceCache () |
Public Types Documentation
enum UpdateStatus
enum uipc::core::SceneSurfaceCache::UpdateStatus {
Unchanged = 0,
PositionsUpdated = 1,
TopologyRebuilt = 2
};
Public Functions Documentation
function SceneSurfaceCache [1/3]
function SceneSurfaceCache [2/3]
function SceneSurfaceCache [3/3]
function dim
Target simplex dimension (-1, 0, 1, or 2).
function invalidate
Force a full surface and cache rebuild on the next update() .
function operator=
function operator=
function positions
Contiguous world-space surface vertex positions kept up to date by update() .
function surface
Merged surface mesh from the latest topology rebuild.
function update
Synchronize cached surface positions and topology with the scene.
Tracks geometry slot identity, instance/vertex/edge/triangle counts, and attribute modification timestamps (topo, is_surf, thickness). When topology is unchanged, only geometries with modified positions or transforms are re-gathered into the contiguous position buffer. When topology changes, the merged surface is rebuilt cleanly.
function ~SceneSurfaceCache
The documentation for this class was generated from the following file include/uipc/io/scene_io.h