[vtkusers] Rookie 3d advice/opinion

David Pont david_pont at hotmail.com
Sun Feb 3 23:30:24 EST 2002


I have handled this sort of thing using vtkTubeFilter and it works very 
well. In my case I represented my data as vtkPolyData, of type polyline, 
with diameters as the scalar values. So the only work left to do is to 
figure out how to create a set of polylines from your set of points. In the 
most simple approach you could just connect each pair of consecutive points 
with a single line. This is inefficient but should be very easy to do.

  good luck
      Dave Pont

>From: anast.jm at pg.com
>To: vtkusers at public.kitware.com
>Subject: Re: [vtkusers] Rookie 3d advice/opinion
>Date: Thu, 31 Jan 2002 13:54:03 -0500
>
>
>Alex, since you have a diameter at each point perhaps you could plot a 
>sphere
>glyph at each point, the size of the glyph determined by the diameter. This
>would kind of "splat" your tree in 3D if the points are close enought 
>together.
>If you know the normal of the diameter at each point, I image you could 
>generate
>the branch diameter circumference points and surface render those points 
>using
>vtkSurfaceReconstructionFilter. Also, I seem to remembered seeing a nifty
>example in the vtk book where a streamtube was used and the diameter of the 
>tube
>was varied by some other scalar (diameter in this case), perhaps theres a 
>way to
>do the viz using streamtubes???  ...john
>
>
>
>  Internet Mail Message
>  Received from host:      public.kitware.com
>  [208.136.18.25]
>
>
>
>From: "Alex Lear" <alex_lear at hotmail.com>@public.kitware.com on 01/30/2002 
>01:48
>PM MST
>
>         "Alex Lear" <alex_lear at hotmail.com>           To:   
>vtkusers at public.kitware.com
>                         @public.kitware.com           Cc:    (bcc: John 
>Anast-JM/PGI)
>                                               Subject:      [vtkusers] 
>Rookie 3d advice/opinion
>
>                                    Sent by:
>           vtkusers-admin at public.kitware.com
>                         01/30/2002 03:48 PM
>
>
>
>
>
>
>
>
>
>
>I am new to vtk and not aware of eveything that is possible so I thought I 
>would
>ask for a little help.
>
>I have data that represents a tree branch type structure.  Each data point
>represents the position (x,y,z) and the diameter of the branch for that 
>small
>section.  There is roughly a thousand data points that completely describes 
>the
>whole tree structure.  There is also data that describes which points are
>branching points where two limbs branch off.  I am trying to draw this as a 
>3d
>rendering but I am not sure what is the best way to do it.  Since it is 
>just
>individual data points, I am not sure what to use to create a 3d volume 
>that
>shows each individual sections diameter.  Any input is GREATLY appreciated.
>Once again, I am a rookie so basic information could be just what I need.
>Thanks in advance!!
>
>
>
>Alex
>
>alex_lear at hotmail.com
>
>
>Join the world's largest e-mail service with MSN Hotmail. Click Here
>
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




More information about the vtkusers mailing list