[Paraview] Using vtkFileSeriesReader with vtkSpyPlotReader

Robert Maynard robert.maynard at kitware.com
Fri Jun 3 12:27:10 EDT 2011


Hi,

The SpyPlotReader already handle file series. The file extension just need
to be a numeric value ie, spcth-a.0,spcth-a.1,spcth-a.2 while the name of
the file start with spct.

On Fri, Jun 3, 2011 at 12:11 PM, Andreyev, Andrey <AAndreyev at hpti.com>wrote:

>  Hi,
>
> I'm trying to read in a restarted CTH Data set using vtkSpyPlotReader with
> vtkFileSeriesReader. But I cannot figure out how to transfer the information
> from the meta file (*.spcth-timeseries) to the spyplot reader.
>
> a section of my code:
>
> vtkFileSeriesReader* restartReader=vtkFileSeriesReader::New();
> vtkSpyPlotReader* cthReader=vtkSpyPlotReader::New();
> vtkDummyController* controller=vtkDummyController::New();
> cthReader->SetGlobalController(controller);
>
> restartReader->UseMetaFileOn();
> restartReader->SetMetaFileName(filename.c_str());
>
> restartReader->SetReader(cthReader);
>
> But the spyplot reader doesn't have the information it needs; so it will
> not let me update the pipeline.
>
> Any suggestions? Thank you in advance.
>
> Andrey Andreyev
> Software Engineer
>
> _______________________________________________
> 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
>
>


-- 
Robert Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110603/025ed4d8/attachment.htm>


More information about the ParaView mailing list