[vtkusers] Genretainr Streamlines from a plane
Marcel Weiss
mweiss at cbs.mpg.de
Mon Jul 6 10:09:36 EDT 2009
sound as if vtkPlaneSource is exactly what you are looking for.
use SetResolution(...) to specify the reslution along the axis.
the source object will then create a vtkPolyData object which can be used as a source for the streamlining ...
Marcel Weiss
PhD student
Department of Neurophysics
Max Planck Institute for Human Cognitive and Brain Sciences
----- Original Message -----
From: "Shailender Kanwar" <shailender.kanwar at gmail.com>
To: vtkusers at vtk.org
Sent: Monday, July 6, 2009 2:03:12 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: [vtkusers] Genretainr Streamlines from a plane
Hi all,
I am trying to generate streamlines from a 2-D plane using vtkStreamLines.
I want to be able to specify the no. of lines along either axis.
I couldnt find any class in vtk documentation that would serve the purpose,
the vtkPlane Source generates number of smaller planes form the given plane
while vtkPointSource generates the points randomly in a spherical region about a center
Is there any class in VTK which can generate points on a plane or do i need to implement the functionality using my code.
Shailender Kanwar
Research Engineer
Fluidyn Software and Consultancy Ltd.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK 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