[vtkusers] ICP does not apply transformation on source data

David Doria daviddoria at gmail.com
Mon Dec 6 07:49:01 EST 2010


> Can you please give me some feedback.
> Thanks a lot,
> padre

I think you just need to change:	

//visualize transformed mesh
DebugRender::renderPoint(vertexSparseMesh->GetOutput()->GetPoints(),MString("mesh"),PointType(0,0,1),0);

to

DebugRender::renderPoint(icpTransformFilter->GetOutput()->GetPoints(),MString("mesh"),PointType(0,0,1),0);

The transform filter doesn't transform the data in place - it creates
a new data set.

David



More information about the vtkusers mailing list