//=========================================================================
//  Copyright (c) Kitware, Inc.
//  All rights reserved.
//  See LICENSE.txt for details.
//
//  This software is distributed WITHOUT ANY WARRANTY; without even
//  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
//  PURPOSE.  See the above copyright notice for more information.
//=========================================================================

#ifndef pybind__smtk_geometry_Geometry_h
#define pybind__smtk_geometry_Geometry_h

#include <pybind11/pybind11.h>

#include "smtk/geometry/Geometry.h"

#include "smtk/geometry/Backend.h"
#include "smtk/geometry/Resource.h"

namespace py = pybind11;

inline PySharedPtrClass< smtk::geometry::Geometry > pybind11_init_smtk_geometry_Geometry(py::module &m)
{
  PySharedPtrClass< smtk::geometry::Geometry > instance(m, "Geometry");
  instance
    .def("backend", &smtk::geometry::Geometry::backend)
    .def("bounds", &smtk::geometry::Geometry::bounds, py::arg("arg0"), py::arg("bds"))
    .def("erase", &smtk::geometry::Geometry::erase, py::arg("uid"))
    .def("generationNumber", &smtk::geometry::Geometry::generationNumber, py::arg("arg0"))
    .def("markModified", &smtk::geometry::Geometry::markModified, py::arg("obj"))
    .def("readLockRequired", &smtk::geometry::Geometry::readLockRequired)
    .def("resource", &smtk::geometry::Geometry::resource)
    .def("typeName", &smtk::geometry::Geometry::typeName)
    .def("visit", &smtk::geometry::Geometry::visit, py::arg("fn"))
    .def("Initial", [](){ return smtk::geometry::Geometry::Initial; })
    .def("Invalid", [](){ return smtk::geometry::Geometry::Invalid; })
    ;
  return instance;
}

#endif
