[vtkusers] Multi threading

Xiaopeng Yang yxp233 at postech.ac.kr
Sat Sep 24 19:13:57 EDT 2011


I am also interested in this topic.

 

From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of Juan Carlos Prieto
Sent: Friday, September 23, 2011 11:08 PM
To: Jérôme
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Multi threading

 

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  <mailto:prieto at creatis.insa-lyon.fr>
<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/20110925/1b4ca8b7/attachment.htm>


More information about the vtkusers mailing list