[vtkusers] what kind input data does vtkstreamline need?

Amy Squillacote amy.squillacote at kitware.com
Tue May 17 11:59:23 EDT 2005


Hi Zhao,

The output type of vtkMarchingCubes is vtkPolyData, which is not generally 
used in generating stream lines.  Try generating streamlines from the data 
you use as the input to marching cubes.

- Amy

At 11:42 AM 5/17/2005, Zhao Yongqiang wrote:
>Will,
>
>Thank you for your reply. I check the mailing list and the document of 
>VTK, but i can not find how to associate the isosurface data with the 
>vector field. So, my question is :
>How to build vector field to represent blood flow and how to associate?
>Can I build the field from the isosurface data? and can I use the 
>isosurface data as source object of vtkStreamline?
>
>Zhao Yongqiang
>2005.5.17
>
>Will Schroeder wrote:
>
>>Zhao-
>>
>>Streamlines need a vector field (which in your case should be a 
>>representation of blood flow). That is, the volume that you isocontoured 
>>should have vectors associated with it, and should be the input to the 
>>streamline filter. Then of course you'll want to specify a starting point 
>>or points for the streamline.
>>
>>Will
>>
>>At 11:05 AM 5/16/2005, Zhao Yongqiang wrote:
>>
>>>Hi all,
>>>       After i get the segmented data, i use marching cube to visualize 
>>> the blood vessel. Then,  I want to use vtkstreamline to simulate blood 
>>> flow. But when i use the output of the marching cube as the input of 
>>> vtkstreamline , it said that "No vector data defined!".
>>>      Can someone tell me the reason? and how to solve it?
>>>      Thanks in advance!
>>>
>>>
>>>Zhao Yongqiang
>>>2005.5.16
>>>_______________________________________________
>>>This is the private VTK discussion list. Please keep messages on-topic. 
>>>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>>Follow this link to subscribe/unsubscribe:
>>>http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>>
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic. 
>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list