|
@ -1,3 +1,4 @@ |
|
|
|
|
|
|
|
|
#ifndef SHOW_LIBIGL_H_ |
|
|
#ifndef SHOW_LIBIGL_H_ |
|
|
#define SHOW_LIBIGL_H_ |
|
|
#define SHOW_LIBIGL_H_ |
|
|
|
|
|
|
|
@ -14,7 +15,7 @@ extern igl::opengl::glfw::Viewer viewer; |
|
|
#define YELLOW Eigen ::RowVector3d(1, 1, 0) |
|
|
#define YELLOW Eigen ::RowVector3d(1, 1, 0) |
|
|
#define PINK Eigen ::RowVector3d(0.8, 0.2, 0.6) |
|
|
#define PINK Eigen ::RowVector3d(0.8, 0.2, 0.6) |
|
|
|
|
|
|
|
|
void ShowCurve_Igl(tinynurbs::RationalCurve<double> &curve, double sampleNum, Eigen::RowVector3d color); |
|
|
void ShowCurve_Igl(tinynurbs::RationalCurve<double> &curve, double sampleNum, Eigen::RowVector3d color) |
|
|
void ShowSurface_Igl(tinynurbs::RationalSurface<double> &surface, double sampleNumU, double sampleNumV, Eigen::RowVector3d color); |
|
|
void ShowSurface_Igl(tinynurbs::RationalSurface<double> &surface, double sampleNumU, double sampleNumV, Eigen::RowVector3d color); |
|
|
void ShowBVHNode_Igl(BVH_AABB_NodePtr bvhNode, Eigen::RowVector3d color); |
|
|
void ShowBVHNode_Igl(BVH_AABB_NodePtr bvhNode, Eigen::RowVector3d color); |
|
|
void ShowAABB_Igl(AABB bound, Eigen::RowVector3d color); |
|
|
void ShowAABB_Igl(AABB bound, Eigen::RowVector3d color); |
|
|