|
HDK
|
#include "pxr/pxr.h"#include "pxr/usd/usd/common.h"#include "pxr/usd/usd/object.h"#include "pxr/usd/usd/primFlags.h"#include "pxr/base/tf/declarePtrs.h"#include "pxr/base/tf/hash.h"#include "pxr/base/tf/staticTokens.h"#include "pxr/usd/sdf/path.h"#include "pxr/usd/sdf/pathExpression.h"#include "pxr/usd/sdf/pathExpressionEval.h"#include <unordered_map>
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 SdfPathExpression | UsdComputePathExpressionFromCollectionMembershipQueryRuleMap (Usd_CollectionMembershipQueryBase::PathExpansionRuleMap const &ruleMap) |
| USD_API std::set< UsdObject > | UsdComputeIncludedObjectsFromCollection (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) |
| #define USD_COLLECTION_MEMBERSHIP_QUERY_TOKENS |
Definition at line 29 of file collectionMembershipQuery.h.
| using UsdCollectionMembershipQuery = Usd_CollectionMembershipQuery<UsdObjectCollectionExpressionEvaluator> |
Definition at line 401 of file collectionMembershipQuery.h.
| 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.
| USD_API SdfPathExpression UsdComputePathExpressionFromCollectionMembershipQueryRuleMap | ( | Usd_CollectionMembershipQueryBase::PathExpansionRuleMap const & | ruleMap | ) |
Compute an SdfPathExpression that matches the same paths as ruleMap. The resulting SdfPathExpression is always complete (see SdfPathExpression::IsComplete()) and never contains predicates.