UsdImagingDataSourceXform Class Reference

Data source representing a container that stores a USD Xformable. More...

+ Inheritance diagram for UsdImagingDataSourceXform:

Public Member Functions

 HD_DECLARE_DATASOURCE (UsdImagingDataSourceXform)
 
bool Has (const TfToken &name) override
 Returns whether or not this container can return something meaningful for name. More...
 
TfTokenVector GetNames () override
 Returns the names contained in this data source. More...
 
HdDataSourceBaseHandle Get (const TfToken &name) override
 Returns the data source for the given 'name'. More...
 
- Public Member Functions inherited from HdContainerDataSource
 HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource)
 

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. More...
 

Detailed Description

Data source representing a container that stores a USD Xformable.

Note that this container only represents a flattened matrix right now, but could be expanded in the future to include more granular XformOps, which is why it exists as a separate entity.

Definition at line 334 of file dataSourcePrim.h.

Member Function Documentation

◆ Get()

HdDataSourceBaseHandle Get ( const TfToken name)
overridevirtual

Returns the data source for the given 'name'.

Only 'matrix' and 'resetXformStack' return anything in this class.

Implements HdContainerDataSource.

◆ GetNames()

TfTokenVector GetNames ( )
overridevirtual

Returns the names contained in this data source.

This class only returns 'matrix' and 'resetXformStack'.

Implements HdContainerDataSource.

◆ Has()

bool Has ( const TfToken name)
overridevirtual

Returns whether or not this container can return something meaningful for name.

This class returns true for 'matrix' and 'resetXformStack' only.

Implements HdContainerDataSource.


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