// 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::PlainObjectBase & V, const Eigen::PlainObjectBase & T, const Eigen::PlainObjectBase & F, const bool wait) { using namespace std; // Build medit command, end with & so command returns without waiting stringstream command; command<, Eigen::Matrix, Eigen::Matrix >(Eigen::PlainObjectBase > const&, Eigen::PlainObjectBase > const&, Eigen::PlainObjectBase > const&, bool); #endif