[vtkusers] Meaning of vtkAdjacencyMatrixToEdgeTable output

David Doria daviddoria+vtk at gmail.com
Tue Aug 31 13:10:53 EDT 2010


On Tue, Aug 31, 2010 at 12:18 PM, Benoist Laurent <benoist at ibpc.fr> wrote:

> Several assumptions:
>     - the initial value 0 of your table is not stored.
>     - the rows are given in inverse order of entry
>
> The first column is therefore the column index of your matrix.
> It results in
>
>
> 20  30  40
> 10  20  30
>     10  20
> --------------------
> 0   1   2    column index
>
>
>
> So the pair is (column_index, value).
> And the row index is given by the number of time you've ever seen the
> column index before (except for the 0 that increases the difficulty!).
>
> Am I wrong ? Am I clear ? Does it answer your question ?
>
> Benoist
>
>
Ah, I see it now, thank you.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100831/c45a494a/attachment.htm>


More information about the vtkusers mailing list