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;
CreasingMethod GetCreasingMethod() const
Get edge crease rule.
VtxBoundaryInterpolation GetVtxBoundaryInterpolation() const
Get vertex boundary interpolation rule.
void SetTriangleSubdivision(TriangleSubdivision t)
Set triangle subdivision weights rule (Catmark scheme only !)
("edge and corner + propagate corner")
FVarLinearInterpolation GetFVarLinearInterpolation() const
Get face-varying interpolation rule.
Catmark weights (Catmark scheme only)
All supported options applying to subdivision scheme.
void SetCreasingMethod(CreasingMethod c)
Set edge crease rule.
void SetFVarLinearInterpolation(FVarLinearInterpolation b)
Set face-varying interpolation rule.
sharpen all boundaries ("always sharp")
smooth everywhere ("edge only")
"smooth triangle" weights (Catmark scheme only)
void SetVtxBoundaryInterpolation(VtxBoundaryInterpolation b)
Set vertex boundary interpolation rule.
TriangleSubdivision GetTriangleSubdivision() const
Get triangle subdivision weights rule (Catmark scheme only !)
all boundary edges sharpened and interpolated
bilinear interpolation ("bilinear")