libigl v2.5.0
Loading...
Searching...
No Matches
reorient_facets_raycast.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_REORIENT_FACETS_RAYCAST_H
9#define IGL_EMBREE_REORIENT_FACETS_RAYCAST_H
10#include "../igl_inline.h"
11#include <Eigen/Core>
12namespace igl
13{
14 namespace embree
15 {
31 template <
32 typename DerivedV,
33 typename DerivedF,
34 typename DerivedI,
35 typename DerivedC>
37 const Eigen::PlainObjectBase<DerivedV> & V,
38 const Eigen::PlainObjectBase<DerivedF> & F,
39 int rays_total,
40 int rays_minimum,
41 bool facet_wise,
42 bool use_parity,
43 bool is_verbose,
44 Eigen::PlainObjectBase<DerivedI> & I,
45 Eigen::PlainObjectBase<DerivedC> & C);
54 template <
55 typename DerivedV,
56 typename DerivedF,
57 typename DerivedFF,
58 typename DerivedI>
60 const Eigen::PlainObjectBase<DerivedV> & V,
61 const Eigen::PlainObjectBase<DerivedF> & F,
62 Eigen::PlainObjectBase<DerivedFF> & FF,
63 Eigen::PlainObjectBase<DerivedI> & I);
64 }
65};
66
67#ifndef IGL_STATIC_LIBRARY
68# include "reorient_facets_raycast.cpp"
69#endif
70
71#endif
#define IGL_INLINE
Definition igl_inline.h:15
void reorient_facets_raycast(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, int rays_total, int rays_minimum, bool facet_wise, bool use_parity, bool is_verbose, Eigen::PlainObjectBase< DerivedI > &I, Eigen::PlainObjectBase< DerivedC > &C)
Orient each component (identified by C) of a mesh (V,F) using ambient occlusion such that the front s...
Definition AABB.h:17