[vtkusers] Re: Re: calculate normal of boundary
    Fabian Braennstroem 
    f.braennstroem at gmx.de
       
    Wed Oct 31 19:26:07 EDT 2007
    
    
  
Hi Pierre Barbier,
Pierre Barbier de Reuille wrote:
> Hello,
> 
> so reading the file is the easy part. For that, you want to use
> vtkImageReader2 (see documentation).
> As for the normal of the boundary, the first question is: how is defined
> this boundary?
> If this is defined as an iso-surface of some function, then you can use
> the vtkMarchingContourFilter object to find it and then vtkPolyDataNormals
> to get the normals of your surface it should work. If you get the mesh by
> any other means, you can still use vtkPolyDataNormals to get the normals
> to the mesh.
Thanks for your help! Maybe I forgot to explain, I read an ensight or vtk
formated data file, so there might be a chance to get the wanted face
directly... thanks!
Fabian 
    
    
More information about the vtkusers
mailing list