Hello,
I want to change the sample distance of my 3d visualisation. The source is a
mitk Image and the 3d is in vtk. I used a vtkVolumeRayCastMapper object but
nothing happened.
The code:
vtkVolumeRayCastMapper *volumeMapper = vtkVolumeRayCastMapper::New();
mitk::Image::Pointer img = dynamic_cast<mitk::Image*>( node->GetData() );
volumeMapper->SetInput(img->GetVtkImageData());
volumeMapper->SetSampleDistance(50.0);
mitk::RenderingManager::GetInstance()->RequestUpdateAll();
Thanks for the responses
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-------------------------------------------------------------------------
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