Hello,

I want to connect my RenderWindow4 to the QmitkSliderLevelWindowWidget(for 
thresholding the grayvalues) on the right side of the main widget. In the 
RenderWindow4, I had to remove the renderer which shows the data with the 3 
planes. Then I created a new renderer and added a volume to this. Within the 
RenderWindow4 now the 3 planes are absent. You can only see the data and there 
is no connection to the Slider on the right side. So how can I connect it to 
the slider.

//Pointer on an vtkVolumeProperty object. Needed to set the transferfunction
vtkVolumeProperty *volumeProperty = vtkVolumeProperty::New();
//Set the transferfunction in the vtkVolumeProperty object
volumeProperty->SetScalarOpacity(opacity);
//Set the vtkVolumeProperty object as property in the vtkVolume object
vol->SetProperty(volumeProperty);
//Add the vtkVolume to the renderer
renderer->AddVolume(vol);

Thanks for all responses
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to