#include <HUSD_FindPrims.h>
|
| HUSD_FindPrims (HUSD_AutoAnyLock &lock, HUSD_PrimTraversalDemands demands=HUSD_TRAVERSAL_DEFAULT_DEMANDS, bool find_point_instancer_ids=false) |
|
| HUSD_FindPrims (HUSD_AutoAnyLock &lock, const UT_StringRef &primpath, HUSD_PrimTraversalDemands demands=HUSD_TRAVERSAL_DEFAULT_DEMANDS) |
|
| HUSD_FindPrims (HUSD_AutoAnyLock &lock, const UT_StringArray &primpaths, HUSD_PrimTraversalDemands demands=HUSD_TRAVERSAL_DEFAULT_DEMANDS) |
|
| HUSD_FindPrims (HUSD_AutoAnyLock &lock, const HUSD_PathSet &primpaths, HUSD_PrimTraversalDemands demands=HUSD_TRAVERSAL_DEFAULT_DEMANDS) |
|
| ~HUSD_FindPrims () |
|
const HUSD_PathSet & | getExpandedPathSet () const |
|
const HUSD_PathSet & | getCollectionAwarePathSet () const |
|
const HUSD_PathSet & | getExcludedPathSet (bool skipdescendants) const |
|
const HUSD_PathSet & | getMissingExplicitPathSet () const |
|
void | setTraversalDemands (HUSD_PrimTraversalDemands demands) |
|
HUSD_PrimTraversalDemands | traversalDemands () const |
|
void | setAssumeWildcardsAroundPlainTokens (bool assume) |
|
bool | assumeWildcardsAroundPlainTokens () const |
|
void | setCaseSensitive (bool casesensitive) |
|
bool | caseSensitive () const |
|
bool | addPaths (const HUSD_PathSet &paths, bool track_missing_explicit_prims=false) |
|
bool | addPattern (const UT_StringRef &pattern, int nodeid, const HUSD_TimeCode &timecode, bool track_missing_explicit_prims=false) |
|
bool | addPrimitiveType (const UT_StringRef &primtype) |
|
bool | addPrimitiveKind (const UT_StringRef &primkind) |
|
bool | addPrimitivePurpose (const UT_StringRef &primpurpose) |
|
bool | addVexpression (const UT_StringRef &vexpression, int nodeid, const HUSD_TimeCode &timecode) const |
|
bool | addBoundingBox (const UT_BoundingBox &bbox, const HUSD_TimeCode &t, const UT_StringArray &purposes, BBoxContainment containment) |
|
bool | addDescendants () |
|
bool | addAncestors () |
|
const UT_StringMap
< UT_Int64Array > & | getPointInstancerIds () const |
|
bool | getExcludedPointInstancerIds (UT_StringMap< UT_Int64Array > &excludedids, const HUSD_TimeCode &timecode) const |
|
bool | getIsEmpty () const |
|
bool | getFindPointInstancerIds () const |
|
bool | getIsTimeVarying () const |
|
bool | allowInstanceProxies () const |
|
UT_StringHolder | getSingleCollectionPath () const |
|
bool | partitionShadePrims (UT_StringArray &shadeprimpaths, UT_StringArray &geoprimpaths, bool include_bound_materials=true, bool use_shader_for_mat_with_no_inputs=true) const |
|
UT_StringHolder | getSharedRootPrim () const |
|
const UT_StringHolder & | getLastError () const |
|
Definition at line 40 of file HUSD_FindPrims.h.
Enumerator |
---|
BBOX_FULLY_INSIDE |
|
BBOX_FULLY_OUTSIDE |
|
BBOX_PARTIALLY_INSIDE |
|
BBOX_PARTIALLY_OUTSIDE |
|
Definition at line 64 of file HUSD_FindPrims.h.
HUSD_FindPrims::~HUSD_FindPrims |
( |
| ) |
|
bool HUSD_FindPrims::addAncestors |
( |
| ) |
|
bool HUSD_FindPrims::addDescendants |
( |
| ) |
|
bool HUSD_FindPrims::addPaths |
( |
const HUSD_PathSet & |
paths, |
|
|
bool |
track_missing_explicit_prims = false |
|
) |
| |
bool HUSD_FindPrims::allowInstanceProxies |
( |
| ) |
const |
bool HUSD_FindPrims::assumeWildcardsAroundPlainTokens |
( |
| ) |
const |
bool HUSD_FindPrims::caseSensitive |
( |
| ) |
const |
bool HUSD_FindPrims::getFindPointInstancerIds |
( |
| ) |
const |
bool HUSD_FindPrims::getIsEmpty |
( |
| ) |
const |
bool HUSD_FindPrims::getIsTimeVarying |
( |
| ) |
const |
Return a string describing the last error generated by a failed call to this object's methods.
Definition at line 139 of file HUSD_FindPrims.h.
Returns the path to the most nested primitive that is the shared root primitive of every primitive in our expanded set. If the shared root prim is the absolute root, we return an empty string.
Returns a collection path, if only a single collection was added. Returns an empty string, if primitive target consists of more than a single collection.
bool HUSD_FindPrims::partitionShadePrims |
( |
UT_StringArray & |
shadeprimpaths, |
|
|
UT_StringArray & |
geoprimpaths, |
|
|
bool |
include_bound_materials = true , |
|
|
bool |
use_shader_for_mat_with_no_inputs = true |
|
) |
| const |
Split the found prims into shade and geo prims. The parms control whether materials bound to geo prims are included in the shade prims, and if so, whether to include material's surface shader rather than material itself, if the material has no interface input attributes (ie, is not particularly editable).
void HUSD_FindPrims::setAssumeWildcardsAroundPlainTokens |
( |
bool |
assume | ) |
|
void HUSD_FindPrims::setCaseSensitive |
( |
bool |
casesensitive | ) |
|
The documentation for this class was generated from the following file: