<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> tr->SetMatrix(m);<br> tr->Update();<br><br> vtkTransformFilter *trF = vtkTransformFilter::New();<br> trF->SetInput(tmpAct->GetMapper()->GetInput());<br> trF->SetTransform(tr);<br> trF->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>