Loading...
Searching...
No Matches
query.h
1//
2// Copyright 2026 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_EXTRAS_EXEC_EXAMPLES_INVERTIBLE_RIGS_EXAMPLE_QUERY_H
8#define PXR_EXTRAS_EXEC_EXAMPLES_INVERTIBLE_RIGS_EXAMPLE_QUERY_H
9
10#include "pxr/pxr.h"
11
12#include "api.h"
13
14#include "pxr/usd/usd/attribute.h"
15
16PXR_NAMESPACE_OPEN_SCOPE
17
22public:
23 EXEC_INVERTIBLERIGSEXAMPLE_API
24 InvertibleRigsExample_Query(const UsdStageRefPtr &stage);
25
34 EXEC_INVERTIBLERIGSEXAMPLE_API
35 UsdAttributeVector
36 FindSwitchAvars(const TfToken &attributeName) const;
37
38private:
39 UsdStageRefPtr _stage;
40};
41
42PXR_NAMESPACE_CLOSE_SCOPE
43
44#endif
Class that implements query functionality needed to demonstrate an invertible rig with switch compens...
Definition query.h:21
EXEC_INVERTIBLERIGSEXAMPLE_API UsdAttributeVector FindSwitchAvars(const TfToken &attributeName) const
Finds all switch avars that are sources for switch attributes named attributeName.
Token for efficient comparison, assignment, and hashing of known strings.
Definition token.h:71