[index/example] Add the visualization of knn Box/Box and Seg/Box to glut_vis example