collectionMembershipQuery.h File Reference
+ Include dependency graph for collectionMembershipQuery.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UsdCollectionMembershipQuery
 Represents a flattened view of a collection. More...
 
struct  UsdCollectionMembershipQuery::Hash
 Hash functor. More...
 

Functions

USD_API std::set< UsdObjectUsdComputeIncludedObjectsFromCollection (const UsdCollectionMembershipQuery &query, const UsdStageWeakPtr &stage, const Usd_PrimFlagsPredicate &pred=UsdPrimDefaultPredicate)
 Returns all the usd objects that satisfy the predicate, pred in the collection represented by the UsdCollectionMembershipQuery object, query. More...
 
USD_API SdfPathSet UsdComputeIncludedPathsFromCollection (const UsdCollectionMembershipQuery &query, const UsdStageWeakPtr &stage, const Usd_PrimFlagsPredicate &pred=UsdPrimDefaultPredicate)
 Returns all the paths that satisfy the predicate, pred in the collection represented by the UsdCollectionMembershipQuery object, query. More...
 

Function Documentation

◆ UsdComputeIncludedObjectsFromCollection()

USD_API std::set<UsdObject> UsdComputeIncludedObjectsFromCollection ( const UsdCollectionMembershipQuery query,
const UsdStageWeakPtr &  stage,
const Usd_PrimFlagsPredicate &  pred = UsdPrimDefaultPredicate 
)

Returns all the usd objects that satisfy the predicate, pred in the collection represented by the UsdCollectionMembershipQuery object, query.

The results depends on the load state of the UsdStage, stage.

◆ UsdComputeIncludedPathsFromCollection()

USD_API SdfPathSet UsdComputeIncludedPathsFromCollection ( const UsdCollectionMembershipQuery query,
const UsdStageWeakPtr &  stage,
const Usd_PrimFlagsPredicate &  pred = UsdPrimDefaultPredicate 
)

Returns all the paths that satisfy the predicate, pred in the collection represented by the UsdCollectionMembershipQuery object, query.

The result depends on the load state of the UsdStage, stage.