<div dir="ltr">Hi all,<br><br>I am wondering what is the right way of applying translate-rotate-translate using vtkTransform. Right now I am doing this by<br><br>tr->PostMultiply();<br>tr->Translate(x,y,z); //where tr is a vtkTransform<br>
tr->RotateZ(90.0);<br>tr->Translate(-x,-y,-z);<br clear="all"><br><br>pdtf->SetTransform(tr);//pdtf is a vtkPolyDataTransfromFilter<br><br>I read somewhere that PostMultiply() applies transform in the order specified. Does this really apply translation twice or<br>
<br>should I translatr once and apply rotation then used another vtkTransform to translate it back?<br><br>Any prompt hints are highly appreciated!<br><br>Thanks<br><br>Jothy <br>-- <br><div dir="ltr">Jothybasu Selvaraj<br>
PhD Student<br>University of Liverpool<br>UK<br></div><br>
</div>