Loading...
Searching...
No Matches
HdTypedSampledDataSource< T > Class Template Referenceabstract

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.
 

Detailed Description

template<typename T>
class HdTypedSampledDataSource< T >

A datasource representing a concretely-typed sampled value.

Definition at line 209 of file dataSource.h.

Member Typedef Documentation

◆ Type

using Type = T

Definition at line 213 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: