<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi everybody,<br><br>I have an object picked usint VTkpicker....and I can recover its actor. now, I also define a vtkMatrix4x4 which is a rigid transformation matrix.<br>I want to apply that transformation to the object and I wrote this:<br><br>vtkTransform *tr = vtkTransform::New();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tr-&gt;SetMatrix(m);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tr-&gt;Update();<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; vtkTransformFilter *trF = vtkTransformFilter::New();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; trF-&gt;SetInput(tmpAct-&gt;GetMapper()-&gt;GetInput());<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; trF-&gt;SetTransform(tr);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; trF-&gt;Update();<br><br>where tmpAct is the actor picked by the picker.<br>So I thought that after refreshing the visualization I should see the object modified, but it doesn't....so where's the trick?<br><br>Kind Regards.<br>Giancarlo<br><br /><hr />La tua immagine personale dinamica per Messenger? <a href='http://clk.atdmt.com/GBL/go/136430519/direct/01/' target='_new'>Creala gratis con Avatar Studio!</a></body>
</html>