Stencil table class wrapping the template for compatibility.
More...
#include <stencilTable.h>
|
int | GetNumStencils () const |
| Returns the number of stencils in the table. More...
|
|
int | GetNumControlVertices () const |
| Returns the number of control vertices indexed in the table. More...
|
|
std::vector< int > const & | GetSizes () const |
| Returns the number of control vertices of each stencil in the table. More...
|
|
std::vector< Index > const & | GetOffsets () const |
| Returns the offset to a given stencil (factory may leave empty) More...
|
|
std::vector< Index > const & | GetControlIndices () const |
| Returns the indices of the control vertices. More...
|
|
std::vector< float > const & | GetWeights () const |
| Returns the stencil interpolation weights. More...
|
|
void | UpdateValues (T const &srcValues, U &dstValues, Index start=-1, Index end=-1) const |
| Updates point values based on the control values. More...
|
|
void | Clear () |
| Clears the stencils from the table. More...
|
|
Stencil table class wrapping the template for compatibility.
Clears the stencils from the table.
Returns the indices of the control vertices.
Returns the number of control vertices indexed in the table.
Returns the number of stencils in the table.
Returns the offset to a given stencil (factory may leave empty)
Returns the number of control vertices of each stencil in the table.
Returns the stencil interpolation weights.
Updates point values based on the control values.
- Note
- The destination buffers are assumed to have allocated at least
GetNumStencils()
elements.
- Parameters
-
srcValues | Buffer with primvar data for the control vertices |
dstValues | Destination buffer for the interpolated primvar data |
start | Index of first destination value to update |
end | Index of last destination value to update |
The documentation for this class was generated from the following file:
- 3d-coat/3D-CoatV4/3D-Coat/OpenSubdiv/OpenSubdiv/far/stencilTable.h