24 #ifndef OPENSUBDIV3_VTR_FVAR_REFINEMENT_H
25 #define OPENSUBDIV3_VTR_FVAR_REFINEMENT_H
27 #include "../version.h"
29 #include "../sdc/types.h"
30 #include "../sdc/crease.h"
31 #include "../vtr/types.h"
32 #include "../vtr/refinement.h"
33 #include "../vtr/fvarLevel.h"
40 namespace OpenSubdiv {
41 namespace OPENSUBDIV_VERSION {
96 Level const & _parentLevel;
99 Level const & _childLevel;
107 std::vector<LocalIndex> _childValueParentSource;
114 using namespace OPENSUBDIV_VERSION;
void reclassifySemisharpValues()
void propagateValueCreases()
void populateChildValues()
FVarRefinement(Refinement const &refinement, FVarLevel &parent, FVarLevel &child)
Index getVertexValueOffset(Index v, Sibling i=0) const
void populateChildValuesFromEdgeVertices()
int populateChildValuesForVertexVertex(Index cVert, Index pVert)
int populateChildValuesForEdgeVertex(Index cVert, Index pEdge)
void propagateValueTags()
void estimateAndAllocateChildValues()
void trimAndFinalizeChildValues()
void populateChildValuesFromVertexVertices()
unsigned short LocalIndex
void populateChildValuesFromFaceVertices()
int getChildValueParentSource(Index vIndex, int sibling) const
float getFractionalWeight(Index pVert, LocalIndex pSibling, Index cVert, LocalIndex cSibling) const