24 #ifndef PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_POINT_INSTANCER_H 25 #define PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_POINT_INSTANCER_H 27 #include "pxr/imaging/hd/dataSourceTypeDefs.h" 31 #include "pxr/usdImaging/usdImaging/dataSourcePrim.h" 32 #include "pxr/usdImaging/usdImaging/dataSourcePrimvars.h" 34 PXR_NAMESPACE_OPEN_SCOPE
52 HdSampledDataSource::Time shutterOffset)
override;
55 HdSampledDataSource::Time startTime,
56 HdSampledDataSource::Time endTime,
57 std::vector<HdSampledDataSource::Time> * outSampleTimes)
override;
87 HdDataSourceBaseHandle
Get(
const TfToken &name)
override;
110 class UsdImagingDataSourcePointInstancerPrim
114 HD_DECLARE_DATASOURCE(UsdImagingDataSourcePointInstancerPrim);
117 HdDataSourceBaseHandle
Get(
const TfToken &name)
override;
130 UsdImagingDataSourcePointInstancerPrim(
137 HD_DECLARE_DATASOURCE_HANDLES(UsdImagingDataSourcePointInstancerPrim);
139 PXR_NAMESPACE_CLOSE_SCOPE
141 #endif // PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_POINT_INSTANCER_H TfTokenVector GetNames() override
Returns the list of names for which Get(...) is expected to return a non-null value.
bool GetContributingSampleTimesForInterval(HdSampledDataSource::Time startTime, HdSampledDataSource::Time endTime, std::vector< HdSampledDataSource::Time > *outSampleTimes) override
Given a shutter window of interest (startTime and endTime relative to the current frame),...
VtBoolArray GetTypedValue(HdSampledDataSource::Time shutterOffset) override
Returns the value of this data source at frame-relative time shutterOffset, as type T.
A datasource representing structured (named, hierarchical) data, for example a geometric primitive or...
HdDataSourceBaseHandle Get(const TfToken &name) override
Returns the child datasource of the given name.
A data source representing a point instancer's instance mask.
Token for efficient comparison, assignment, and hashing of known strings.
Data source representing a basic USD prim.
This class is used as a context object with global stage information, that gets passed down to dataso...
A datasource representing a concretely-typed sampled value.
Represents a set of data source locators closed under descendancy.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
std::vector< TfToken > TfTokenVector
Convenience types.
A path value used to locate objects in layers or scenegraphs.
USDIMAGING_API TfTokenVector GetNames() override
Returns the names for which this data source can return meaningful results.
static USDIMAGING_API HdDataSourceLocatorSet Invalidate(UsdPrim const &prim, const TfToken &subprim, const TfTokenVector &properties)
Returns the hydra attribute set we should invalidate if the value of the USD properties in properties...
USDIMAGING_API HdDataSourceBaseHandle Get(const TfToken &name) override
Returns the data source representing name, if valid.
A data source representing a point instancer's instance topology.
Encodes vectorized instancing of multiple, potentially animated, prototypes (object/instance masters)...
Provides a container which may hold any type, and provides introspection and iteration over array typ...
VtValue GetValue(HdSampledDataSource::Time shutterOffset) override
Returns the value of this data source at frame-relative time shutterOffset.