24 #ifndef VTR_FVAR_REFINEMENT_H
25 #define VTR_FVAR_REFINEMENT_H
27 #include "../version.h"
29 #include "../sdc/type.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 {
47 class TopologyRefiner;
123 using namespace OPENSUBDIV_VERSION;
FVarRefinement(Refinement const &refinement, FVarLevel &parent, FVarLevel &child)
void populateChildValuesFromFaceVertices()
FVarLevel const & _parentFVar
void trimAndFinalizeChildValues()
void propagateValueCreases()
Level const & _parentLevel
Index getVertexValueOffset(Index v, Sibling i=0) const
void populateChildValuesFromEdgeVertices()
float getFractionalWeight(Index pVert, LocalIndex pSibling, Index cVert, LocalIndex cSibling) const
void propagateValueTags()
void reclassifySemisharpValues()
Refinement const & _refinement
void populateChildValues()
Stores topology data for a specified set of refinement options.
Level const & _childLevel
std::vector< LocalIndex > _childValueParentSource
int populateChildValuesForVertexVertex(Index cVert, Index pVert)
int populateChildValuesForEdgeVertex(Index cVert, Index pEdge)
void estimateAndAllocateChildValues()
int getChildValueParentSource(Index vIndex, int sibling) const
void populateChildValuesFromVertexVertices()