24 #ifndef PXR_IMAGING_HDX_FREE_CAMERA_SCENE_DELEGATE_H
25 #define PXR_IMAGING_HDX_FREE_CAMERA_SCENE_DELEGATE_H
29 #include "pxr/imaging/hdx/api.h"
31 #include "pxr/imaging/hd/sceneDelegate.h"
33 #include "pxr/imaging/cameraUtil/conformWindow.h"
35 PXR_NAMESPACE_OPEN_SCOPE
52 ~HdxFreeCameraSceneDelegate()
override;
86 void _MarkDirty(HdDirtyBits bits);
94 CameraUtilConformWindowPolicy _policy;
97 PXR_NAMESPACE_CLOSE_SCOPE
99 #endif // PXR_IMAGING_HDX_FREE_CAMERA_SCENE_DELEGATE_H
The Hydra render index is a flattened representation of the client scene graph, which may be composed...
HDX_API void SetClipPlanes(std::vector< GfVec4f > const &clipPlanes)
For transition, set clip planes for camera. GfCamera is preferred.
HDX_API void SetWindowPolicy(CameraUtilConformWindowPolicy policy)
Set window policy of camera.
const SdfPath & GetCameraId() const
Path of added camera (in render index).
Object-based representation of a camera.
HDX_API VtValue GetCameraParamValue(SdfPath const &id, TfToken const &key) override
Returns a single value for a given camera and parameter.
HDX_API HdxFreeCameraSceneDelegate(HdRenderIndex *renderIndex, SdfPath const &delegateId)
Constructs delegate and adds camera to render index if cameras are supported by render delegate...
Token for efficient comparison, assignment, and hashing of known strings.
HDX_API GfMatrix4d GetTransform(SdfPath const &id) override
Returns the object space transform, including all parent transforms.
Stores a 4x4 matrix of double elements.
Adapter class providing data exchange with the client scene graph.
HDX_API void SetMatrices(GfMatrix4d const &viewMatrix, GfMatrix4d const &projMatrix)
For transition, set camera state from OpenGL-style view and projection matrix.
A path value used to locate objects in layers or scenegraphs.
A simple scene delegate adding a camera prim to the given render index.
HDX_API void SetCamera(const GfCamera &camera)
Set state of camera from GfCamera.
Provides a container which may hold any type, and provides introspection and iteration over array typ...