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

#include <dataSourceAttributeColorSpace.h>

+ Inheritance diagram for UsdImagingDataSourceAttributeColorSpace:

Public Member Functions

 HD_DECLARE_DATASOURCE (UsdImagingDataSourceAttributeColorSpace)
 
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 metadata on a USD Attribute

Definition at line 38 of file dataSourceAttributeColorSpace.h.

Member Function Documentation

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

Returns false since we do not expect the color space value to vary over time.

Implements HdSampledDataSource.

Definition at line 63 of file dataSourceAttributeColorSpace.h.

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

Returns the extracted TfToken value of the color space metadata on the attribute.

Implements HdTypedSampledDataSource< T >.

Definition at line 54 of file dataSourceAttributeColorSpace.h.

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

Returns the VtValue of the colorspace for the attribute

Implements HdSampledDataSource.

Definition at line 46 of file dataSourceAttributeColorSpace.h.

UsdImagingDataSourceAttributeColorSpace::HD_DECLARE_DATASOURCE ( UsdImagingDataSourceAttributeColorSpace  )

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