43 ,mesh_count_(0), options_(
options), bounding_counter(0),texture_counter(0),pic_count_(0)
53 auto mesh_work = boost::any_cast<pair<pair<MeshPtr, bool>, vector<kfusion::ImgPose*> > >(
getInQueue()->Take());
54 bool last_shift = mesh_work.first.second;
55 MeshPtr act_mesh = mesh_work.first.first;
56 string mesh_notice = (
"#### C: Mesh Optimization " + to_string(
mesh_count_) +
" ####");
63 std::vector<kfusion::ImgPose*> image_poses_buffer = mesh_work.second;
76 if(tmp_pointer ==
NULL)
90 for(i=0;i<image_poses_buffer.size();i++){
91 counter = tmp_pointer->projectAndMapNewImage(*(image_poses_buffer[i]));
101 image_poses_buffer.resize(0);
102 getOutQueue()->Add(pair<pair<MeshPtr, bool>, vector<ImgPose*> >(
103 pair<MeshPtr, bool>(tmp_pointer, last_shift), mesh_work.second));