HDK
|
#include <HUSD_GeoSubset.h>
Public Types | |
enum | FamilyType { FamilyType::UNRESTRICTED, FamilyType::NONOVERLAPPING, FamilyType::PARTITION } |
Enumerates the possible values for geo subset family type. More... | |
Public Member Functions | |
HUSD_GeoSubset (HUSD_AutoWriteLock &lock) | |
Standard constructor. More... | |
bool | createGeoSubset (const UT_StringRef &prim_path, const UT_ExintArray &face_indices, const UT_StringRef &subset_name) const |
Creates geometry subset in a given primitive. More... | |
void | setFamilyType (FamilyType type) |
FamilyType | getFamilyType () const |
bool | getGeoPrimitiveAndFaceIndices (UT_StringHolder &geo_prim_path, UT_ExintArray &face_indices, const UT_StringRef &subset_prim_path, const HUSD_TimeCode &time_code) const |
void | setFamilyName (const UT_StringRef &name) |
const UT_StringHolder & | getFamilyName () const |
Definition at line 27 of file HUSD_GeoSubset.h.
|
strong |
Enumerates the possible values for geo subset family type.
Enumerator | |
---|---|
UNRESTRICTED | |
NONOVERLAPPING | |
PARTITION |
Definition at line 49 of file HUSD_GeoSubset.h.
HUSD_GeoSubset::HUSD_GeoSubset | ( | HUSD_AutoWriteLock & | lock | ) |
Standard constructor.
bool HUSD_GeoSubset::createGeoSubset | ( | const UT_StringRef & | prim_path, |
const UT_ExintArray & | face_indices, | ||
const UT_StringRef & | subset_name | ||
) | const |
Creates geometry subset in a given primitive.
|
inline |
Get and set the geometry subset family name. The subsets that have the same family name are logically tied together, and can be validated for overlaps, partitioning, etc.
Definition at line 44 of file HUSD_GeoSubset.h.
|
inline |
Definition at line 57 of file HUSD_GeoSubset.h.
bool HUSD_GeoSubset::getGeoPrimitiveAndFaceIndices | ( | UT_StringHolder & | geo_prim_path, |
UT_ExintArray & | face_indices, | ||
const UT_StringRef & | subset_prim_path, | ||
const HUSD_TimeCode & | time_code | ||
) | const |
Returns true if the subset_prim_path
refers to a geometry subset, and if so also returns the geometry parent path and face idices. Otherwise, returns false.
|
inline |
Get and set the geometry subset family name. The subsets that have the same family name are logically tied together, and can be validated for overlaps, partitioning, etc.
Definition at line 42 of file HUSD_GeoSubset.h.
|
inline |
Definition at line 55 of file HUSD_GeoSubset.h.