extract outline from unstructured grid

Uwe Kroiss uwe_kroiss at yahoo.com
Wed Aug 25 08:19:13 EDT 1999


Thanks for your reply, Victor!

I tried this before, but what I got was not what I
wanted (I don't want the bounding-box, 
I want the exact edges of that object).



--- Victor ALDEA <valdea at mrco2.carleton.ca> schrieb:
> At 12:58 AM 8/25/99 -0700, Uwe Kroiss wrote:
> >Hi VTK-users!
> >
> >I need to extract the outline (edges) of an 
> >unstructured grid (mesh of tetrahedrons). 
> >Is there an easy way of doing that?
> 
> Try this:
> 
>     #OutlineFilter
>     vtkUnstructuredGridReader reader$filename
>         reader$filename SetFileName $filename
>     vtkOutlineFilter outline$filename  
>        outline$filename SetInput [reader$filename
> GetOutput]
>     vtkPolyDataMapper outlineMapper$filename  
>        outlineMapper$filename SetInput
> [outline$filename GetOutput]
>     vtkActor outlineActor$filename  
>        outlineActor$filename SetMapper
> outlineMapper$filename
>        [outlineActor$filename GetProperty] SetColor
> 1 1 1
> -----------------------
> 
> 	Victor
> 
> >
> >
> >TIA 
> >
> >
> >===
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Bid and sell for free at http://auctions.yahoo.com
> >
> >
> >
>
>-----------------------------------------------------------------------------
> >This is the private VTK discussion list.  Please
> keep messages on-topic.
> >Check the FAQ at:
> <http://www.automatrix.com/cgi-bin/vtkfaq>
> >To UNSUBSCRIBE, send message body containing
> "unsubscribe vtkusers" to
> ><majordomo at gsao.med.ge.com>.  For help, send
> message body containing
> >"info vtkusers" to the same address.     Live long
> and prosper.
>
>-----------------------------------------------------------------------------
> >
> >
> >
> -----------------
> Victor ALDEA
> 

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list