HDK
|
Topology definition for opensubdiv classes. More...
#include <GT_OSD3.h>
Public Types | |
using | TopologyRefiner = OpenSubdiv::Far::TopologyRefiner |
using | LevelInfo = OpenSubdiv::Far::TopologyLevel |
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 |
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 |
|
inline |