Add non-const method to get and edit comments

This commit is contained in:
Simon Giraudot 2017-10-04 10:29:43 +02:00
parent 26563312fc
commit b15202f9d7
2 changed files with 5 additions and 0 deletions

View File

@ -835,6 +835,10 @@ const Point_set* Scene_points_with_normal_item::point_set() const
}
// Gets wrapped point set
std::string& Scene_points_with_normal_item::comments()
{
return d->m_comments;
}
const std::string& Scene_points_with_normal_item::comments() const
{
return d->m_comments;

View File

@ -77,6 +77,7 @@ public:
const Point_set* point_set() const;
// Gets PLY comments (empty if point set not originated from PLY input)
std::string& comments();
const std::string& comments() const;
// Gets dimensions