<div>Hi ! </div> <div>I am facing with a problem regarding a mesh deformation. I have a contour surface, i need to deform a part of the surface. How can this be done?</div> <div> </div> <div>I have tried using the following techniques </div> <div> vtkWarpTo - But the entire geometry gets deformed. </div> <div> vtkAbstractTransform - I have set new positions of a part of the mesh and tried to use the</div> <div> TransformPoints() method. i.e.</div> <div> </div> <div> </div> <div> - vtkPoints *points = vtkPoints::New();</div> <div> - points->SetPoint( i, x); // i, is a set of point ids, x is the new position of this point id.</div> <div> -
transform->TransformPoints(points,points);</div> <div> - transFilter->SetTransform(transform);</div> <div> this is the pipeline</div> <div> vtkDataSetReader---->vtkExtractVOI----->vtkContourFilter----->vtkBrownianPoints---- >vtkDataSet--->vtkTransformFilter (with vtkAbstractTransform input)---->vtkPolyDataMapper---->vtkActor---->vtkRenderer---->vtkRenderWindow----->vtkRenderWindowInteractor</div> <div> </div> <div>Regards,</div> <div>Brian</div> <div> </div> <div> </div> <div> </div><p> 
<hr size=1>Need a quick answer? Get one in minutes from people who know. Ask your question on
<a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo! Answers</a>.