HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdImagingDataSourceAttribute< T > Class Template Reference

#include <dataSourceAttribute.h>

+ Inheritance diagram for UsdImagingDataSourceAttribute< T >:

Public Member Functions

 HD_DECLARE_DATASOURCE (UsdImagingDataSourceAttribute< T >)
 
VtValue GetValue (HdSampledDataSource::Time shutterOffset) override
 
T GetTypedValue (HdSampledDataSource::Time shutterOffset) override
 
bool GetContributingSampleTimesForInterval (HdSampledDataSource::Time startTime, HdSampledDataSource::Time endTime, std::vector< HdSampledDataSource::Time > *outSampleTimes) override
 
- Public Member Functions inherited from HdTypedSampledDataSource< T >
 HD_DECLARE_DATASOURCE_ABSTRACT (HdTypedSampledDataSource< T >)
 
- Public Member Functions inherited from HdSampledDataSource
 HD_DECLARE_DATASOURCE_ABSTRACT (HdSampledDataSource)
 
- Public Member Functions inherited from HdDataSourceBase
virtual HD_API ~HdDataSourceBase ()=0
 

Additional Inherited Members

- Public Types inherited from HdTypedSampledDataSource< T >
using Type = T
 
- Public Types inherited from HdSampledDataSource
using Time = float
 

Detailed Description

template<typename T>
class UsdImagingDataSourceAttribute< T >

Definition at line 41 of file dataSourceAttribute.h.

Member Function Documentation

template<typename T >
bool UsdImagingDataSourceAttribute< T >::GetContributingSampleTimesForInterval ( HdSampledDataSource::Time  startTime,
HdSampledDataSource::Time  endTime,
std::vector< HdSampledDataSource::Time > *  outSampleTimes 
)
inlineoverridevirtual

Fills the outSampleTimes with the times between startTime and endTime that have valid sample data and returns true.

Implements HdSampledDataSource.

Definition at line 71 of file dataSourceAttribute.h.

template<typename T >
T UsdImagingDataSourceAttribute< T >::GetTypedValue ( HdSampledDataSource::Time  shutterOffset)
inlineoverridevirtual

Returns the extracted T value of the attribute at shutterOffset

Implements HdTypedSampledDataSource< T >.

Definition at line 56 of file dataSourceAttribute.h.

template<typename T >
VtValue UsdImagingDataSourceAttribute< T >::GetValue ( HdSampledDataSource::Time  shutterOffset)
inlineoverridevirtual

Returns the VtValue of this attribute at a given shutterOffset

Implements HdSampledDataSource.

Definition at line 49 of file dataSourceAttribute.h.

template<typename T >
UsdImagingDataSourceAttribute< T >::HD_DECLARE_DATASOURCE ( UsdImagingDataSourceAttribute< T )

The documentation for this class was generated from the following file: