Stencil table factory class wrapping the template for compatibility.
More...
#include <stencilTableFactory.h>
|
static StencilTableReal< float >
const * | Create (int numTables, StencilTableReal< float > const **tables) |
| Instantiates StencilTable by concatenating an array of existing stencil tables. More...
|
|
static StencilTableReal< float >
const * | AppendLocalPointStencilTable (TopologyRefiner const &refiner, StencilTableReal< float > const *baseStencilTable, StencilTableReal< float > const *localPointStencilTable, bool factorize=true) |
| Utility function for stencil splicing for local point stencils. More...
|
|
static StencilTableReal< float >
const * | AppendLocalPointStencilTableVarying (TopologyRefiner const &refiner, StencilTableReal< float > const *baseStencilTable, StencilTableReal< float > const *localPointStencilTable, bool factorize=true) |
| Utility function for stencil splicing for local point varying stencils. More...
|
|
static StencilTableReal< float >
const * | AppendLocalPointStencilTableFaceVarying (TopologyRefiner const &refiner, StencilTableReal< float > const *baseStencilTable, StencilTableReal< float > const *localPointStencilTable, int channel=0, bool factorize=true) |
| Utility function for stencil splicing for local point face-varying stencils. More...
|
|
Stencil table factory class wrapping the template for compatibility.
Utility function for stencil splicing for local point stencils.
- Parameters
-
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. |
Utility function for stencil splicing for local point face-varying stencils.
- Parameters
-
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. |
Utility function for stencil splicing for local point varying stencils.
- Parameters
-
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. |
Instantiates StencilTable by concatenating an array of existing stencil tables.
- Note
- This factory checks that the stencil tables point to the same set of supporting control vertices - no re-indexing is done. GetNumControlVertices() must return the same value for all input tables.
- Parameters
-
numTables | Number of input StencilTables |
tables | Array of input StencilTables |
The documentation for this class was generated from the following file:
- 3d-coat/3D-CoatV4/3D-Coat/OpenSubdiv/OpenSubdiv/far/stencilTableFactory.h