3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
OpenSubdiv::v3_4_3::Far::StencilTable Class Reference

Stencil table class wrapping the template for compatibility. More...

#include <stencilTable.h>

Public Member Functions

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

Detailed Description

Stencil table class wrapping the template for compatibility.

+ Inheritance diagram for OpenSubdiv::v3_4_3::Far::StencilTable:

Member Function Documentation

void OpenSubdiv::v3_4_3::Far::StencilTableReal< float >::Clear ( )
inherited

Clears the stencils from the table.

std::vector<Index> const& OpenSubdiv::v3_4_3::Far::StencilTableReal< float >::GetControlIndices ( ) const
inlineinherited

Returns the indices of the control vertices.

int OpenSubdiv::v3_4_3::Far::StencilTableReal< float >::GetNumControlVertices ( ) const
inlineinherited

Returns the number of control vertices indexed in the table.

int OpenSubdiv::v3_4_3::Far::StencilTableReal< float >::GetNumStencils ( ) const
inlineinherited

Returns the number of stencils in the table.

std::vector<Index> const& OpenSubdiv::v3_4_3::Far::StencilTableReal< float >::GetOffsets ( ) const
inlineinherited

Returns the offset to a given stencil (factory may leave empty)

std::vector<int> const& OpenSubdiv::v3_4_3::Far::StencilTableReal< float >::GetSizes ( ) const
inlineinherited

Returns the number of control vertices of each stencil in the table.

std::vector<float > const& OpenSubdiv::v3_4_3::Far::StencilTableReal< float >::GetWeights ( ) const
inlineinherited

Returns the stencil interpolation weights.

void OpenSubdiv::v3_4_3::Far::StencilTableReal< float >::UpdateValues ( T const &  srcValues,
U &  dstValues,
Index  start = -1,
Index  end = -1 
) const
inlineinherited

Updates point values based on the control values.

Note
The destination buffers are assumed to have allocated at least GetNumStencils() elements.
Parameters
srcValuesBuffer with primvar data for the control vertices
dstValuesDestination buffer for the interpolated primvar data
startIndex of first destination value to update
endIndex of last destination value to update

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