libigl v2.5.0
Loading...
Searching...
No Matches
bone_visible.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) 2013 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_EMBREE_BONE_VISIBLE_H
9#define IGL_EMBREE_BONE_VISIBLE_H
10#include "../igl_inline.h"
11#include <Eigen/Core>
12#include "EmbreeIntersector.h"
13namespace igl
14{
15 namespace embree
16 {
32 template <
33 typename DerivedV,
34 typename DerivedF,
35 typename DerivedSD,
36 typename Derivedflag>
38 const Eigen::PlainObjectBase<DerivedV> & V,
39 const Eigen::PlainObjectBase<DerivedF> & F,
40 const Eigen::PlainObjectBase<DerivedSD> & s,
41 const Eigen::PlainObjectBase<DerivedSD> & d,
42 Eigen::PlainObjectBase<Derivedflag> & flag);
45 template <
46 typename DerivedV,
47 typename DerivedF,
48 typename DerivedSD,
49 typename Derivedflag>
51 const Eigen::PlainObjectBase<DerivedV> & V,
52 const Eigen::PlainObjectBase<DerivedF> & F,
53 const EmbreeIntersector & ei,
54 const Eigen::PlainObjectBase<DerivedSD> & s,
55 const Eigen::PlainObjectBase<DerivedSD> & d,
56 Eigen::PlainObjectBase<Derivedflag> & flag);
57 }
58}
59#ifndef IGL_STATIC_LIBRARY
60# include "bone_visible.cpp"
61#endif
62#endif
Simple class to wrap Embree's ray tracing functionality.
Definition EmbreeIntersector.h:36
#define IGL_INLINE
Definition igl_inline.h:15
void bone_visible(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, const Eigen::PlainObjectBase< DerivedSD > &s, const Eigen::PlainObjectBase< DerivedSD > &d, Eigen::PlainObjectBase< Derivedflag > &flag)
Test whether vertices of mesh are "visible" to a given bone, where "visible" is defined as in [Baran ...
Definition AABB.h:17