omni/connect/core/CameraAlgo.h

File members: omni/connect/core/CameraAlgo.h

// SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
//
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
// property and proprietary rights in and to this material, related
// documentation and any modifications thereto. Any use, reproduction,
// disclosure or distribution of this material and related documentation
// without an express license agreement from NVIDIA CORPORATION or
// its affiliates is strictly prohibited.

#pragma once

#include "Api.h"

#include <pxr/base/gf/camera.h>
#include <pxr/usd/sdf/path.h>
#include <pxr/usd/usd/prim.h>
#include <pxr/usd/usd/stage.h>
#include <pxr/usd/usdGeom/camera.h>

#include <string>

namespace omni::connect::core
{

OMNICONNECTCORE_API pxr::UsdGeomCamera defineCamera(pxr::UsdStagePtr stage, const pxr::SdfPath& path, const pxr::GfCamera& cameraData);

OMNICONNECTCORE_API pxr::UsdGeomCamera defineCamera(pxr::UsdPrim parent, const std::string& name, const pxr::GfCamera& cameraData);

} // namespace omni::connect::core