[vtkusers] Fix to vtkVolumeTextureMapper3D progress events
Matt Hilleman
mchill at orthoii.com
Thu Feb 2 11:21:53 EST 2006
This is for VTK 5.0 and the CVS version
Uncomment all the code, in vtkVolumeTextureMapper3D.cxx, referring to:
VolumeMapperComputeGradientsStartEvent
VolumeMapperComputeGradientsProgressEvent
VolumeMapperComputeGradientsEndEvent
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
515-233-1026
mailto:mchill at orthoii.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060202/820d5202/attachment.htm>
More information about the vtkusers
mailing list