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