|
|
@ -1,3 +1,9 @@ |
|
|
|
/*
|
|
|
|
* @File Created: 2022-11-25, 14:55:48 |
|
|
|
* @Last Modified: 2022-11-26, 18:50:49 |
|
|
|
* @Author: forty-twoo |
|
|
|
* @Copyright (c) 2022, Caiyue Li(li_caiyue@zju.edu.cn), All rights reserved. |
|
|
|
*/ |
|
|
|
|
|
|
|
#ifndef SHOW_LIBIGL_H_ |
|
|
|
#define SHOW_LIBIGL_H_ |
|
|
@ -15,8 +21,7 @@ extern igl::opengl::glfw::Viewer viewer; |
|
|
|
#define YELLOW Eigen ::RowVector3d(1, 1, 0) |
|
|
|
#define PINK Eigen ::RowVector3d(0.8, 0.2, 0.6) |
|
|
|
|
|
|
|
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 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 ShowBVHNode_Igl(BVH_AABB_NodePtr bvhNode, Eigen::RowVector3d color); |
|
|
|
void ShowAABB_Igl(AABB bound, Eigen::RowVector3d color); |
|
|
|
|
|
|
|