24 #ifndef OPENSUBDIV3_FAR_PTEX_INDICES_H
25 #define OPENSUBDIV3_FAR_PTEX_INDICES_H
27 #include "../version.h"
29 #include "../far/topologyRefiner.h"
30 #include "../far/types.h"
35 namespace OPENSUBDIV_VERSION {
85 int face,
int quadrant,
86 int adjFaces[4],
int adjEdges[4])
const;
96 std::vector<Index> _ptexIndices;
103 using namespace OPENSUBDIV_VERSION;
~PtexIndices()
Destructor.
int GetNumFaces() const
Returns the number of ptex faces in the mesh.
Stores topology data for a specified set of refinement options.
PtexIndices(TopologyRefiner const &refiner)
Constructor.
Object used to compute and query ptex face indices.
void GetAdjacency(TopologyRefiner const &refiner, int face, int quadrant, int adjFaces[4], int adjEdges[4]) const
Returns ptex face adjacency information for a given coarse face.
int GetFaceId(Index f) const
Returns the ptex face index given a coarse face 'f' or -1.