// Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software and related documentation without an express
// license agreement from NVIDIA CORPORATION is strictly prohibited.
//
#pragma once

#include "BindAbstractItem.h"
#include "DocAbstractShape.h"

// clang-format off

#define OMNIUI_PYBIND_INIT_AbstractShape                                                                               \
    OMNIUI_PYBIND_INIT_CALL(gesture, setGestures, pythonToGestures)                                                    \
    OMNIUI_PYBIND_INIT_CALL(gestures, setGestures, pythonToGestures)                                                   \
    OMNIUI_PYBIND_INIT_AbstractItem

#define OMNIUI_PYBIND_KWARGS_DOC_AbstractShape                                                                         \
    "\n    `gesture : `\n        "                                                                                     \
    OMNIUI_PYBIND_DOC_AbstractShape_getGestures                                                                        \
    "\n    `gestures : `\n        "                                                                                    \
    OMNIUI_PYBIND_DOC_AbstractShape_getGestures                                                                        \
    OMNIUI_PYBIND_KWARGS_DOC_AbstractItem

// clang-format on

OMNIUI_SCENE_NAMESPACE_OPEN_SCOPE

std::vector<std::shared_ptr<ShapeGesture>> pythonToGestures(pybind11::handle obj);

OMNIUI_SCENE_NAMESPACE_CLOSE_SCOPE
