[vtkusers] Multi threading
Juan Carlos Prieto
prieto at creatis.insa-lyon.fr
Fri Sep 23 10:07:48 EDT 2011
Yes thank you
Le 23/09/2011 11:41, Jérôme a écrit :
> Hi,
>
> if you derive your image filters from vtkThreadedImageAlgorithm, you gain
> multithreading capabilities :
> http://www.vtk.org/doc/nightly/html/classvtkThreadedImageAlgorithm.html
>
> For custom multithreaded execution, there exists a dedicated VTK object:
> http://www.vtk.org/doc/nightly/html/classvtkMultiThreader.html
>
> I use it efficiently together with vtkMutexLock.
>
> HTH
> Jerome
>
>
>
>
> 2011/9/23 Juan Carlos Prieto<prieto at creatis.insa-lyon.fr>:
>> Hello all,
>>
>> I've been wondering if there exists a way to implement multi threaded
>> filters in VTK. As an example, there exists in ITK an interface
>> (itkImageSource) which allows to create multithreaded filters by
>> implementing some of its methods, they are called automatically during
>> execution of the pipeline.
>>
>> If this is not the case, how can this be done in a correct, "effortless"
>> way?
>>
>> Thank you very much,
>>
>> --
>> Juan Carlos Prieto
>> Phd Student
>> CREATIS Tel:+33472438918
>> 7 Av Jean Capelle
>> 69621 Villeurbanne Cedex
>> France
>> Personal page
>> _______________________________________________
>> Powered by 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
>>
>>
--
Juan Carlos Prieto
Phd Student
CREATIS <http://www.creatis.insa-lyon.fr> Tel:+33472438918
7 Av Jean Capelle
69621 Villeurbanne Cedex
France
Personal page <http://www.creatis.insa-lyon.fr/%7Eprieto>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110923/39b61d31/attachment.htm>
More information about the vtkusers
mailing list