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" 41 namespace OPENSUBDIV_VERSION {
96 Level const & _parentLevel;
99 Level const & _childLevel;
107 std::vector<LocalIndex> _childValueParentSource;
114 using namespace OPENSUBDIV_VERSION;
float getFractionalWeight(Index pVert, LocalIndex pSibling, Index cVert, LocalIndex cSibling) const
void populateChildValuesFromEdgeVertices()
FVarRefinement(Refinement const &refinement, FVarLevel &parent, FVarLevel &child)
void populateChildValuesFromFaceVertices()
void populateChildValues()
int getChildValueParentSource(Index vIndex, int sibling) const
unsigned short LocalIndex
Index getVertexValueOffset(Index v, Sibling i=0) const
void propagateValueCreases()
void populateChildValuesFromVertexVertices()
int populateChildValuesForEdgeVertex(Index cVert, Index pEdge)
void estimateAndAllocateChildValues()
void reclassifySemisharpValues()
void propagateValueTags()
int populateChildValuesForVertexVertex(Index cVert, Index pVert)
void trimAndFinalizeChildValues()