|
Data source representing extents hint of a geom model API prim. More...
#include <dataSourcePrim.h>
Public Member Functions | |
HD_DECLARE_DATASOURCE (UsdImagingDataSourceExtentsHint) | |
TfTokenVector | GetNames () override |
Returns names of (hydra) purposes for which we have extentsHint. | |
HdDataSourceBaseHandle | Get (const TfToken &name) override |
Takes the hydra name of a purpose and returns the corresponding values from extentsHint as HdExtentSchema. | |
Public Member Functions inherited from HdContainerDataSource | |
HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource) | |
virtual TfTokenVector | GetNames ()=0 |
Returns the list of names for which Get(...) is expected to return a non-null value. | |
virtual HdDataSourceBaseHandle | Get (const TfToken &name)=0 |
Returns the child datasource of the given name. | |
Additional Inherited Members | |
Static Public Member Functions inherited from HdContainerDataSource | |
static HD_API HdDataSourceBaseHandle | Get (const Handle &container, const HdDataSourceLocator &locator) |
A convenience function: given container , return the descendant identified by locator , which may be at any depth. | |
Data source representing extents hint of a geom model API prim.
Definition at line 210 of file dataSourcePrim.h.
|
overridevirtual |
Takes the hydra name of a purpose and returns the corresponding values from extentsHint as HdExtentSchema.
Implements HdContainerDataSource.
|
overridevirtual |
Returns names of (hydra) purposes for which we have extentsHint.
extentsHint in usd is an array. The names are computed using the lenth of this array, by truncating UsdGeomImagable::GetOrderedPurposeTokens() (and translating UsdGeomTokens->default_ to HdTokens->geometry).
Implements HdContainerDataSource.