[vtk-developers] [vtkusers] Getd in vtkDijkstraGraphGeodesicPath

Karthik Krishnan karthik.krishnan at kitware.com
Sun Apr 26 05:40:04 EDT 2009


Fixed in CVS.

/cvsroot/VTK/VTK/Graphics/vtkDijkstraGraphGeodesicPath.cxx,v  <--
vtkDijkstraGraphGeodesicPath.cxx
new revision: 1.14; previous revision: 1.13
/cvsroot/VTK/VTK/Graphics/vtkDijkstraGraphGeodesicPath.h,v  <--
vtkDijkstraGraphGeodesicPath.h
new revision: 1.8; previous revision: 1.7


Thanks
--
karthik

On Wed, Apr 22, 2009 at 10:24 AM, Tangui Morvan <tangui at simula.no> wrote:

> Yes i would like it exposed if possible (and i guess it might be useful to
> others as well to be able to get the geodesic distance). Here is a patch
> adding a function to get the cumulative weights.
>
> Thank you.
>
> Tangui.
>
> Karthik Krishnan wrote:
>
>> Tangui:
>>
>> We apologize for this. The class vtkDijkstraGraphGeodesic path was cleaned
>> up. As part of the cleanups, the class was PIMPL'd and the cumulative
>> weights you refer to has moved into vtkDijkstraGraphInternals.h .
>>
>> It now has the more intuitive name of CumulativeWeights instead of "d" :)
>>
>> The bad news is that this ivar is not exposed. However its a trivial to
>> expose it if desired.
>>
>> Do you need it exposed ? If so, would you like to submit a patch ?
>>
>> Thanks
>> --
>> karthik
>>
>> On Tue, Apr 21, 2009 at 7:12 AM, Tangui Morvan <tangui at simula.no <mailto:
>> tangui at simula.no>> wrote:
>>
>>    Hello,
>>
>>    I recently upgraded from vtk 5.2 to 5.4 and I noticed that the
>>    Getd() method to get the cumulative weights in
>>    vtkDijkstraGraphGeodesicPath has disappeared.
>>
>>    I used this method to get the geodesic distance at all vertices of
>>    the graph, how can I get information now?
>>
>>    Thank you,
>>
>>    Tangui.
>>    _______________________________________________
>>    Powered by www.kitware.com <http://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
>>
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090426/2a6a096a/attachment.html>


More information about the vtk-developers mailing list