| 
    HDK
    
   | 
 
Topology definition for opensubdiv classes. More...
#include <GT_OSD3.h>
Public Types | |
| using | TopologyRefiner = OpenSubdiv::Far::TopologyRefiner | 
| using | LevelInfo = OpenSubdiv::Far::TopologyLevel | 
Public Member Functions | |
| GT_OSDTopology () | |
| ~GT_OSDTopology () | |
| bool | isEqual (const GT_OSDTopology &src) const | 
| bool | operator== (const GT_OSDTopology &o) const | 
| bool | create (const GT_PrimPolygonMesh &mesh, const GT_OSDOptions &options) | 
| exint | levelCount () const | 
| Number of levels in refinement (note this is the max level + 1)  More... | |
| const LevelInfo & | levelInfo (int level) const | 
| const LevelInfo & | lastLevel () const | 
| const TopologyRefiner * | refiner () const | 
| Access to the refiner.  More... | |
| bool | adaptive () const | 
| Test whether this has been built for adaptive refinement.  More... | |
| GT_PrimitiveHandle | createMesh (int level, const GT_AttributeListHandle &point, const GT_AttributeListHandle &vertex, const GT_AttributeListHandle &uniform, const GT_AttributeListHandle &detail, const GT_FaceSetMapPtr &fsets=GT_FaceSetMapPtr()) const | 
| Create a polygon mesh for a given level.  More... | |
| UT_IntArray | ptexToFaceMap () const | 
| Build and return ptex to faceid mapping.  More... | |
| void | dump () const | 
| void | dump (UT_JSONWriter &w) const | 
| GT_Size | coarseFaceCount () const | 
| GT_Size | coarsePointCount () const | 
| GT_Size | coarseVertexCount () const | 
| GT_Size | coarseVertexCount (GT_Size face_index) const | 
Static Public Member Functions | |
| static SYS_HashType | hash (const GT_PrimPolygonMesh &mesh, const GT_OSDOptions &options) | 
| static SYS_HashType | areEqual (const GT_PrimPolygonMesh &a, const GT_PrimPolygonMesh &b) | 
| using GT_OSDTopology::LevelInfo = OpenSubdiv::Far::TopologyLevel | 
| using GT_OSDTopology::TopologyRefiner = OpenSubdiv::Far::TopologyRefiner | 
| GT_OSDTopology::GT_OSDTopology | ( | ) | 
| GT_OSDTopology::~GT_OSDTopology | ( | ) | 
      
  | 
  inline | 
      
  | 
  static | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Return specific information about the coarse mesh (i.e. level 0)
| bool GT_OSDTopology::create | ( | const GT_PrimPolygonMesh & | mesh, | 
| const GT_OSDOptions & | options | ||
| ) | 
Create the topology for the given polygonal hull and options. Note that if the mesh is a GT_PrimSubdivisionMesh, crease weights will be picked up from the tags on the primitive.
| GT_PrimitiveHandle GT_OSDTopology::createMesh | ( | int | level, | 
| const GT_AttributeListHandle & | point, | ||
| const GT_AttributeListHandle & | vertex, | ||
| const GT_AttributeListHandle & | uniform, | ||
| const GT_AttributeListHandle & | detail, | ||
| const GT_FaceSetMapPtr & | fsets = GT_FaceSetMapPtr()  | 
        ||
| ) | const | 
Create a polygon mesh for a given level.
| void GT_OSDTopology::dump | ( | ) | const | 
Debug - dump the topology out
| void GT_OSDTopology::dump | ( | UT_JSONWriter & | w | ) | const | 
Debug - dump the topology out
      
  | 
  static | 
| bool GT_OSDTopology::isEqual | ( | const GT_OSDTopology & | src | ) | const | 
      
  | 
  inline | 
      
  | 
  inline | 
Access to the level information for a given refinement level This returns the number of vertices, face-varying vertices, faces, etc. for each level. Level 0 is the "coarse" mesh.
      
  | 
  inline | 
| UT_IntArray GT_OSDTopology::ptexToFaceMap | ( | ) | const | 
Build and return ptex to faceid mapping.
      
  | 
  inline |