[vtkusers] ensight Reader

Jean Favre jfavre at cscs.ch
Tue Oct 21 08:29:57 EDT 2008


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 





More information about the vtkusers mailing list