Code: Select all
ccPointCloud *cloud = new ccPointCloud;
cloud->reserve(points.size());
for(int i=0;i<points.size();i++)
{
cloud->addPoint(points[i]);
}
I want to use parallel for to improve its efficacy.
But when I use
Code: Select all
#omp parallel for
It doesn't seem to be effective.
1. I want to make sure that is "addPoint" has no "input order" ploblems.
2. Is there any better way to optimized the tranform in cloudcompare?
Thanks.