3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
OpenSubdiv::v3_4_3::Far::StencilTableFactory Class Reference

Stencil table factory class wrapping the template for compatibility. More...

#include <stencilTableFactory.h>

Static Public Member Functions

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...
 

Detailed Description

Stencil table factory class wrapping the template for compatibility.

+ Inheritance diagram for OpenSubdiv::v3_4_3::Far::StencilTableFactory:

Member Function Documentation

static StencilTableReal<float > const* OpenSubdiv::v3_4_3::Far::StencilTableFactoryReal< float >::AppendLocalPointStencilTable ( TopologyRefiner const &  refiner,
StencilTableReal< float > const *  baseStencilTable,
StencilTableReal< float > const *  localPointStencilTable,
bool  factorize = true 
)
staticinherited

Utility function for stencil splicing for local point stencils.

Parameters
refinerThe TopologyRefiner containing the topology
baseStencilTableInput StencilTable for refined vertices
localPointStencilTableStencilTable for the change of basis patch points.
factorizeIf 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 StencilTableReal<float > const* OpenSubdiv::v3_4_3::Far::StencilTableFactoryReal< float >::AppendLocalPointStencilTableFaceVarying ( TopologyRefiner const &  refiner,
StencilTableReal< float > const *  baseStencilTable,
StencilTableReal< float > const *  localPointStencilTable,
int  channel = 0,
bool  factorize = true 
)
staticinherited

Utility function for stencil splicing for local point face-varying stencils.

Parameters
refinerThe TopologyRefiner containing the topology
baseStencilTableInput StencilTable for refined vertices
localPointStencilTableStencilTable for the change of basis patch points.
channelface-varying channel
factorizeIf 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 StencilTableReal<float > const* OpenSubdiv::v3_4_3::Far::StencilTableFactoryReal< float >::AppendLocalPointStencilTableVarying ( TopologyRefiner const &  refiner,
StencilTableReal< float > const *  baseStencilTable,
StencilTableReal< float > const *  localPointStencilTable,
bool  factorize = true 
)
inlinestaticinherited

Utility function for stencil splicing for local point varying stencils.

Parameters
refinerThe TopologyRefiner containing the topology
baseStencilTableInput StencilTable for refined vertices
localPointStencilTableStencilTable for the change of basis patch points.
factorizeIf 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 StencilTableReal<float > const* OpenSubdiv::v3_4_3::Far::StencilTableFactoryReal< float >::Create ( int  numTables,
StencilTableReal< float > const **  tables 
)
staticinherited

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
numTablesNumber of input StencilTables
tablesArray of input StencilTables

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