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;
CreasingMethod GetCreasingMethod() const
Get edge crease rule.
("edge corner")
VtxBoundaryInterpolation GetVtxBoundaryInterpolation() const
Set vertex boundary interpolation rule.
void SetTriangleSubdivision(TriangleSubdivision t)
Set triangle subdivsion weights rule (Catmark scheme only !)
("edge and corner + propagate corner")
sharpen edges and corners
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")
do not interpolate boundaries
smooth everywhere ("edge only")
"smooth triangle" weights (Catmark scheme only)
void SetVtxBoundaryInterpolation(VtxBoundaryInterpolation b)
Get vertex boundary interpolation rule.
TriangleSubdivision GetTriangleSubdivision() const
Get triangle subdivsion weights rule (Catmark scheme only !)
bilinear interpolation ("bilinear")