Loading...
Searching...
No Matches
HdxFreeCameraPrimDataSource Class Reference

A data source conforming to the HdCameraSchema and HdXformSchema populated from a GfCamera or camera matrices and a window policy. More...

#include <freeCameraPrimDataSource.h>

+ Inheritance diagram for HdxFreeCameraPrimDataSource:

Public Member Functions

 HD_DECLARE_DATASOURCE (HdxFreeCameraPrimDataSource)
 
HDX_API void SetCamera (const GfCamera &camera, HdDataSourceLocatorSet *dirtyLocators=nullptr)
 
HDX_API void SetWindowPolicy (CameraUtilConformWindowPolicy policy, HdDataSourceLocatorSet *dirtyLocators=nullptr)
 
HDX_API void SetViewAndProjectionMatrix (const GfMatrix4d &viewMatrix, const GfMatrix4d &projectionMatrix, HdDataSourceLocatorSet *dirtyLocators=nullptr)
 
HDX_API void SetClippingPlanes (const std::vector< GfVec4f > &clippingPlanes, HdDataSourceLocatorSet *dirtyLocators=nullptr)
 
HDX_API HdDataSourceBaseHandle Get (const TfToken &name) override
 Returns the child datasource of the given name.
 
HDX_API TfTokenVector GetNames () override
 Returns the list of names for which Get(...) is expected to return a non-null value.
 
- 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.
 

Detailed Description

A data source conforming to the HdCameraSchema and HdXformSchema populated from a GfCamera or camera matrices and a window policy.

It is intended to replace the HdxFreeCameraSceneDelegate.

Definition at line 31 of file freeCameraPrimDataSource.h.

Member Function Documentation

◆ Get()

HDX_API HdDataSourceBaseHandle Get ( const TfToken name)
overridevirtual

Returns the child datasource of the given name.

This call is expected to be threadsafe.

Implements HdContainerDataSource.

◆ GetNames()

HDX_API TfTokenVector GetNames ( )
overridevirtual

Returns the list of names for which Get(...) is expected to return a non-null value.

This call is expected to be threadsafe.

Implements HdContainerDataSource.


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