[vtkusers] matrix output VERY hard to read

Jeff Baumes jeff.baumes at kitware.com
Tue Oct 13 09:34:32 EDT 2009


I agree that this would likely be a good change. Could you add a
little more clarity to this? What class(es)/method(s) are you
proposing to change?

Jeff

On Mon, Oct 12, 2009 at 11:37 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
>
> On Fri, Sep 18, 2009 at 1:42 PM, David Doria <daviddoria+vtk at gmail.com>
> wrote:
>>
>> I will often output a matrix that looks like this:
>>
>> 1 -4.12726e-10 3.91703e-10 5.2556e-12
>> 4.12726e-10 1 7.75407e-10 -7.62694e-10
>> -3.91703e-10 -7.75407e-10 1 7.57439e-10
>> 0 0 0 1
>>
>> Can you tell what it is?! It's a 4x4 identity matrix! Clearly there is
>> nothing that can be done about the floating point precision, but maybe a few
>> setw()'s can be added or something to clean this up so at least it appears
>> to have a 4x4 structure - and the widths of each column could be the same no
>> matter how many significant digits that entry contains.
>>
>> Is this feature request-worthy?
>>
>> Thanks,
>>
>> David
>
> Any comments on this?
>
> Thanks,
>
> David
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list