![]() |
OpenSubdiv
|
Stencil table class wrapping the template for compatibility. More...
#include <stencilTable.h>
Public Member Functions | |
| Stencil | GetStencil (Index index) const |
| Stencil | operator[] (Index index) const |
| Public Member Functions inherited from StencilTableReal< float > | |
| virtual | ~StencilTableReal () |
| int | GetNumStencils () const |
| Returns the number of stencils in the table. | |
| int | GetNumControlVertices () const |
| Returns the number of control vertices indexed in the table. | |
| StencilReal< float > | GetStencil (Index i) const |
| Returns a Stencil at index i in the table. | |
| std::vector< int > const & | GetSizes () const |
| Returns the number of control vertices of each stencil in the table. | |
| std::vector< Index > const & | GetOffsets () const |
| Returns the offset to a given stencil (factory may leave empty). | |
| std::vector< Index > const & | GetControlIndices () const |
| Returns the indices of the control vertices. | |
| std::vector< float > const & | GetWeights () const |
| Returns the stencil interpolation weights. | |
| StencilReal< float > | operator[] (Index index) const |
| Returns the stencil at index i in the table. | |
| void | UpdateValues (T const &srcValues, U &dstValues, Index start=-1, Index end=-1) const |
| Updates point values based on the control values. | |
| void | UpdateValues (T1 const &srcBase, int numBase, T2 const &srcRef, U &dstValues, Index start=-1, Index end=-1) const |
| void | UpdateValues (T const *src, U *dst, Index start=-1, Index end=-1) const |
| void | UpdateValues (T1 const *srcBase, int numBase, T2 const *srcRef, U *dst, Index start=-1, Index end=-1) const |
| void | Clear () |
| Clears the stencils from the table. | |
Protected Types | |
| typedef StencilTableReal< float > | BaseTable |
Protected Member Functions | |
| StencilTable () | |
| StencilTable (int numControlVerts) | |
| StencilTable (int numControlVerts, std::vector< int > const &offsets, std::vector< int > const &sizes, std::vector< int > const &sources, std::vector< float > const &weights, bool includeCoarseVerts, size_t firstOffset) | |
| Protected Member Functions inherited from StencilTableReal< float > | |
| StencilTableReal (int numControlVerts, std::vector< int > const &offsets, std::vector< int > const &sizes, std::vector< int > const &sources, std::vector< float > const &weights, bool includeCoarseVerts, size_t firstOffset) | |
| void | update (T const &srcValues, U &dstValues, std::vector< float > const &valueWeights, Index start, Index end) const |
| void | update (T1 const &srcBase, int numBase, T2 const &srcRef, U &dstValues, std::vector< float > const &valueWeights, Index start, Index end) const |
| void | generateOffsets () |
| void | resize (int nstencils, int nelems) |
| void | reserve (int nstencils, int nelems) |
| void | shrinkToFit () |
| void | finalize () |
| StencilTableReal () | |
| StencilTableReal (int numControlVerts) | |
Additional Inherited Members | |
| Protected Attributes inherited from StencilTableReal< float > | |
| int | _numControlVertices |
| std::vector< int > | _sizes |
| std::vector< Index > | _offsets |
| std::vector< Index > | _indices |
| std::vector< float > | _weights |
Stencil table class wrapping the template for compatibility.
Definition at line 256 of file stencilTable.h.
|
protected |
Definition at line 258 of file stencilTable.h.
|
inlineprotected |
Definition at line 269 of file stencilTable.h.
|
inlineprotected |
Definition at line 270 of file stencilTable.h.
|
inlineprotected |
Definition at line 271 of file stencilTable.h.
Definition at line 261 of file stencilTable.h.
Definition at line 264 of file stencilTable.h.