7#ifndef PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_RELATIONSHIP_H
8#define PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_RELATIONSHIP_H
10#include "pxr/usdImaging/usdImaging/api.h"
11#include "pxr/usdImaging/usdImaging/dataSourceStageGlobals.h"
13#include "pxr/imaging/hd/dataSource.h"
14#include "pxr/imaging/hd/dataSourceTypeDefs.h"
16#include "pxr/usd/sdf/path.h"
17#include "pxr/usd/usd/relationship.h"
19#include "pxr/base/vt/value.h"
23PXR_NAMESPACE_OPEN_SCOPE
43 HdSampledDataSource::Time shutterOffset)
override;
48 HdSampledDataSource::Time startTime,
49 HdSampledDataSource::Time endTime,
50 std::vector<HdSampledDataSource::Time> *outSampleTimes)
override;
91 HdSampledDataSource::Time startTime,
92 HdSampledDataSource::Time endTime,
93 std::vector<HdSampledDataSource::Time>* outSampleTimes)
override;
113PXR_NAMESPACE_CLOSE_SCOPE
A datasource representing a concretely-typed sampled value.
A path value used to locate objects in layers or scenegraphs.
A data source that represents a USD relationship as an array of paths.
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.
USDIMAGING_API VtValue GetValue(HdSampledDataSource::Time shutterOffset) override
Returns the extracted path array value of the relationship, as a VtValue.
USDIMAGING_API VtArray< SdfPath > GetTypedValue(HdSampledDataSource::Time shutterOffset) override
Returns the extracted path array value of the relationship.
A data source that represents only the first authored, non-empty path of a USD relationship as a sing...
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.
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.
This class is used as a context object with global stage information, that gets passed down to dataso...
A UsdRelationship creates dependencies between scenegraph objects by allowing a prim to target other ...
Represents an arbitrary dimensional rectangular container class.
Provides a container which may hold any type, and provides introspection and iteration over array typ...