24 #ifndef OPENSUBDIV3_SDC_OPTIONS_H 25 #define OPENSUBDIV3_SDC_OPTIONS_H 27 #include "../version.h" 30 namespace OPENSUBDIV_VERSION {
114 typedef unsigned char EnumIntType;
116 EnumIntType _vtxBoundInterp;
117 EnumIntType _fvarLinInterp;
118 EnumIntType _creasingMethod;
119 EnumIntType _triangleSub;
125 using namespace OPENSUBDIV_VERSION;
"smooth triangle" weights (Catmark scheme only)
("edge and corner + propagate corner")
void SetCreasingMethod(CreasingMethod c)
Set edge crease rule.
TriangleSubdivision GetTriangleSubdivision() const
Get triangle subdivision weights rule (Catmark scheme only !)
smooth everywhere ("edge only")
all boundary edges sharpened and interpolated
VtxBoundaryInterpolation GetVtxBoundaryInterpolation() const
Get vertex boundary interpolation rule.
void SetTriangleSubdivision(TriangleSubdivision t)
Set triangle subdivision weights rule (Catmark scheme only !)
void SetVtxBoundaryInterpolation(VtxBoundaryInterpolation b)
Set vertex boundary interpolation rule.
bilinear interpolation ("bilinear")
All supported options applying to subdivision scheme.
void SetFVarLinearInterpolation(FVarLinearInterpolation b)
Set face-varying interpolation rule.
sharpen all boundaries ("always sharp")
FVarLinearInterpolation GetFVarLinearInterpolation() const
Get face-varying interpolation rule.
Catmark weights (Catmark scheme only)
CreasingMethod GetCreasingMethod() const
Get edge crease rule.