Hi Nikhil,
 look at this tutorial:
http://www.vmtk.org/Tutorials/Centerlines/
for generating centerlines from a surface. Centerlines are the envelope of 
maximum inscribed spheres and carry the radius of the sphere at each point.
To extract the largest radius, just output the centerlines file with a .dat 
extension, which will essentially produce a CSV file with the radius as a last 
column. 
Or, in case you know how to use VTK, manipulate the vtkPolyData containing 
centerlines directly.
Best,

Luca


On Aug 7, 2013, at 6:09 PM, Nikhil Paliwal wrote:

> Hi,
> Is there a command in vmtk which will give me the radius and the center of 
> the largest possible sphere within my vessel(stl file)? It would be okay if 
> the sphere touches the vessel, but it should not go out of it.
> Thanks
> Nikhil
> 
> -- 
> Nikhil Paliwal
> PhD Candidate
> Department of Mechanical Engineering
> University at Buffalo
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead. 
> Download for free and get started troubleshooting in minutes. 
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to