27 #include "../version.h"
29 #include "../sdc/options.h"
31 namespace OpenSubdiv {
32 namespace OPENSUBDIV_VERSION {
130 int incidentEdgeCountAtEndVertex,
131 float const* edgeSharpnessAroundEndVertex)
const;
134 float const* incidentEdgeSharpnessAroundVertex,
135 float* childEdgesSharpnessAroundVertex)
const;
145 int incidentEdgeCount,
146 float const* incidentEdgeSharpness)
const;
148 int sharpEdgeCount)
const;
176 float childVertexSharpness,
177 int incidentEdgeCount,
178 float const* incidentEdgeSharpness,
179 float const* childEdgesSharpness)
const;
236 if (sharpness > 1.0f)
return (sharpness - 1.0f);
255 using namespace OPENSUBDIV_VERSION;
static bool IsSmooth(float sharpness)
static float const SHARPNESS_INFINITE
float SubdivideEdgeSharpnessAtVertex(float edgeSharpness, int incidentEdgeCountAtEndVertex, float const *edgeSharpnessAroundEndVertex) const
float SubdivideVertexSharpness(float vertexSharpness) const
CreasingMethod GetCreasingMethod() const
static bool IsInfinite(float sharpness)
Rule DetermineVertexVertexRule(float vertexSharpness, int incidentEdgeCount, float const *incidentEdgeSharpness) const
float SharpenNonManifoldVertex(float edgeSharpness) const
void SubdivideEdgeSharpnessesAroundVertex(int incidentEdgeCountAtVertex, float const *incidentEdgeSharpnessAroundVertex, float *childEdgesSharpnessAroundVertex) const
float ComputeFractionalWeightAtVertex(float vertexSharpness, float childVertexSharpness, int incidentEdgeCount, float const *incidentEdgeSharpness, float const *childEdgesSharpness) const
static float const SHARPNESS_SMOOTH
float SharpenBoundaryVertex(float edgeSharpness) const
Crease(Options const &options)
static bool IsSharp(float sharpness)
static bool IsSemiSharp(float sharpness)
float SharpenNonManifoldEdge(float edgeSharpness) const
float SharpenBoundaryEdge(float edgeSharpness) const
VVarBoundaryInterpolation GetVVarBoundaryInterpolation() const
float decrementSharpness(float sharpness) const
float SubdivideUniformSharpness(float vertexOrEdgeSharpness) const
NonManifoldInterpolation GetNonManifoldInterpolation() const