mirror of https://github.com/CGAL/cgal
Mesh_3
This commit is contained in:
parent
a4c6df514a
commit
f52444425e
|
|
@ -97,9 +97,9 @@ search_for_connected_components_in_labeled_image(const CGAL::Image_3& image,
|
|||
% (long)static_evaluate<Image_word_type>(image.image(), i, j, k)
|
||||
% number_of_connected_components
|
||||
% (int)current_label;
|
||||
#endif // CGAL_MESH_3_SEARCH_FOR_CONNECTED_COMPONENTS_IN_LABELED_IMAGE_VERBOSE
|
||||
|
||||
int nb_voxels = 0;
|
||||
#endif // CGAL_MESH_3_SEARCH_FOR_CONNECTED_COMPONENTS_IN_LABELED_IMAGE_VERBOSE
|
||||
|
||||
Indices_queue queue;
|
||||
Indices indices(i, j ,k, 0);
|
||||
|
|
@ -137,7 +137,9 @@ search_for_connected_components_in_labeled_image(const CGAL::Image_3& image,
|
|||
{
|
||||
visited[offset] = true;
|
||||
second_pass[offset] = false;
|
||||
#if CGAL_MESH_3_SEARCH_FOR_CONNECTED_COMPONENTS_IN_LABELED_IMAGE_VERBOSE > 1
|
||||
++nb_voxels;
|
||||
#endif
|
||||
boost::get<0>(bbox_min) = (std::min)(i, boost::get<0>(bbox_min));
|
||||
boost::get<0>(bbox_max) = (std::max)(i, boost::get<0>(bbox_max));
|
||||
boost::get<1>(bbox_min) = (std::min)(j, boost::get<1>(bbox_min));
|
||||
|
|
|
|||
Loading…
Reference in New Issue