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" 
   34 namespace OpenSubdiv {
 
   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;
 
int GetFaceId(Index f) const 
Returns the ptex face index given a coarse face 'f' or -1. 
int GetNumFaces() const 
Returns the number of ptex faces in the mesh. 
Object used to compute and query ptex face indices. 
Stores topology data for a specified set of refinement options. 
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. 
PtexIndices(TopologyRefiner const &refiner)
Constructor. 
~PtexIndices()
Destructor.