Currently stock ParaView cannot show vtkGraph directly.

Utkarsh

On Mon, Mar 29, 2010 at 1:51 PM, David Doria <[email protected]> wrote:
> I have some filters that make graphs on point clouds. They currently derive
> from vtkGraphAlgorithm and then in FillInputPortInformation they accept a
> vtkDataSet instead of a vtkGraph. The output remains a vtkGraph. To
> visualize these things in Paraview, I have been using vtkGraphToPolyData to
> convert the graph to a polydata data which can be written to a vtp file.
> My question is: if I want to make a plugin for these graph-on-point-set
> creation filters, should I make a wrapper class that derives from
> vtkPolyDataAlgorithm and simply calls my class (which produces a vtkGraph)
> followed by a call to vtkGraphToPolyData? Or is there a way that Paraview
> can handle a vtkGraph output object directly?
>
> Thanks,
>
> David
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to