[Paraview] C++ Reader execution

Moreland, Kenneth kmorel at sandia.gov
Thu Feb 5 17:38:46 EST 2009


I don't know the answer to this question, but you may want to look at the code for the pqObjectInspectorWidget::accept() method.  This is the method that gets called when you hit the Apply button.

-Ken


On 2/5/09 2:49 PM, "Juan Fernando Duque Lombana" <jduquelo at eafit.edu.co> wrote:

Good day,

I'm a newbie in this big paraview world and I would like to know if there's a way to do the following:

I'm trying to load a VRML 2.0 file using the following command:


myVRML=builder->createReader(QString("sources"), QString("vrmlreader"),QStringList(temp), s);

Where temp contains the filename and s the pqServer.
The VRML is now shown in the pipeline browser BUT it is needed for me to press by hand the "Accept" button in the correspondant Object Inspector.

The question is: is there any way to call that button by code? I haven't found a way and its killing me.

Hope anyone can help me! It will be really appreciated,

... Juan Fernando Duque Lombana.



   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090205/666e66cf/attachment.htm>


More information about the ParaView mailing list