![]() |
|
A datasource representing a concretely-typed sampled value. More...
#include <dataSource.h>
Inheritance diagram for HdTypedSampledDataSource< T >:Public Types | |
| using | Type = T |
Public Types inherited from HdSampledDataSource | |
| using | Time = float |
Public Member Functions | |
| HD_DECLARE_DATASOURCE_ABSTRACT (HdTypedSampledDataSource< T >) | |
| virtual T | GetTypedValue (Time shutterOffset)=0 |
Returns the value of this data source at frame-relative time shutterOffset, as type T. | |
Public Member Functions inherited from HdSampledDataSource | |
| HD_DECLARE_DATASOURCE_ABSTRACT (HdSampledDataSource) | |
| virtual VtValue | GetValue (Time shutterOffset)=0 |
Returns the value of this data source at frame-relative time shutterOffset. | |
| virtual bool | GetContributingSampleTimesForInterval (Time startTime, Time endTime, std::vector< Time > *outSampleTimes)=0 |
Given a shutter window of interest (startTime and endTime relative to the current frame), return a list of sample times for the caller to query with GetValue such that the caller can reconstruct the signal over the shutter window. | |
A datasource representing a concretely-typed sampled value.
Definition at line 192 of file dataSource.h.
| using Type = T |
Definition at line 196 of file dataSource.h.
|
pure virtual |
Returns the value of this data source at frame-relative time shutterOffset, as type T.
Implemented in HdRetainedTypedSampledDataSource< T >, UsdImagingDataSourceAttributeColorSpace, UsdImagingDataSourceAttributeTypeName, UsdImagingDataSourcePointInstancerMask, UsdImagingDataSourceExtentCoordinate, UsdImagingDataSourceXformResetXformStack, UsdImagingDataSourceXformMatrix, and UsdImagingDataSourceRelationship.