mirror of https://github.com/CGAL/cgal
Merge pull request #2226 from sgiraudot/Scale_space_reconstruction_3-Improve_API_cleanup-GF
Scale space reconstruction: improve API cleanup
This commit is contained in:
commit
3301bf6a2c
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
<!-- $Id$
|
<!-- $Id$
|
||||||
$URL$
|
$URL$
|
||||||
-->
|
-->
|
||||||
|
|
@ -298,6 +298,18 @@ and <code>src/</code> directories).
|
||||||
is provided in addition to the current class-based API in order to
|
is provided in addition to the current class-based API in order to
|
||||||
make it easier to use.</li>
|
make it easier to use.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<h3>Scale-Space Surface Reconstruction</h3>
|
||||||
|
<ul>
|
||||||
|
<li><b>Breaking change</b>: the API was rewritten to separate the
|
||||||
|
smoothing and meshing algorithm and making it possible for the user
|
||||||
|
to use different ones. The default algorithms used are the same as
|
||||||
|
before this API change, but methods are moved to the
|
||||||
|
classes <code>Weighted_PCA_smoother</code>
|
||||||
|
and <code>Alpha_shape_mesher</code>.</li>
|
||||||
|
<li>Alternative smoothing and meshing methods are
|
||||||
|
provided: <code>Jet_smoother</code>
|
||||||
|
and <code>Advancing_front_mesher</code>.</li>
|
||||||
|
</ul>
|
||||||
<!-- Geometry Processing -->
|
<!-- Geometry Processing -->
|
||||||
<h3> 3D Surface Subdivision Methods </h3>
|
<h3> 3D Surface Subdivision Methods </h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,6 @@ private:
|
||||||
|
|
||||||
// Map TDS facets to shells
|
// Map TDS facets to shells
|
||||||
Map_facet_to_shell _map_f2s;
|
Map_facet_to_shell _map_f2s;
|
||||||
// std::map<SFacet, unsigned int> _map_f2s;
|
|
||||||
unsigned int _index;
|
unsigned int _index;
|
||||||
|
|
||||||
std::vector<Bubble> _bubbles;
|
std::vector<Bubble> _bubbles;
|
||||||
|
|
@ -232,11 +231,9 @@ public:
|
||||||
|
|
||||||
for (Facet_iterator it = _surface.begin(); it != _surface.end(); ++ it)
|
for (Facet_iterator it = _surface.begin(); it != _surface.end(); ++ it)
|
||||||
{
|
{
|
||||||
// Facet t = *it;
|
|
||||||
cpp11::array<std::size_t, 3> f = {{ std::size_t((*it)[0]), std::size_t((*it)[1]), std::size_t((*it)[2]) }};
|
cpp11::array<std::size_t, 3> f = {{ std::size_t((*it)[0]), std::size_t((*it)[1]), std::size_t((*it)[2]) }};
|
||||||
*(output ++) = f;
|
*(output ++) = f;
|
||||||
}
|
}
|
||||||
// std::copy (_surface.begin(), _surface.end(), output);
|
|
||||||
}
|
}
|
||||||
/// \endcond
|
/// \endcond
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue