Loading...
Searching...
No Matches
UsdImagingDataSourceSingleRelationship Class Reference

A data source that represents only the first authored, non-empty path of a USD relationship as a single path. More...

#include <dataSourceRelationship.h>

+ Inheritance diagram for UsdImagingDataSourceSingleRelationship:

Public Member Functions

 HD_DECLARE_DATASOURCE (UsdImagingDataSourceSingleRelationship)
 
USDIMAGING_API VtValue GetValue (HdSampledDataSource::Time shutterOffset) override
 Returns the first non-empty path in the path array value of the relationship, as a VtValue.
 
USDIMAGING_API SdfPath GetTypedValue (HdSampledDataSource::Time shutterOffset) override
 Returns the first non-empty path in the path array value of the relationship.
 
USDIMAGING_API bool GetContributingSampleTimesForInterval (HdSampledDataSource::Time startTime, HdSampledDataSource::Time endTime, std::vector< HdSampledDataSource::Time > *outSampleTimes) override
 Returns false indicating USD relationships cannot vary with time.
 
- 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

Additional Inherited Members

- Public Types inherited from HdTypedSampledDataSource< T >
using Type = T
 
- Public Types inherited from HdSampledDataSource
using Time = float
 
- Protected Member Functions inherited from HdTypedSampledDataSource< T >
virtual VtValue _GetDefaultValue () override
 
- Protected Member Functions inherited from HdSampledDataSource

Detailed Description

A data source that represents only the first authored, non-empty path of a USD relationship as a single path.

Definition at line 73 of file dataSourceRelationship.h.

Member Function Documentation

◆ GetContributingSampleTimesForInterval()

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

Returns false indicating USD relationships cannot vary with time.

Implements HdSampledDataSource.

◆ GetTypedValue()

USDIMAGING_API SdfPath GetTypedValue ( HdSampledDataSource::Time shutterOffset)
overridevirtual

Returns the first non-empty path in the path array value of the relationship.

shutterOffset is ignored.

Implements HdTypedSampledDataSource< T >.

◆ GetValue()

USDIMAGING_API VtValue GetValue ( HdSampledDataSource::Time shutterOffset)
overridevirtual

Returns the first non-empty path in the path array value of the relationship, as a VtValue.

shutterOffset is ignored.

Implements HdSampledDataSource.


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