[ITK] [ITK-dev] use ThreadedIteratorRangePartitioner with itk Container ?

Arnaud Gelas arnaudgelas at gmail.com
Fri Aug 14 05:30:07 EDT 2015


Hi Matt,

I would like to use itk::ThreadedIteratorRangePartitioner with
itk::Mesh::PointsContainer or itk::Mesh::CellsContainer (i.e.
itk::VectorContainer or itk::MapContainer).

At first, I am trying to add one test which basically duplicates
itkThreadedIteratorRangePartitionerTest for the case of
itk::VectorContainer, you can find a patch here:

     http://review.source.kitware.com/#/c/20079/

I have compilation errors, due to the fact that internally
itk::ThreadedIteratorRangePartitioner uses std::distance and std::advance
which requires some typedefs which are not available for
itk::VectorContainer iterators...

Should I keep on working in that direction? I mean to try to fix these
classes for itk container's iterator (adapt it for these cases)? Make
specialization?

Thanks,
Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150814/fff97be5/attachment.html>
-------------- next part --------------
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers


More information about the Community mailing list