7#ifndef PXR_IMAGING_HDX_FREE_CAMERA_SCENE_DELEGATE_H
8#define PXR_IMAGING_HDX_FREE_CAMERA_SCENE_DELEGATE_H
12#include "pxr/imaging/hdx/api.h"
14#include "pxr/imaging/hd/sceneDelegate.h"
16#include "pxr/imaging/cameraUtil/conformWindow.h"
18PXR_NAMESPACE_OPEN_SCOPE
69 void _MarkDirty(HdDirtyBits bits);
77 CameraUtilConformWindowPolicy _policy;
80PXR_NAMESPACE_CLOSE_SCOPE
Object-based representation of a camera.
Stores a 4x4 matrix of double elements.
The render index is part of the Hydra 1.0 API and is only used for emulation purposes so that HdScene...
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...