Re: Batch synchronize process
Posted: Wed Jul 03, 2013 9:57 am
Finally I used hDlg->exec(); to keep opened the histogram window.
I'm looking a way to delete points out of a custom defined box (from center).
What method can I use to directly remove a point of my cloudPoint object ?
CCVector3 P;
dataCloudcut->getPoint(i,P);
float dx = std::abs(P.x - C.x);
float dy = std::abs(P.y - C.y);
float dz = std::abs(P.z - C.z);
if (dx>1.0 || dy>1.0 || dz>1.0) {
dataCloudcut-> ..... (remove point)
}
David.
I'm looking a way to delete points out of a custom defined box (from center).
What method can I use to directly remove a point of my cloudPoint object ?
CCVector3 P;
dataCloudcut->getPoint(i,P);
float dx = std::abs(P.x - C.x);
float dy = std::abs(P.y - C.y);
float dz = std::abs(P.z - C.z);
if (dx>1.0 || dy>1.0 || dz>1.0) {
dataCloudcut-> ..... (remove point)
}
David.