[ITK] [ITK-users] IOSTL module does not register the factory
Matt McCormick
matt.mccormick at kitware.com
Wed Nov 4 16:31:57 EST 2015
Hi Thomas,
Automatic factory registration is not yet supported for the the MeshIO
implementations like it is for ImageIO TransformIO. Contributions are
welcome! [1]
But, there should be no issues with using
itk::STLMeshIOFactory::RegisterOneFactory().
HTH,
Matt
[1] http://www.itk.org/Wiki/ITK/Git
On Wed, Nov 4, 2015 at 7:54 AM, Fitze Thomas (fitz) <fitz at zhaw.ch> wrote:
> Hi all,
>
> I built ITK 4.8.1 with the external IOSTL module and am trying to use it in
> my CMake project like this:
>
> find_package(ITK REQUIRED IOSTL)
> include(${ITK_USE_FILE})
>
> But that does not seem to correctly register the STLMeshIOFactory yielding a
> a "Could not create IO object for file test.stl” error when trying to load a
> stl. When i register the factory manually:
>
> itk::STLMeshIOFactory::RegisterOneFactory();
>
> it works as expected. But of course, that messes up all the other factories
> registered by CMake.
>
> Whats going on here and how do i fix it?
>
> Best,
> Thomas
>
> _____________________________________
> 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://www.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-users
>
_____________________________________
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://www.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-users
More information about the Community
mailing list