![]() |
OpenSubdiv
|
Vertex stencil descriptor. More...
#include <stencilTable.h>
Public Member Functions | |
| StencilReal () | |
| Default constructor. More... | |
| StencilReal (int *size, Index *indices, REAL *weights) | |
| Constructor. More... | |
| StencilReal (StencilReal const &other) | |
| Copy constructor. More... | |
| int | GetSize () const |
| Returns the size of the stencil. More... | |
| int * | GetSizePtr () const |
| Returns the size of the stencil as a pointer. More... | |
| Index const * | GetVertexIndices () const |
| Returns the control vertices' indices. More... | |
| REAL const * | GetWeights () const |
| Returns the interpolation weights. More... | |
| void | Next () |
| Advance to the next stencil in the table. More... | |
Protected Attributes | |
| int * | _size |
| Index * | _indices |
| REAL * | _weights |
Friends | |
| class | StencilTableFactoryReal< REAL > |
| class | LimitStencilTableFactoryReal< REAL > |
Vertex stencil descriptor.
Allows access and manipulation of a single stencil in a StencilTable.
Definition at line 53 of file stencilTable.h.
|
inline |
Default constructor.
Definition at line 57 of file stencilTable.h.
|
inline |
Constructor.
| size | Table pointer to the size of the stencil |
| indices | Table pointer to the vertex indices of the stencil |
| weights | Table pointer to the vertex weights of the stencil |
Definition at line 67 of file stencilTable.h.
|
inline |
Copy constructor.
Definition at line 71 of file stencilTable.h.
|
inline |
Returns the size of the stencil.
Definition at line 78 of file stencilTable.h.
|
inline |
Returns the size of the stencil as a pointer.
Definition at line 83 of file stencilTable.h.
|
inline |
Returns the control vertices' indices.
Definition at line 88 of file stencilTable.h.
|
inline |
Returns the interpolation weights.
Definition at line 93 of file stencilTable.h.
|
inline |
Advance to the next stencil in the table.
Definition at line 98 of file stencilTable.h.
|
friend |
Definition at line 98 of file stencilTable.h.
|
friend |
Definition at line 98 of file stencilTable.h.
|
protected |
Definition at line 110 of file stencilTable.h.
|
protected |
Definition at line 109 of file stencilTable.h.
|
protected |
Definition at line 111 of file stencilTable.h.