[vtkusers] Help for using of cone source

Hal Canary hal at cs.unc.edu
Wed May 9 09:30:53 EDT 2012


On 05/09/2012 09:12 AM, Rong Xu wrote:
> In my project, I construct a physical phantom composing of 12 plastic
> cones. I used a 3D ultrasound probe to scan this phantom and got its 3D
> ultrasound image. In order to find each tip of 12 cones in 3D ultrasound
> image, I want to construct a VTK model of 12 cones by vtkConeSource, and
> I can arrange 12 cones on different positions by different vtkActor for
> each cone, but I don't know which source or data type to save these 12
> cones as one object. Because I want to use these 12 cones as one object
> to register extracted surface of 12 cones in 3D ultrasound image. Do
> anyone have ideas about combining 12 vtkConeSource as one object ?


I'm not sure exactly what you want to do, but can you apply a 
vtkTransform to each cone to move it into place, then use the 
vtkAppendPolyData filter to join them all together?


-- 
Hal Canary
http://cs.unc.edu/~hal/



More information about the vtkusers mailing list