[Paraview] Plugin for rendering vtkGraph in ParaView
Sebastien Jourdain
sebastien.jourdain at kitware.com
Tue May 21 10:37:43 EDT 2013
Here it is...
But remember, this is just a quick integration that need more works to
properly go into ParaView.
On Sat, May 18, 2013 at 1:22 AM, WangWentao <wwthunan at gmail.com> wrote:
>
> Hi, Seb
>
> It's very kind of you to share the code, which will make me understand
> Paraview much better.
>
> There is little information about cusomizing Paraview, so a workable
> example will be very useful.
>
> Thanks again.
>
>
> 在 2013-5-18,3:12,Sebastien Jourdain <sebastien.jourdain at kitware.com> 写道:
>
> Hi,
>
> We are currently working in bringing that VTK renderer + representation
> into ParaView. Although, that work won't be available inside ParaView soon
> as more effort need to be done toward a proper integration.
> Although, if you are willing to go further on that matter, I can share
> that piece of code that allow rendering within the python context of
> ParaView.
>
> Seb
>
>
>
> On Fri, May 17, 2013 at 12:09 PM, WangWentao <wwthunan at gmail.com> wrote:
>
>>
>>
>> Hi, all.
>>
>> I hope to render vtkGraph in ParaView, which is available in VTK. The
>> related classes are vtkGraphLayoutView, vtkRenderedGraphRepresentation.
>> There is also a source class: vtkRandomGraphSource.
>>
>> My plan is to realize a customized view for vtkGraph. As an experiment,
>> there are at least 3 things to to:
>> 1. a source for vtkGraph, which is the easiest part. Just load a xml file
>> wrapping vtkRandomGraphSource.
>> 2. a view. May be a subclass of vtkPVRenderView, with its RenderView
>> replaced by vtkGraphLayoutView. I have tried that, and the view shows in
>> MainWindow, but I don't know if it really works.
>> 3. a representation. vtkGraphLayoutView uses
>> vtkRenderedGraphRepresentation by default. But I don't know how to use this
>> representation class in ParaView, only find that every representation class
>> in Paraview is derived from vtkPVDataRepresentation.
>>
>> I am trying to write a custumized grapg view according to my plan. Before
>> everything is done, I have to figure out how view and representaion work in
>> Paraview.
>>
>> My questions are:
>> 1. Does my plan works? Is there any aspect I have ignored?
>> 2. How to use a vtk representation class in Paraview?
>> 3. What is the best way to visualize graph in Paraview?
>>
>> Any advices will be appreciated!
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130521/315ec7d9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph-integration.zip
Type: application/zip
Size: 24533 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130521/315ec7d9/attachment-0001.zip>
More information about the ParaView
mailing list