[Paraview] Reader plugin for isogeometric analysis

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Feb 16 10:02:16 EST 2015


> Anything we can do for using structured grids being able to
> shown discontinuities in the point data?

Not as far as I know.

> We would like to read a single input file and to output multiple grids, but
> the number of outputs only can be known at run-time (one the input file is
> parsed). I've reading for while the mailing list and it seems to be
> impossible. Any clue apart from multi-piece and multi-block solutions?

That's correct. A reader/filter can't change the number of output
ports at run-time based on the input file. You can change your filter
to produce a vtkMultiBlockDataSet and each of the grids can be put out
as a block in that multiblock dataset. There's really not much more to
it. Look at vtkMultiBlockDataset API or vtkMultiBlockDataSetAlgorithm
(and subclasses) for examples.

> There are certain options that the user can set (e.g. the resolution of the
> tessellation of the grid). These options must be set in the properties
> panel. We would like to set these options independently for each one of the
> grids to be created. So, the properties menu would change depending on the
> number of outputs known at run-time. Is possible to do such kind of thing?
> This also would be necessary in the case we use multi-piece/block outputs:
> the options of each piece/block should be setup separately.

In theory, yes. It will entail custom code, however. For starters,
start will using same settings for all. Once you have that working, I
can point you to possibilities based on the XML you produce for
"shared" options.

Utkarsh


More information about the ParaView mailing list