24 #ifndef OPENSUBDIV3_SDC_OPTIONS_H
25 #define OPENSUBDIV3_SDC_OPTIONS_H
27 #include "../version.h"
29 namespace OpenSubdiv {
30 namespace OPENSUBDIV_VERSION {
113 unsigned int _vtxBoundInterp : 2,
122 using namespace OPENSUBDIV_VERSION;
void SetVtxBoundaryInterpolation(VtxBoundaryInterpolation b)
Set vertex boundary interpolation rule.
bilinear interpolation ("bilinear")
("edge and corner + propagate corner")
sharpen edges and corners
void SetTriangleSubdivision(TriangleSubdivision t)
Set triangle subdivision weights rule (Catmark scheme only !)
Catmark weights (Catmark scheme only)
TriangleSubdivision GetTriangleSubdivision() const
Get triangle subdivision weights rule (Catmark scheme only !)
sharpen all boundaries ("always sharp")
do not interpolate boundaries
All supported options applying to subdivision scheme.
VtxBoundaryInterpolation GetVtxBoundaryInterpolation() const
Get vertex boundary interpolation rule.
FVarLinearInterpolation GetFVarLinearInterpolation() const
Get face-varying interpolation rule.
void SetCreasingMethod(CreasingMethod c)
Set edge crease rule.
smooth everywhere ("edge only")
"smooth triangle" weights (Catmark scheme only)
CreasingMethod GetCreasingMethod() const
Get edge crease rule.
void SetFVarLinearInterpolation(FVarLinearInterpolation b)
Set face-varying interpolation rule.