[vtkusers] ensight Reader

Benjamin Schindler bschindler at student.ethz.ch
Wed Oct 22 11:30:23 EDT 2008


Hi

Thanks, this did help. What I'm still confused about is how to extract
the data. The file I'm reading has 12 variables of various type. What I
want to do is extract one of these and do something with it. 
My problem is, that the filereader has only one output port, and the
output (which is a MultiBlockDataSet) has only one block. 
So how do I extract these parts?

Thanks
Benjamin Schindler

On Tue, 2008-10-21 at 14:29 +0200, Jean Favre wrote:
> Benjamin Schindler wrote:
> > Hi
> >
> > I'm trying to read simulation data in ensigh format and I did the following code: 
> >
> > 	filereader = vtkGenericEnSightReader::New(); [snip]
> >
> > I figured, that these values are filled by RequestData, but I don't know what's the proper way to call RequestData... 
> >   
> The well-documented method of asking a class to execute is to call
> UpdateInformation() and Update(), i.e.
> 
> filereader->UpdateInformation();
> 
> // here you can change default setting, for example to turn ON or OFF
> // the reading of some variables
> 
> filereader->Update(); // executes the full reading code
> 
> --
> Jean
> Swiss National Supercomputing Center 
> 
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list