// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2013 Alec Jacobson // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at http://mozilla.org/MPL/2.0/. #include "launch_medit.h" #include "writeMESH.h" #include #include #include #include #define MEDIT_PATH "/opt/local/bin/medit" #define TEMP_MESH_FILE "/var/tmp/temp.mesh" #define TEMP_MEDIT_FILE "/var/tmp/temp.medit" template IGL_INLINE int igl::launch_medit( const Eigen::MatrixBase & V, const Eigen::MatrixBase & T, const Eigen::MatrixBase & F, const bool wait) { // Build medit command, end with & so command returns without waiting std::stringstream command; command<, Eigen::Matrix, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, bool); #endif