//=========================================================================
//  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_extension_vtk_io_mesh_ImportVTKData_h
#define pybind_smtk_extension_vtk_io_mesh_ImportVTKData_h

#include <pybind11/pybind11.h>

#include "smtk/extension/vtk/io/mesh/ImportVTKData.h"

#include "smtk/mesh/core/Resource.h"

namespace py = pybind11;

inline py::class_< smtk::extension::vtk::io::mesh::ImportVTKData > pybind11_init_smtk_extension_vtk_io_mesh_ImportVTKData(py::module &m)
{
  py::class_< smtk::extension::vtk::io::mesh::ImportVTKData > instance(m, "ImportVTKData");
  instance
    .def(py::init<>())
    .def("__call__", (smtk::mesh::ResourcePtr (smtk::extension::vtk::io::mesh::ImportVTKData::*)(::std::string const &, const ::smtk::mesh::InterfacePtr &, ::std::string) const) &smtk::extension::vtk::io::mesh::ImportVTKData::operator())
    .def("__call__", (bool (smtk::extension::vtk::io::mesh::ImportVTKData::*)(::std::string const &, ::smtk::mesh::ResourcePtr, ::std::string) const) &smtk::extension::vtk::io::mesh::ImportVTKData::operator())
    .def("__call__", (smtk::mesh::MeshSet (smtk::extension::vtk::io::mesh::ImportVTKData::*)(::vtkDataSet *, ::smtk::mesh::ResourcePtr) const) &smtk::extension::vtk::io::mesh::ImportVTKData::operator())
    .def("__call__", (bool (smtk::extension::vtk::io::mesh::ImportVTKData::*)(::vtkDataSet *, ::smtk::mesh::ResourcePtr, ::std::string) const) &smtk::extension::vtk::io::mesh::ImportVTKData::operator())
    .def("__call__", (smtk::mesh::ResourcePtr (smtk::extension::vtk::io::mesh::ImportVTKData::*)(::vtkDataSet *, const ::smtk::mesh::InterfacePtr &, ::std::string) const) &smtk::extension::vtk::io::mesh::ImportVTKData::operator())
    .def("__call__", [&](const smtk::extension::vtk::io::mesh::ImportVTKData& importData, vtkDataSet *pd, const ::smtk::mesh::InterfacePtr& interface){ return importData(pd, interface); })
    ;
  return instance;
}

#endif
