HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdImagingDataSourceAttributeTypeName Class Reference

#include <dataSourceAttributeTypeName.h>

+ Inheritance diagram for UsdImagingDataSourceAttributeTypeName:

Public Member Functions

 HD_DECLARE_DATASOURCE (UsdImagingDataSourceAttributeTypeName)
 
VtValue GetValue (HdSampledDataSource::Time shutterOffset) override
 
TfToken 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

A data source that represents the type name on a USD Attribute

Definition at line 21 of file dataSourceAttributeTypeName.h.

Member Function Documentation

bool UsdImagingDataSourceAttributeTypeName::GetContributingSampleTimesForInterval ( HdSampledDataSource::Time  startTime,
HdSampledDataSource::Time  endTime,
std::vector< HdSampledDataSource::Time > *  outSampleTimes 
)
inlineoverridevirtual

Returns false since we do not expect the type info to vary over time.

Implements HdSampledDataSource.

Definition at line 47 of file dataSourceAttributeTypeName.h.

TfToken UsdImagingDataSourceAttributeTypeName::GetTypedValue ( HdSampledDataSource::Time  shutterOffset)
inlineoverridevirtual

Returns the extracted TfToken value of the type info metadata on the attribute.

Implements HdTypedSampledDataSource< T >.

Definition at line 37 of file dataSourceAttributeTypeName.h.

VtValue UsdImagingDataSourceAttributeTypeName::GetValue ( HdSampledDataSource::Time  shutterOffset)
inlineoverridevirtual

Returns the VtValue of the type info for the attribute

Implements HdSampledDataSource.

Definition at line 29 of file dataSourceAttributeTypeName.h.

UsdImagingDataSourceAttributeTypeName::HD_DECLARE_DATASOURCE ( UsdImagingDataSourceAttributeTypeName  )

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