This method discribed bellow has been tested with CloudCompare 2.6.3.1
A similar modification should be possible with newer version
In order to generate the annotation file. The cloud name needs to be added in the ASCII file generated during ASCII export.
libs/qCC_io/AsciiFilter.cpp and cloudcompare_modified/libs/qCC_io/AsciiFilter.cpp
In the include part of the cpp file, add:
#include <iostream>
#include <QString>
#include <string>
#include <sstream>At line 213, after:
if (saveColumnsHeader){
QString header("//");
// INSERT HERE
...
}insert :
// modification for saving name
QString name_ = cloud->getName();
std::string name_std = name_.toStdString();
header.append(name_std.c_str());
header.append("\n");
header.append("//");