libigl v2.5.0
Loading...
Searching...
No Matches
reorient_facets_raycast.h File Reference
#include "../igl_inline.h"
#include <Eigen/Core>
#include "reorient_facets_raycast.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::embree
 

Functions

template<typename DerivedV , typename DerivedF , typename DerivedI , typename DerivedC >
void igl::embree::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 side is less occluded than back side, as described in "A Simple Method for Correcting Facet Orientations in Polygon Meshes Based on Ray Casting" [Takayama et al.
 
template<typename DerivedV , typename DerivedF , typename DerivedFF , typename DerivedI >
void igl::embree::reorient_facets_raycast (const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedFF > &FF, Eigen::PlainObjectBase< DerivedI > &I)