[vtkusers] About viewers

David Macias Verde david.maciasverde at gobiernodecanarias.org
Fri Jun 27 14:39:48 EDT 2003


Hi:

If I use four viewers in the same application showing a set of CAT 
images, for example:

- one image in the main viewer which is bigger.
- three more slices in the rest which are smaller.

Do I have to put in every viewer the hole data set of the reader?

main_viewer->SetInput(reader->GetOutput();
1_viewer->SetInput(reader->GetOutput();
2_viewer->SetInput(reader->GetOutput();
3_viewer->SetInput(reader->GetOutput();

This will run too slow, because I have all the data multiplied by four 
in memory.

Is it possible to read it once and then pass the slice of interest to 
every viewer?

Thanks,

David MV
Canary Islands - Spain




More information about the vtkusers mailing list