libigl v2.5.0
Loading...
Searching...
No Matches
max_faces_stopping_condition.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_MAX_FACES_STOPPING_CONDITION_H
9#define IGL_MAX_FACES_STOPPING_CONDITION_H
10#include "igl_inline.h"
12#include <Eigen/Core>
13#include <vector>
14#include <set>
15#include <functional>
16namespace igl
17{
31 int & m,
32 const int orig_m,
33 const int max_m,
34 decimate_stopping_condition_callback & stopping_condition);
38 int & m,
39 const int orign_m,
40 const int max_m);
41}
42
43#ifndef IGL_STATIC_LIBRARY
44# include "max_faces_stopping_condition.cpp"
45#endif
46#endif
47
See decimate.h for more details.
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
std::function< bool(const Eigen::MatrixXd &, const Eigen::MatrixXi &, const Eigen::MatrixXi &, const Eigen::VectorXi &, const Eigen::MatrixXi &, const Eigen::MatrixXi &, const igl::min_heap< std::tuple< double, int, int > > &, const Eigen::VectorXi &, const Eigen::MatrixXd &, const int, const int, const int, const int, const int)> decimate_stopping_condition_callback
Function handle used to control whether the queue processing in igl::decimate should stop.
Definition decimate_callback_types.h:88
void max_faces_stopping_condition(int &m, const int orig_m, const int max_m, decimate_stopping_condition_callback &stopping_condition)
Stopping condition function compatible with igl::decimate.