[Insight-users] to sort a PointSet

Julien Osman julien.osman at stage.cnes.fr
Mon Mar 17 11:09:45 EDT 2008


Hi Insight users :)

I am working on a PointSet which contains a PointsContainer and a 
PointDataContainer (so, it is a normal PointSet). And I would like to 
sort the points by their value in the PointDataContainer, and then use 
the index (which are in the PointsContainer) in this new order.
I first thought to use the 'sort' function from the STL, but the 
containers of ITK are not really compatible.
Is there any way to sort a PointSet ?

Thanks.
Julien :)


More information about the Insight-users mailing list