Hi,<br>
<br>
Being able to display two volumes superimposed over each other is
valuable in medical imaging. I've been trying to display 2 volumes in
SimpleRayCast.tcl. What I tried to do was define 2 functions for:<br>
vtkVolume volume<br>
volume SetMapper volumeMapper<br>
volume SetMapper volumeMapper2<br>
volume SetProperty volumeProperty<br>
<br>
The problem is that only one volume is displayed, the 2nd one assigned. I
did the obvious setup of the 2 volume mappers with a reader for each
one:<br>
vtkVolumeRayCastMapper volumeMapper <br>
volumeMapper SetVolumeRayCastFunction compositeFunction<br>
volumeMapper SetInputConnection [reader GetOutputPort]<br>
vtkVolumeRayCastMapper volumeMapper2 <br>
volumeMapper2 SetVolumeRayCastFunction compositeFunction<br>
volumeMapper2 SetInputConnection [reader2 GetOutputPort]<br>
<br>
I wonder if there is another way to go about this problem. Any advice would be appreciated.<br>
<br>
Many thanks,<br>
Bill<br>
<br>