<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 Dear ITK users;</FONT></P>
<P><FONT size=3><EM> </EM>i have<EM> mesh</EM> variable which is generated from a stl polydata . First I read 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->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 finalparameters to the mesh</FONT></P></FONT></FONT>
<P> </P>
<P><FONT color=#000000>TransformType::Pointer finalTransform = TransformType::New();</FONT></P>
<P><FONT color=#000000>finalTransform->SetParameters( finalParameters );</FONT></P>
<P>//Translation implementation</P>
<P><FONT color=#0000ff>typedef</FONT> itk::TransformMeshFilter<MeshType, MeshType, </P>
<P>TransformType > FilterType;</P>
<P>FilterType::Pointer filter = FilterType::New();</P>
<P><FONT color=#008000>// Connect the inputs</P></FONT>
<P>filter->SetInput( mesh ); </P>
<P>filter->SetTransform( finalTransform );</P>
<P>filter->Update();</P>
<P><FONT color=#008000>// Get the Smart Pointer to the Filter Output </P></FONT>
<P>MeshType::Pointer outputMesh = filter->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>