All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LimitStencilTables Class Reference

Table of limit subdivision stencils. More...

#include <stencilTables.h>

Inheritance diagram for LimitStencilTables:
StencilTables

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

Detailed Description

Table of limit subdivision stencils.

Definition at line 245 of file stencilTables.h.

Member Function Documentation

std::vector<float> const& GetDuWeights ( ) const
inline

Returns the 'u' derivative stencil interpolation weights.

Definition at line 250 of file stencilTables.h.

std::vector<float> const& GetDvWeights ( ) const
inline

Returns the 'v' derivative stencil interpolation weights.

Definition at line 255 of file stencilTables.h.

void UpdateDerivs ( T const *  controlValues,
T *  uderivs,
T *  vderivs,
int  start = -1,
int  end = -1 
) const
inline

Updates derivative values based on the control values.

Note
The destination buffers ('uderivs' & 'vderivs') are assumed to have allocated at least GetNumStencils() elements.
Parameters
controlValuesBuffer with primvar data for the control vertices
uderivsDestination buffer for the interpolated 'u' derivative primvar data
vderivsDestination buffer for the interpolated 'v' derivative primvar data
start(skip to )index of first value to update
endIndex of last value to update

Definition at line 277 of file stencilTables.h.


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