![]() |
OpenSubdiv
|
A specialized factory for StencilTable. More...
#include <stencilTableFactory.h>
Classes | |
| struct | Options |
Public Types | |
| enum | Mode { INTERPOLATE_VERTEX =0 , INTERPOLATE_VARYING , INTERPOLATE_FACE_VARYING } |
A specialized factory for StencilTable.
Definition at line 51 of file stencilTableFactory.h.
| Enumerator | |
|---|---|
| INTERPOLATE_VERTEX | vertex primvar stencils |
| INTERPOLATE_VARYING | varying primvar stencils |
| INTERPOLATE_FACE_VARYING | face-varying primvar stencils |
Definition at line 55 of file stencilTableFactory.h.
|
static |
Utility function for stencil splicing for local point stencils.
| refiner | The TopologyRefiner containing the topology |
| baseStencilTable | Input StencilTable for refined vertices |
| localPointStencilTable | StencilTable for the change of basis patch points. |
| factorize | If factorize is set to true, endcap stencils will be factorized with supporting vertices from baseStencil table so that the endcap points can be computed directly from control vertices. |
|
static |
Utility function for stencil splicing for local point face-varying stencils.
| refiner | The TopologyRefiner containing the topology |
| baseStencilTable | Input StencilTable for refined vertices |
| localPointStencilTable | StencilTable for the change of basis patch points. |
| channel | face-varying channel |
| factorize | If factorize is set to true, endcap stencils will be factorized with supporting vertices from baseStencil table so that the endcap points can be computed directly from control vertices. |
|
inlinestatic |
Utility function for stencil splicing for local point varying stencils.
| refiner | The TopologyRefiner containing the topology |
| baseStencilTable | Input StencilTable for refined vertices |
| localPointStencilTable | StencilTable for the change of basis patch points. |
| factorize | If factorize is set to true, endcap stencils will be factorized with supporting vertices from baseStencil table so that the endcap points can be computed directly from control vertices. |
Definition at line 148 of file stencilTableFactory.h.
|
static |
Instantiates StencilTable by concatenating an array of existing stencil tables.
| numTables | Number of input StencilTables |
| tables | Array of input StencilTables |
|
static |
Instantiates StencilTable from TopologyRefiner that have been refined uniformly or adaptively.
| refiner | The TopologyRefiner containing the topology |
| options | Options controlling the creation of the table |