Thank you very much for your reply, Seb. I have been reading lots of exemple in the .xml files before I ask you this question : For input, we have command="SetInputArrayToProcess" to know that there is a function (if i'm right) which is linked with the input. But for the output, there isn't any information like that. So, I wonder if the output as information_only="1" is the return value of an vtkGetMacro? And if the return value of my function is not an attribute of my class, is there any way to see this return value?
----- Original Message ----- From: Sebastien Jourdain <[email protected]> To: Tuan Ha Tran <[email protected]> Cc: [email protected], [email protected] Sent: Tue, 05 Jun 2012 21:26:37 +0200 (CEST) Subject: Re: [Paraview] Setter and getter for ParaView Plugin You just have to use the attribute information_only="1" For more details, you can look at the one that are defined inside ParaView itself in SRC/ParaViewCode/ServerImplementation/Resources/*.xml Seb On Tue, Jun 5, 2012 at 3:21 PM, Tuan Ha Tran wrote: > Hi everyone, > I want to ask you a question about setter and getter of ParaView Plugin. > As input, we can use the xml file to link them, using >, , etc. > So, for the outputs, how can we write the xml file? > For exemple, I have a function with "double" as return value. And I want > to show this value in ParaView, as well as extract it in Python Shell and > JavaScript Terminal (ParaViewWeb). > Thank you very much in advance. > > > > > _______________________________________________ > 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
