HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdImagingDataSourceExtentsHint Class Reference

#include <dataSourcePrim.h>

+ Inheritance diagram for UsdImagingDataSourceExtentsHint:

Public Member Functions

 HD_DECLARE_DATASOURCE (UsdImagingDataSourceExtentsHint)
 
TfTokenVector GetNames () override
 
HdDataSourceBaseHandle Get (const TfToken &name) override
 
- Public Member Functions inherited from HdContainerDataSource
 HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource)
 
- Public Member Functions inherited from HdDataSourceBase
virtual HD_API ~HdDataSourceBase ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from HdContainerDataSource
static HD_API
HdDataSourceBaseHandle 
Get (const Handle &container, const HdDataSourceLocator &locator)
 

Detailed Description

Data source representing extents hint of a geom model API prim.

Definition at line 210 of file dataSourcePrim.h.

Member Function Documentation

HdDataSourceBaseHandle UsdImagingDataSourceExtentsHint::Get ( const TfToken name)
overridevirtual

Takes the hydra name of a purpose and returns the corresponding values from extentsHint as HdExtentSchema.

Implements HdContainerDataSource.

TfTokenVector UsdImagingDataSourceExtentsHint::GetNames ( )
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.

UsdImagingDataSourceExtentsHint::HD_DECLARE_DATASOURCE ( UsdImagingDataSourceExtentsHint  )

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