[prev in list] [next in list] [prev in thread] [next in thread] 

List:       paraview
Subject:    Re: [Paraview] interactive operation by script
From:       Koichiro Suzuki <suz () mito ! ssd ! ssg ! fujitsu ! com>
Date:       2004-06-07 11:19:49
Message-ID: 20040607192430.70E2.SUZ () mito ! ssd ! ssg ! fujitsu ! com
[Download RAW message or body]

>  I am looking for the way to operate Paraview by script interactively.
> 
>  Paraview has a batch option, but it's not interactive.
>  If the "interactive operation by script" is realized , for example,
> we can operate Paraview from CGI(web).
> 
>  If there were good ideas, please tell me..

 I found an idea.

 Paraview (--batch) reads a .pvb file and evaluate it's all lines by
Tcl_EvalFile().
 (GUI/Client/vtkPVApplication.cxx line 1436, GUI/Widgets/vtkKWApplication.cxx line 1321)

 Apply following process instead of this and interactive operation is
realized.
  1) reads a script from stdin.
  2) evaluate the script by Tcl_Eval().
     (call Tcl_Eval() every reading a special line for example "###".)

 Thanks all.

--
Koichiro Suzuki
suz@mito.ssd.ssg.fujitsu.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic