HDK
|
#include <dataSource.h>
Public Member Functions | |
HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource) | |
virtual TfTokenVector | GetNames ()=0 |
virtual HdDataSourceBaseHandle | Get (const TfToken &name)=0 |
Public Member Functions inherited from HdDataSourceBase | |
virtual HD_API | ~HdDataSourceBase ()=0 |
Static Public Member Functions | |
static HD_API HdDataSourceBaseHandle | Get (const Handle &container, const HdDataSourceLocator &locator) |
A datasource representing structured (named, hierarchical) data, for example a geometric primitive or a sub-object like a material definition. Note that implementations are responsible for providing cache invalidation, if necessary.
Definition at line 115 of file dataSource.h.
|
pure virtual |
Returns the child datasource of the given name. This call is expected to be threadsafe.
Implemented in UsdImagingDataSourcePrim, UsdImagingDataSourcePrimOrigin, UsdImagingDataSourceXform, UsdImagingDataSourceExtentsHint, UsdImagingDataSourceExtent, UsdImagingDataSourcePrimvar, UsdImagingDataSourceMeshPrim, UsdImagingDataSourceRenderVarPrim, UsdImagingDataSourcePointInstancerPrim, UsdImagingDataSourceBasisCurvesPrim, UsdImagingDataSourceMesh, UsdImagingDataSourceMaterialPrim, UsdImagingDataSourcePurpose, UsdImagingDataSourcePointInstancerTopology, UsdImagingDataSourceCustomPrimvars, UsdImagingDataSourceRenderProductPrim, HdDataSourceLegacyPrim, UsdImagingDataSourceFieldAssetPrim, HdOverlayContainerDataSource, UsdImagingDataSourceCameraPrim, UsdImagingDataSourceBasisCurves, UsdImagingDataSourceSchemaBased< UsdSchemaType, UsdSchemaBaseTypes, Translator >, UsdImagingDataSourceVolumePrim, UsdImagingDataSourceMeshTopology, UsdImagingDataSourceVisibility, UsdImagingDataSourceMaterial, UsdImagingDataSourceStage, UsdImagingDataSourceFieldAsset, HdMapContainerDataSource, UsdImagingDataSourceGprim, UsdImagingDataSourceRenderSettingsPrim, UsdImagingDataSourceCamera, UsdImagingDataSourceBasisCurvesTopology, UsdImagingDataSourcePrimvars, HdLazyContainerDataSource, UsdImagingDataSourceSubdivisionTags, UsdImagingDataSourceVolumeFieldBindings, UsdImagingDataSourcePointsPrim, UsdImagingDataSourceUsdPrimInfo, UsdImagingDataSourceNurbsCurvesPrim, and UsdImagingDataSourceNurbsPatchPrim.
|
static |
A convenience function: given container
, return the descendant identified by locator
, which may be at any depth. Returns container
itself on an empty locator, or null if locator
doesn't identify a valid descendant.
|
pure virtual |
Returns the list of names for which Get
(...) is expected to return a non-null value. This call is expected to be threadsafe.
Implemented in UsdImagingDataSourcePrim, UsdImagingDataSourcePrimOrigin, UsdImagingDataSourceXform, UsdImagingDataSourceExtentsHint, UsdImagingDataSourceExtent, UsdImagingDataSourcePrimvar, UsdImagingDataSourceMeshPrim, UsdImagingDataSourcePointInstancerPrim, UsdImagingDataSourceRenderVarPrim, UsdImagingDataSourceBasisCurvesPrim, UsdImagingDataSourceMesh, UsdImagingDataSourceMaterialPrim, UsdImagingDataSourcePurpose, UsdImagingDataSourcePointInstancerTopology, HdDataSourceLegacyPrim, UsdImagingDataSourceCustomPrimvars, UsdImagingDataSourceRenderProductPrim, UsdImagingDataSourceFieldAssetPrim, HdOverlayContainerDataSource, UsdImagingDataSourceCameraPrim, UsdImagingDataSourceBasisCurves, UsdImagingDataSourceVolumePrim, UsdImagingDataSourceSchemaBased< UsdSchemaType, UsdSchemaBaseTypes, Translator >, UsdImagingDataSourceMeshTopology, UsdImagingDataSourceMaterial, UsdImagingDataSourceVisibility, UsdImagingDataSourceFieldAsset, HdMapContainerDataSource, UsdImagingDataSourceCamera, UsdImagingDataSourceStage, UsdImagingDataSourceBasisCurvesTopology, UsdImagingDataSourcePrimvars, UsdImagingDataSourceRenderSettingsPrim, UsdImagingDataSourceSubdivisionTags, UsdImagingDataSourceVolumeFieldBindings, HdLazyContainerDataSource, UsdImagingDataSourceUsdPrimInfo, UsdImagingDataSourceNurbsCurvesPrim, and UsdImagingDataSourceNurbsPatchPrim.
HdContainerDataSource::HD_DECLARE_DATASOURCE_ABSTRACT | ( | HdContainerDataSource | ) |