<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV><FONT size=2>
<P></FONT><FONT size=3>Hello&nbsp;Dear ITK users;</FONT></P>
<P><FONT size=3><EM>&nbsp;</EM>i have<EM> mesh</EM> variable which is generated from a stl polydata . First I read&nbsp; my STL data with VTK then I converted it to itk mesh format to implement a pointsettoimageregistration. Finally I would like to apply final patameters to the <EM>mesh</EM> by using TransformMeshFilter. but I met an error. When I clicked twice on error ,itkTransformMeshFilter.txx file is opened then corsor goes that line: <FONT size=2></P>
<P><FONT color=#ff0000>m_Transform-&gt;TransformPoint( inputPoint.Value() );</FONT></P>
<P><FONT size=3>What might the reason of it?</FONT></P>
<P><FONT size=3>Here is the part of applying&nbsp; finalparameters to the mesh</FONT></P></FONT></FONT>
<P>&nbsp;</P>
<P><FONT color=#000000>TransformType::Pointer finalTransform = TransformType::New();</FONT></P>
<P><FONT color=#000000>finalTransform-&gt;SetParameters( finalParameters );</FONT></P>
<P>//Translation implementation</P>
<P><FONT color=#0000ff>typedef</FONT> itk::TransformMeshFilter&lt;MeshType, MeshType, </P>
<P>TransformType &gt; FilterType;</P>
<P>FilterType::Pointer filter = FilterType::New();</P>
<P><FONT color=#008000>// Connect the inputs</P></FONT>
<P>filter-&gt;SetInput( mesh ); </P>
<P>filter-&gt;SetTransform( finalTransform );</P>
<P>filter-&gt;Update();</P>
<P><FONT color=#008000>// Get the Smart Pointer to the Filter Output </P></FONT>
<P>MeshType::Pointer outputMesh = filter-&gt;GetOutput();</P></DIV></div><br>

<hr size=1><a href="http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com">Bored stiff?</a> Loosen up...<br><a href="http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com">Download and play hundreds of games for free</a> on Yahoo! Games.</body></html>