1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//! **Far** — Feature Adaptive Representation.
//!
//! Port of OpenSubdiv's `opensubdiv/far` layer: the public, client-facing
//! API of the library.
//!
//! * [`TopologyDescriptor`] — a lightweight, borrowed description of a
//! mesh's topology (face-vertex lists, creases, corners, holes).
//! * [`TopologyRefinerFactory`] — validates a descriptor and constructs a
//! [`TopologyRefiner`].
//! * [`TopologyRefiner`] — stores the hierarchy of refinement
//! [levels](TopologyLevel) and performs [uniform
//! refinement](TopologyRefiner::refine_uniform) or [feature-adaptive
//! refinement](TopologyRefiner::refine_adaptive).
//! * [`PrimvarRefiner`] — interpolates primvar data (positions, colors, …)
//! from one level to the next, and onto the limit surface — including
//! face-varying channels (UVs) declared on the descriptor.
//! * [`StencilTable`] / [`StencilTableFactory`] — factorize the whole
//! refinement (or limit evaluation) into flat per-vertex stencils on the
//! base-level control vertices, for uniform and adaptive hierarchies
//! alike; [`LimitStencilTable`] / [`LimitStencilTableFactory`] — limit
//! stencils (position and first derivatives) at arbitrary
//! `(ptex face, u, v)` locations, factorized through the patch table
//! down to the base cage.
//! * [`PatchTable`] / [`PatchTableFactory`] / [`PatchMap`] — parametric
//! patches covering the limit surface (B-spline and Gregory patches for
//! Catmark, box-spline and Gregory triangle patches for Loop), located
//! by ptex face and `(u, v)`, with optional face-varying patches per
//! channel ([`PatchTableOptions`]).
pub
pub
pub
pub use crateTopologyError as Error;
pub use FVarChannel;
pub use ;
pub use ;
pub use PtexIndices;
pub use ;
pub use ;
pub use ;