24 #ifndef VTR_FVAR_LEVEL_H
25 #define VTR_FVAR_LEVEL_H
27 #include "../version.h"
29 #include "../sdc/type.h"
30 #include "../sdc/crease.h"
31 #include "../sdc/options.h"
32 #include "../vtr/types.h"
33 #include "../vtr/level.h"
40 namespace OpenSubdiv {
41 namespace OPENSUBDIV_VERSION {
382 using namespace OPENSUBDIV_VERSION;
Array< Index > IndexArray
std::vector< Index > _vertValueIndices
std::vector< int > _vertSiblingOffsets
Level const & getLevel() const
void setOptions(Sdc::Options const &options)
std::vector< ValueTag > _vertValueTags
unsigned char ValueTagSize
int getNumFaceValuesTotal() const
LocalIndexArray SiblingArray
std::vector< Index > _faceVertValues
int getNumVertices() const
void resizeValues(int numValues)
int getNumVertices() const
void buildFaceVertexSiblingsFromVertexFaceSiblings(std::vector< Sibling > &fvSiblings) const
FVarBoundaryInterpolation
std::vector< Sibling > _vertFaceSiblings
std::vector< Sibling > _vertSiblingCounts
Sdc::Options::FVarBoundaryInterpolation BoundaryInterpolation
std::vector< Index > _faceVertCountsAndOffsets
std::vector< Index > _vertFaceCountsAndOffsets
FVarLevel(Level const &level)
Index getVertexValueIndex(Index vIndex, Sibling sibling=0) const
SiblingArray const getVertexFaceSiblings(Index faceIndex) const
IndexArray const getFaceValues(Index fIndex) const
int getNumVertexValues(Index vIndex) const
void initializeFaceValuesFromFaceVertices()
void initializeFaceValuesFromVertexFaceSiblings(int firstVertex=0)
void completeTopologyFromFaceValues()
void getVertexEdgeValues(Index vIndex, Index valuesPerEdge[]) const
bool vertexTopologyMatches(Index vIndex) const
Index getVertexValue(Index vIndex, Sibling sibling=0) const
std::vector< ETag > _edgeTags
void getEdgeFaceValues(Index eIndex, int fIncToEdge, Index valuesPerVert[2]) const