MantisBT - VTK
View Issue Details
0005366VTK(No Category)public2007-07-19 04:582014-10-02 11:00
xabi riobe 
Lisa Avila 
normalmajoralways
closedwon't fix 
 
 
0005366: vtkVolumeTextureMapper3D crashes if one volume dimension is 1
in method vtkVolumeTextureMapper3D::UpdateVolume,
the VolumeSpacing attribute can take a negative value (line 1149 in version 1.6):

this->VolumeSpacing[i] = (static_cast<double>(dim[i])-1.01)*(double)spacing[i] / static_cast<double>(this->VolumeDimensions[i]-1);

which causes a bad adress access in method vtkVolumeTextureMapper3DComputeScalars (line 217 in version 1.6):

inPtr = dataPtr + components * ( z*inputDimensions[0]*inputDimensions[1] + dy*inputDimensions[0] +
 x );

because z has value -1.
No tags attached.
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2012-03-07 03:41xabi riobeStatusexpired => backlog
2012-03-07 03:41xabi riobeResolutionopen => reopened
2014-10-02 11:00Berk GeveciNote Added: 0033456
2014-10-02 11:00Berk GeveciStatusbacklog => closed
2014-10-02 11:00Berk GeveciResolutionreopened => won't fix

Notes
(0033456)
Berk Geveci   
2014-10-02 11:00   
We are going to deprecate this class and introduce a new GPU mapper. So won't fix.