[Insight-users] calculate normal
rashedk
rashed.vtk at googlemail.com
Wed Feb 20 06:05:40 EST 2008
Hi,
How do I convert my 3D image data to a simplex mesh in order to compute the
normals? Checking the class documentation for itk::SimplexMesh reveals that
one has to generate a triangle mesh and then use the
itkTriangleMeshToSimplexMeshFilter. But then how do I convert my 3D image
data to a triangle mesh?? Do I use vtkContour to produce polyData and then
convert it to itkMesh using appropriate filters?
Any help will be appreciated,
Thanks
Rashed
Luis Ibanez wrote:
>
> Hi Tony,
>
>
> Well.... if you only have a point, then there is no normal to compute.
>
> You probably are thinking of a point from a surface, where a point
> belongs to several faces and have other points as neighbors.
>
>
> In that case you may want to look at the itk::SimplexMesh
> http://www.itk.org/Insight/Doxygen/html/classitk_1_1SimplexMesh.html
>
> and its "ComputeNormal" method:
> http://www.itk.org/Insight/Doxygen/html/classitk_1_1SimplexMesh.html#itk_1_1SimplexMesha5
>
>
> Regards,
>
>
> Luis
>
>
> -------------------
> tony hakki wrote:
>> Is it possible to calculate normal of a point in ITK? If yes, Could you
>> tell which class should be used?
>> thank you
>>
>>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
--
View this message in context: http://www.nabble.com/calculate-normal-tp8505455p15586698.html
Sent from the ITK - Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list