<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:rgb(51, 51, 51);background-color:rgb(255, 255, 255);width:100%;'><tr><td valign='top' style='font: inherit;'>Hi I want to used DeformableMesh3dFilter to access normals at all the vertices in the mesh that is pass as input.<br>I have pasted my code snipet here. Could you please suggest me how do I access the data "BoneNormals" is ponting to?<br><br><br><br>typedef itk::DeformableMesh3DFilter<OutputMeshType,OutputMeshType> DeformableFilterType;<br>DeformableFilterType::Pointer deformableModelFilter = DeformableFilterType::New();<br>deformableModelFilter->SetInput( BinaryMask->GetOutput() );<br>InputMeshType::Pointer BoneNormals = InputMeshType::New();<br>BoneNormals = deformableModelFilter->GetNormals();<br><br>I also created itkcovariantvector type thinking that the normals will be of that data type. <br>I was not able to user
the ConstIterator function in that to access information that pointer is pointing to.<br><br>The code segment for that is as follows<br>typedef itk::CovariantVector< double, 3 > double3DVectorType;<br>typedef const double3DVectorType* itk::CovariantVector< double, 3 >ConstIterator;<br>ConstIterator Begin();<br><br>could anyone suggest me how do I access the info i am looking for and how do I write the info in ply or txt format.<br><br>Thanks <br><br>Hrishi<br></td></tr></table><br>