There are two main layers that deal with moving values from Qt components to 
the underlying VTK objects.  The first layer is the server manager layer, which 
is controlled through the proxies that Dave mentions below.  The server manager 
layer is documented in Chapter 18 of The ParaView Guide.

There are different mechanisms for going from Qt components to server manager 
proxies.  Most of the GUI components under the Object Inspector/Properties tab 
are managed by the pqPropertyManager class.  This class records changes in Qt 
GUI components, pushes the changes to the server manager when apply is hit, and 
creates entries for the undo/redo stack.  The pqPropertyManager class is 
usually set up by methods in the pqNamedWidgets class.  These methods will 
attach QWidgets to server manager properties with the same name.  It can also 
automatically create Qt Widgets based on the properties in a server manager 
proxy.

-Ken


On 3/11/09 6:45 AM, "David E DeMarle" <[email protected]> wrote:

vtk objects are all controlled through vtkSMProxies. This indirection
allows the client application to control vtk objects that exist in
remote (often parallel) processes as easily as it controls vtk objects
that exist within the same process.

The QT client application controls vtkSMProxies with the help of
pqProxy class. This class helps with vtk event to qt signal slot
translation.

There is more to the story than just the above. Perhaps Utkarsh, Berk
or some of the developers from ETI will add more detail.

On Wed, Mar 11, 2009 at 12:04 AM, #CHENG ZHIGAO# <[email protected]> wrote:
>
> Dear developers,
>
>       I am sorry to trouble you.     I am currently involved in a project
> which needs to use paraview or even add some my own stuffs.  As a beginner,
> i wish i could understand how the paraview works after starting up.  How the
> QT part initialized and set up, especially the parts involved with VTK and
> QT.  For example, if i create a sphere and do some subsequent filt
> operation, how does the QT part interact with the VTK parts?  And how do
> they keep synchronized with each other?    I do wish i can get the answer
> from you people since it is really hard to find the answer somewhere else.
>
>       Thanks very much and i really appreciate if any help provided.
>
> Best Regards,
> zhigao
>
>
> _______________________________________________
> 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
>
>



--
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
_______________________________________________
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




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

_______________________________________________
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

Reply via email to