[vtk-developers] BUG: vtkImageActor - set of ComputedDisplayExtent variable.

David Cole david.cole at kitware.com
Wed Jul 14 09:18:37 EDT 2010


This sort of error looks like it should produce some sort of seriously
incorrect results.

Do we not have a test that covers this code? Is the coverage for the lines
in question "0" or do we just not have a *good* test that runs through that
code...?

I would think vtkImageActor is a heavily used class.


?


On Wed, Jul 14, 2010 at 8:51 AM, Dave Partyka <dave.partyka at kitware.com>wrote:

> Thanks for the fix! I have just committed it.
>
> On Wed, Jul 14, 2010 at 4:19 AM, Pokutnev, Pavel (GE EntSol, SensInsp) <
> Pavel.Pokutnev at ge.com> wrote:
>
>>  Hello vtk-devs,
>>
>> it looks like there is a copy & paste bug in vtkImageActor line 250 and
>> 293:
>>
>> The line:
>>   this->ComputedDisplayExtent[5] = wExtent[4];
>> should be:
>>   this->ComputedDisplayExtent[5] = wExtent[5];
>>
>> Best regards!
>>
>>
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100714/322b5f4c/attachment.html>


More information about the vtk-developers mailing list