[Paraview] Writing a reader with some properties that depend on other ones.

Wiktor Moskwa wiko_m at poczta.onet.pl
Mon Jul 18 07:36:26 EDT 2005


Hello,

I am going to write a reader for ParaView but before I start
I have to solve a following problem.

Data in my file is organized in a following tree structure:

frame sets
|
+ - frames
     |
     + - cell/point data

User has to select a frame set then a frame and at last
arrays of cell and point data.
For example number of frames is unknown before a frame set
is chosen and whenever a different frame is chosen, available
data arrays may change too.

The problem is that I don't know how to organize widgets in a way
they get updated according to user's choices.

Of course in a single call to RequestInformation of VTK object,
all information cannot be obtained.

I tried to achieve something by playing with RequiredProperty tag
but I wasn't successful. I couldn't find a solution in
VTK/ParaView books.


I'd appreciate any suggestions.
Thanks in advance.

Wiktor


More information about the ParaView mailing list