rename scale_space_[begin/end] -> points_[begin/end]

This commit is contained in:
Sébastien Loriot 2014-09-22 14:15:39 +02:00
parent b742e49526
commit d1c866f603
3 changed files with 9 additions and 9 deletions

View File

@ -132,8 +132,8 @@ void Polyhedron_demo_scale_space_reconstruction_plugin::on_actionScaleSpaceRecon
num );
typedef Recontructor::Point_iterator SS_point_iterator;
for(SS_point_iterator it = reconstruct.scale_space_begin(),
end = reconstruct.scale_space_end(); it!=end; ++it)
for(SS_point_iterator it = reconstruct.points_begin(),
end = reconstruct.points_end(); it!=end; ++it)
{
new_item_smoothed->new_vertex(it->x(), it->y(), it->z());
}

View File

@ -22,8 +22,8 @@ void dump_reconstruction(const Reconstruction& reconstruct, std::string name)
output << "OFF " << reconstruct.number_of_points() << " "
<< reconstruct.number_of_triangles() << " 0\n";
std::copy(reconstruct.scale_space_begin(),
reconstruct.scale_space_end(),
std::copy(reconstruct.points_begin(),
reconstruct.points_end(),
std::ostream_iterator<Point>(output,"\n"));
for( Triple_iterator it = reconstruct.surface_begin(); it != reconstruct.surface_end(); ++it )
output << "3 " << *it << std::endl;

View File

@ -670,7 +670,7 @@ private:
* estimated.
*/
void construct_shape() {
construct_shape( scale_space_begin(), scale_space_end() );
construct_shape( points_begin(), points_end() );
}
/// constructs the shape from an existing triangulation.
@ -803,20 +803,20 @@ public:
/// \name Iterators
/// \{
/// gives an iterator to the first point at the current scale.
Const_point_iterator scale_space_begin() const { return _tree.begin(); }
Const_point_iterator points_begin() const { return _tree.begin(); }
/// gives an iterator to the first point at the current scale.
/** \warning Changes to the scale-space do not cause an automatic update to
* the surface.
*/
Point_iterator scale_space_begin() { return _tree.begin(); }
Point_iterator points_begin() { return _tree.begin(); }
/// gives a past-the-end iterator of the points at the current scale.
Const_point_iterator scale_space_end() const { return _tree.end(); }
Const_point_iterator points_end() const { return _tree.end(); }
/// gives a past-the-end iterator of the points at the current scale.
/** \warning Changes to the scale-space do not cause an automatic update to
* the surface.
*/
Point_iterator scale_space_end() { return _tree.end(); }
Point_iterator points_end() { return _tree.end(); }
/// gives an iterator to the first triple in the surface.
Const_triple_iterator surface_begin() const { return _surface.begin(); }