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"
35namespace OPENSUBDIV_VERSION {
85 int face,
int quadrant,
86 int adjFaces[4],
int adjEdges[4])
const;
96 std::vector<Index> _ptexIndices;
103using namespace OPENSUBDIV_VERSION;
Object used to compute and query ptex face indices.
int GetFaceId(Index f) const
Returns the ptex face index given a coarse face 'f' or -1.
PtexIndices(TopologyRefiner const &refiner)
Constructor.
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 GetNumFaces() const
Returns the number of ptex faces in the mesh.
~PtexIndices()
Destructor.
Stores topology data for a specified set of refinement options.