Fix to vtkVolumeTextureMapper3D progress events

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Fix to vtkVolumeTextureMapper3D progress events

Matt Hilleman
Fix to vtkVolumeTextureMapper3D progress events

This is for VTK 5.0 and the CVS version

Uncomment all the code, in vtkVolumeTextureMapper3D.cxx, referring to:


Around line 633 change it to the following:

if ( z%8 == 7 )
  double args[1];
  args[0] =
    static_cast<double>(z - z_start) /
    static_cast<double>(z_limit - z_start - 1);
  me->InvokeEvent( vtkCommand::VolumeMapperComputeGradientsProgressEvent, args );

        Have fun, Matt

Matt Hilleman
Vice President of Development
Ortho Computer Systems, Inc.
1107 Buckeye Ave.
Ames, IA 50010
[hidden email]

This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
Follow this link to subscribe/unsubscribe: