libigl v2.5.0
Loading...
Searching...
No Matches
swept_volume_signed_distance.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_SWEPT_VOLUME_SIGNED_DISTANCE_H
9#define IGL_SWEPT_VOLUME_SIGNED_DISTANCE_H
10#include "igl_inline.h"
11#include <Eigen/Core>
12#include <Eigen/Geometry>
13#include <functional>
14namespace igl
15{
36 const Eigen::MatrixXd & V,
37 const Eigen::MatrixXi & F,
38 const std::function<Eigen::Affine3d(const double t)> & transform,
39 const size_t & steps,
40 const Eigen::MatrixXd & GV,
41 const Eigen::RowVector3i & res,
42 const double h,
43 const double isolevel,
44 const Eigen::VectorXd & S0,
45 Eigen::VectorXd & S);
48 const Eigen::MatrixXd & V,
49 const Eigen::MatrixXi & F,
50 const std::function<Eigen::Affine3d(const double t)> & transform,
51 const size_t & steps,
52 const Eigen::MatrixXd & GV,
53 const Eigen::RowVector3i & res,
54 const double h,
55 const double isolevel,
56 Eigen::VectorXd & S);
57 }
58
59#ifndef IGL_STATIC_LIBRARY
60# include "swept_volume_signed_distance.cpp"
61#endif
62
63#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void swept_volume_signed_distance(const Eigen::MatrixXd &V, const Eigen::MatrixXi &F, const std::function< Eigen::Affine3d(const double t)> &transform, const size_t &steps, const Eigen::MatrixXd &GV, const Eigen::RowVector3i &res, const double h, const double isolevel, const Eigen::VectorXd &S0, Eigen::VectorXd &S)
Compute the signed distance to a sweep surface of a mesh under-going an arbitrary motion V(t) discret...