123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef IGL_EMBREE_SHAPE_DIAMETER_FUNCTION_H
- #define IGL_EMBREE_SHAPE_DIAMETER_FUNCTION_H
- #include "../igl_inline.h"
- #include <Eigen/Core>
- namespace igl
- {
- namespace embree
- {
-
- class EmbreeIntersector;
-
-
-
-
-
-
-
-
-
-
- template <
- typename DerivedP,
- typename DerivedN,
- typename DerivedS >
- IGL_INLINE void shape_diameter_function(
- const EmbreeIntersector & ei,
- const Eigen::PlainObjectBase<DerivedP> & P,
- const Eigen::PlainObjectBase<DerivedN> & N,
- const int num_samples,
- Eigen::PlainObjectBase<DerivedS> & S);
-
-
- template <
- typename DerivedV,
- typename DerivedF,
- typename DerivedP,
- typename DerivedN,
- typename DerivedS >
- IGL_INLINE void shape_diameter_function(
- const Eigen::PlainObjectBase<DerivedV> & V,
- const Eigen::PlainObjectBase<DerivedF> & F,
- const Eigen::PlainObjectBase<DerivedP> & P,
- const Eigen::PlainObjectBase<DerivedN> & N,
- const int num_samples,
- Eigen::PlainObjectBase<DerivedS> & S);
- }
- };
- #ifndef IGL_STATIC_LIBRARY
- # include "shape_diameter_function.cpp"
- #endif
- #endif
|