[vtkusers] Creating a polydata of edges (lines) from a vtkGraph
David Doria
daviddoria+vtk at gmail.com
Wed Nov 11 14:20:28 EST 2009
Ah, my mistake. Thanks Jeff. I have made an example here:
http://www.vtk.org/Wiki/Convert_a_graph_to_a_PolyData
for anyone else interested.
Thanks,
David
On Wed, Nov 11, 2009 at 2:07 PM, Jeff Baumes <jeff.baumes at kitware.com> wrote:
>> vtkGraphLayout (0x8d92f68): Layout strategy must be non-null.
>>
>> That's why I tried to use a LayoutStrategy. I don't see any flags to
>> NOT use a layout strategy - how would you do this?
>>
>
> You can avoid using the vtkGraphLayout algorithm entirely, as I said in my
> last response, since you are setting the points manually.
> Jeff
More information about the vtkusers
mailing list