libigl v2.5.0
Loading...
Searching...
No Matches
infinite_cost_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) 2016 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_INFINITE_COST_STOPPING_CONDITION_H
9#define IGL_INFINITE_COST_STOPPING_CONDITION_H
10#include "igl_inline.h"
12#include <Eigen/Core>
13#include <vector>
14#include <set>
15#include <functional>
16namespace igl
17{
25 const decimate_cost_and_placement_callback & cost_and_placement,
26 decimate_stopping_condition_callback & stopping_condition);
30 const decimate_cost_and_placement_callback & cost_and_placement);
31}
32
33#ifndef IGL_STATIC_LIBRARY
34# include "infinite_cost_stopping_condition.cpp"
35#endif
36#endif
37
38
See decimate.h for more details.
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void infinite_cost_stopping_condition(const decimate_cost_and_placement_callback &cost_and_placement, decimate_stopping_condition_callback &stopping_condition)
Stopping condition function compatible with igl::decimate.
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
std::function< void(const int, const Eigen::MatrixXd &, const Eigen::MatrixXi &, const Eigen::MatrixXi &, const Eigen::VectorXi &, const Eigen::MatrixXi &, const Eigen::MatrixXi &, double &, Eigen::RowVectorXd &)> decimate_cost_and_placement_callback
Function handle used to control the cost of each edge collapse in igl::decimate.
Definition decimate_callback_types.h:46