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::LimitStencilTable Class Reference

Limit stencil table class wrapping the template for compatibility. More...

#include <stencilTable.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...
 
std::vector< float > const & GetDuuWeights () const
 Returns the 'uu' derivative stencil interpolation weights. More...
 
std::vector< float > const & GetDuvWeights () const
 Returns the 'uv' derivative stencil interpolation weights. More...
 
std::vector< float > const & GetDvvWeights () const
 Returns the 'vv' derivative stencil interpolation weights. More...
 
void UpdateDerivs (T const &srcValues, U &uderivs, U &vderivs, int start=-1, int end=-1) const
 Updates derivative values based on the control values. More...
 
void Update2ndDerivs (T const &srcValues, U &uuderivs, U &uvderivs, U &vvderivs, int start=-1, int end=-1) const
 Updates 2nd derivative values based on the control values. More...
 
void Clear ()
 Clears the stencils from the table. More...
 
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...
 
StencilReal< float > GetStencil (Index i) const
 Returns a Stencil at index i 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...
 

Detailed Description

Limit stencil table class wrapping the template for compatibility.

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

Member Function Documentation

void OpenSubdiv::v3_4_3::Far::LimitStencilTableReal< 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.

std::vector<float > const& OpenSubdiv::v3_4_3::Far::LimitStencilTableReal< float >::GetDuuWeights ( ) const
inlineinherited

Returns the 'uu' derivative stencil interpolation weights.

std::vector<float > const& OpenSubdiv::v3_4_3::Far::LimitStencilTableReal< float >::GetDuvWeights ( ) const
inlineinherited

Returns the 'uv' derivative stencil interpolation weights.

std::vector<float > const& OpenSubdiv::v3_4_3::Far::LimitStencilTableReal< float >::GetDuWeights ( ) const
inlineinherited

Returns the 'u' derivative stencil interpolation weights.

std::vector<float > const& OpenSubdiv::v3_4_3::Far::LimitStencilTableReal< float >::GetDvvWeights ( ) const
inlineinherited

Returns the 'vv' derivative stencil interpolation weights.

std::vector<float > const& OpenSubdiv::v3_4_3::Far::LimitStencilTableReal< float >::GetDvWeights ( ) const
inlineinherited

Returns the 'v' derivative stencil interpolation weights.

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.

StencilReal<float > OpenSubdiv::v3_4_3::Far::StencilTableReal< float >::GetStencil ( Index  i) const
inherited

Returns a Stencil at index i 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::LimitStencilTableReal< float >::Update2ndDerivs ( T const &  srcValues,
U &  uuderivs,
U &  uvderivs,
U &  vvderivs,
int  start = -1,
int  end = -1 
) const
inlineinherited

Updates 2nd derivative values based on the control values.

Note
The destination buffers ('uuderivs', 'uvderivs', & 'vderivs') are assumed to have allocated at least GetNumStencils() elements.
Parameters
srcValuesBuffer with primvar data for the control vertices
uuderivsDestination buffer for the interpolated 'uu' derivative primvar data
uvderivsDestination buffer for the interpolated 'uv' derivative primvar data
vvderivsDestination buffer for the interpolated 'vv' derivative primvar data
startIndex of first destination derivative to update
endIndex of last destination derivative to update
void OpenSubdiv::v3_4_3::Far::LimitStencilTableReal< float >::UpdateDerivs ( T const &  srcValues,
U &  uderivs,
U &  vderivs,
int  start = -1,
int  end = -1 
) const
inlineinherited

Updates derivative values based on the control values.

Note
The destination buffers ('uderivs' & 'vderivs') are assumed to have allocated at least GetNumStencils() elements.
Parameters
srcValuesBuffer 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
startIndex of first destination derivative to update
endIndex of last destination derivative to update
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: