HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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  Usd_CollectionMembershipQueryBase
 
struct  Usd_CollectionMembershipQueryBase::_Hash
 Hash functor. More...
 
class  Usd_CollectionMembershipQuery< ExprEval >
 
struct  Usd_CollectionMembershipQuery< ExprEval >::Hash
 Hash functor. More...
 
class  UsdObjectCollectionExpressionEvaluator
 Evaluates SdfPathExpressions with objects from a given UsdStage. More...
 

Macros

#define USD_COLLECTION_MEMBERSHIP_QUERY_TOKENS
 

Typedefs

using UsdCollectionMembershipQuery = Usd_CollectionMembershipQuery< UsdObjectCollectionExpressionEvaluator >
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (UsdCollectionMembershipQueryTokens, USD_API, USD_COLLECTION_MEMBERSHIP_QUERY_TOKENS)
 
USD_API std::set< UsdObjectUsdComputeIncludedObjectsFromCollection (const UsdCollectionMembershipQuery &query, const UsdStageWeakPtr &stage, const Usd_PrimFlagsPredicate &pred=UsdPrimDefaultPredicate)
 
USD_API SdfPathSet UsdComputeIncludedPathsFromCollection (const UsdCollectionMembershipQuery &query, const UsdStageWeakPtr &stage, const Usd_PrimFlagsPredicate &pred=UsdPrimDefaultPredicate)
 

Macro Definition Documentation

#define USD_COLLECTION_MEMBERSHIP_QUERY_TOKENS
Value:
(IncludedByMembershipExpression) \
(ExcludedByMembershipExpression)

Definition at line 46 of file collectionMembershipQuery.h.

Typedef Documentation

Function Documentation

TF_DECLARE_PUBLIC_TOKENS ( UsdCollectionMembershipQueryTokens  ,
USD_API  ,
USD_COLLECTION_MEMBERSHIP_QUERY_TOKENS   
)
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.

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.