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.
|
A specialized factory for StencilTable. More...
#include <stencilTableFactory.h>
Public Types | |
enum | Mode { INTERPOLATE_VERTEX =0, INTERPOLATE_VARYING, INTERPOLATE_FACE_VARYING } |
Static Public Member Functions | |
static StencilTableReal< REAL > const * | Create (TopologyRefiner const &refiner, Options options=Options()) |
Instantiates StencilTable from TopologyRefiner that have been refined uniformly or adaptively. More... | |
static StencilTableReal< REAL > const * | Create (int numTables, StencilTableReal< REAL > const **tables) |
Instantiates StencilTable by concatenating an array of existing stencil tables. More... | |
static StencilTableReal< REAL > const * | AppendLocalPointStencilTable (TopologyRefiner const &refiner, StencilTableReal< REAL > const *baseStencilTable, StencilTableReal< REAL > const *localPointStencilTable, bool factorize=true) |
Utility function for stencil splicing for local point stencils. More... | |
static StencilTableReal< REAL > const * | AppendLocalPointStencilTableVarying (TopologyRefiner const &refiner, StencilTableReal< REAL > const *baseStencilTable, StencilTableReal< REAL > const *localPointStencilTable, bool factorize=true) |
Utility function for stencil splicing for local point varying stencils. More... | |
static StencilTableReal< REAL > const * | AppendLocalPointStencilTableFaceVarying (TopologyRefiner const &refiner, StencilTableReal< REAL > const *baseStencilTable, StencilTableReal< REAL > const *localPointStencilTable, int channel=0, bool factorize=true) |
Utility function for stencil splicing for local point face-varying stencils. More... | |
A specialized factory for StencilTable.
enum OpenSubdiv::v3_4_3::Far::StencilTableFactoryReal::Mode |
|
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. |
|
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 |
References OpenSubdiv::v3_4_3::Far::TopologyRefiner::GetLevel(), OpenSubdiv::v3_4_3::Far::TopologyRefiner::GetMaxLevel(), OpenSubdiv::v3_4_3::Far::TopologyLevel::GetNumFVarValues(), and OpenSubdiv::v3_4_3::Far::TopologyLevel::GetNumVertices().
|
static |
Instantiates StencilTable by concatenating an array of existing stencil tables.
numTables | Number of input StencilTables |
tables | Array of input StencilTables |
References OpenSubdiv::v3_4_3::Far::StencilTableReal< REAL >::GetControlIndices(), OpenSubdiv::v3_4_3::Far::StencilTableReal< REAL >::GetNumControlVertices(), and OpenSubdiv::v3_4_3::Far::StencilTableReal< REAL >::GetNumStencils().