<div dir="ltr"><div><div><div><div><div><div>Dear all,<br><br></div>I am using the function vtkDijkstraGraphGeodesicPath to find shortest path between two vertices on one mesh. At first I don't turn on the switch UseScalarWeights. Then by calling the function SetUseScalarWeights, I can turn on the switch. The resultant shortest path is different. I have two questions about how to use the weights. I search over the internet about related materials, how fail to find any helpful information.<br>
</div>1. If I call the function SetUseScalarWeights, I don't know how the weights are calculated. When the weights are calculated, the value of the weight depends on input argument. <br></div>2. If I hope to write one function to calculate my own weights, what should I do?<br>
<br></div>Thanks in advance.<br></div>Regards<br></div>Jogging Song<br></div>