[Paraview] Empty Object Properties - Custom Reader Plugin

Xunlei Wu xunlei at renci.org
Fri Mar 25 06:59:26 EDT 2011


Hi Karl,
Exactly as you said!
Where should I look? Thanks a lot.

Best,
xunlei

-----Original Message-----
From: kkoenig11 at web.de [mailto:kkoenig11 at web.de] 
Sent: Friday, March 25, 2011 6:54 AM
To: Xunlei Wu
Cc: paraview at paraview.org
Subject: Re: [Paraview] Empty Object Properties - Custom Reader Plugin

Xunlei,

There is no auto-generation of GUI elements for the properties tab of a reader. Your reader has to populate the tab.
Are you looking for something like "Cell/Point Array Status" to pop up in the properties tab? Like the VTU-XML Reader and many others offer?
Such that you can select the variables to actually import or ignore while loading, respectively?

Karl


Xunlei Wu wrote, On 25.03.2011 11:32:
> Hello,
> 
> I still cannot figure out why I had such problem. Would you please help?
> Thanks a lot.
> 
> Best,
> 
> xunlei
> 
>  
> 
> *From:*Xunlei Wu
> *Sent:* Monday, March 21, 2011 8:22 PM
> *To:* paraview at paraview.org
> *Subject:* Empty Object Properties - Custom Reader Plugin
> 
>  
> 
> Hello,
> 
> I am writing a reader plugin for ParaView following examples in
> 
> http://www.kitware.com/products/html/WritingAParaViewReaderPlug-in.htm
> l
> 
> However, after the file metadata is read by ::RequestInformation(), 
> there are no scalar attributes shown in "Object Inspector" -> 
> "Properties" illustrated in Empty_Object_Inspector_Properties.PNG. 
> After click "Apply", ::RequestData() gets all the attribute data and 
> displays the information in "Object Inspector" -> "Information" -> "Data Arrays"
> table as shown in Updated_Object_Inspector_Information.PNG. After the 
> data is read, "Properties" page is still empty. Would you please 
> suggest what I should do? Any functions that I should implement or 
> call in my reader class? Thanks a lot.
> 
>  
> 
> Best,
> 
> xunlei
> 
> 
> 
> _______________________________________________
> 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



More information about the ParaView mailing list