HdTypedSampledDataSource< T > Class Template Referenceabstract

A datasource representing a concretely-typed sampled value. More...

+ 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. More...
 
- 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. More...
 
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. More...
 

Detailed Description

template<typename T>
class HdTypedSampledDataSource< T >

A datasource representing a concretely-typed sampled value.

Definition at line 201 of file dataSource.h.

Member Function Documentation

◆ GetTypedValue()

virtual T GetTypedValue ( Time  shutterOffset)
pure virtual

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