![]() |
|
Attribute query abstraction for scene adapter implementations. More...
#include <attributeQuery.h>
Inheritance diagram for EsfAttributeQueryInterface:Public Member Functions | |
| bool | IsValid () const |
Returns true if the query object is valid. | |
| SdfPath | GetPath () const |
| Returns the path of the attribute that is being queried. | |
| void | Initialize () |
| Reinitialize the query object from the attribute it was initially constructed with. | |
| bool | Get (VtValue *value, UsdTimeCode time) const |
| Gets the resolved value of the attribute at a given time. | |
| std::optional< TsSpline > | GetSpline () const |
| Gets the authored spline if the strongest opinion is a spline. | |
| bool | ValueMightBeTimeVarying () const |
Returns true if the attribute value might be varying over time, and false if the value is definitely not varying over time. | |
| bool | IsTimeVarying (UsdTimeCode from, UsdTimeCode to) const |
Returns true if the resolved value of the attribute is different on time from and time to. | |
Protected Member Functions | |
| EsfAttributeQueryInterface ()=default | |
| This constructor may only be called by the scene adapter implementation. | |
Attribute query abstraction for scene adapter implementations.
This abstraction closely resembles the UsdAttributeQuery.
The public methods of this class are called during initialization of inputs to the execution network and during authored value invalidation.
Definition at line 33 of file attributeQuery.h.
|
protecteddefault |
This constructor may only be called by the scene adapter implementation.
|
inline |
Gets the resolved value of the attribute at a given time.
Definition at line 66 of file attributeQuery.h.
|
inline |
Returns the path of the attribute that is being queried.
Definition at line 48 of file attributeQuery.h.
|
inline |
Gets the authored spline if the strongest opinion is a spline.
Definition at line 74 of file attributeQuery.h.
|
inline |
Reinitialize the query object from the attribute it was initially constructed with.
This enables clients to "revive" the query object after changes that affect value resolution previously invalidated it.
Definition at line 58 of file attributeQuery.h.
|
inline |
Returns true if the resolved value of the attribute is different on time from and time to.
from and to in order to determine if there is a difference in resolved values on in-between times. Definition at line 95 of file attributeQuery.h.
|
inline |
Returns true if the query object is valid.
Definition at line 43 of file attributeQuery.h.
|
inline |
Returns true if the attribute value might be varying over time, and false if the value is definitely not varying over time.
Definition at line 83 of file attributeQuery.h.