[vtkusers] MultiThreading in vtkFixedPointVolumeRayCastMapper is currently OFF on the CVS version

Antoine Rosset rossetantoine at bluewin.ch
Tue Dec 13 10:04:07 EST 2005


Line 1210:

void vtkFixedPointVolumeRayCastMapper::RenderSubVolume()
{
   // Set the number of threads to use for ray casting,
   // then set the execution method and do it.
   this->Threader->SetNumberOfThreads( this->NumberOfThreads );
   this->Threader->SetNumberOfThreads( 1 );
   this->Threader->SetSingleMethod 
( FixedPointVolumeRayCastMapper_CastRays,
                                    (void *)this);
   this->Threader->SingleMethodExecute();
}

to activate it, remove:

  this->Threader->SetNumberOfThreads( 1 );


Sincerely,

Antoine Rosset

<> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <><> <>
<> OSIRIX: Next Generation DICOM Viewer
<> http://homepage.mac.com/rossetantoine/osirix
<>
<> Antoine ROSSET, M.D. (RossetAntoine at bluewin.ch)
<> Blog : http://rossetantoine.blogspot.com/
<> Geneva University Hospital - Radiology Department
<> 20 Micheli-Du-Crest, CH-1205 Geneva
<> Switzerland, Europe
<> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <><> <>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051213/40a5b239/attachment.htm>


More information about the vtkusers mailing list