Table of limit subdivision stencils. More...
#include <stencilTables.h>
Public Member Functions | |
std::vector< float > const & | GetDuWeights () const |
Returns the 'u' derivative stencil interpolation weights. More... | |
std::vector< float > const & | GetDvWeights () const |
Returns the 'v' derivative stencil interpolation weights. More... | |
template<class T > | |
void | UpdateDerivs (T const *controlValues, T *uderivs, T *vderivs, int start=-1, int end=-1) const |
Updates derivative values based on the control values. More... | |
Public Member Functions inherited from StencilTables | |
int | GetNumStencils () const |
Returns the number of stencils in the table. More... | |
int | GetNumControlVertices () const |
Stencil | GetStencil (int i) const |
Returns a Stencil at index i in the tables. More... | |
std::vector< unsigned char > const & | GetSizes () const |
Returns the number of control vertices of each stencil in the table. More... | |
std::vector< int > const & | GetOffsets () const |
Returns the offset to a given stencil (factory may leave empty) More... | |
std::vector< int > const & | GetControlIndices () const |
Returns the indices of the control vertices. More... | |
std::vector< float > const & | GetWeights () const |
Returns the stencil interpolation weights. More... | |
template<class T > | |
void | UpdateValues (T const *controlValues, T *values, int start=-1, int end=-1) const |
Updates point values based on the control values. More... | |
Table of limit subdivision stencils.
Definition at line 245 of file stencilTables.h.
|
inline |
Returns the 'u' derivative stencil interpolation weights.
Definition at line 250 of file stencilTables.h.
|
inline |
Returns the 'v' derivative stencil interpolation weights.
Definition at line 255 of file stencilTables.h.
|
inline |
Updates derivative values based on the control values.
GetNumStencils()
elements.controlValues | Buffer with primvar data for the control vertices |
uderivs | Destination buffer for the interpolated 'u' derivative primvar data |
vderivs | Destination buffer for the interpolated 'v' derivative primvar data |
start | (skip to )index of first value to update |
end | Index of last value to update |
Definition at line 277 of file stencilTables.h.