[Insight-users] Cone spatial object ?

Luis Ibanez luis.ibanez at kitware.com
Thu Apr 8 14:51:22 EDT 2010


Hi Somi,


Nope, there is no ConeSpatialObject.


However, you could easily create this new class by reusing the
code of the CylinderSpatialObject.

or

you could fake one by using the

                 itkTubeSpatialObject

with only two points, one of them having Radius == 0.


     Regards,


          Luis


-------------------------------------------------------------
On Mon, Apr 5, 2010 at 1:56 PM, somi <seesomi at gmail.com> wrote:
> Hi,
> Does a cone spatial object exist in ITK ?
> In my application a user interactively places a cone over an ITK image
> volume.
>
> I then have to voxelize the cone. However volexiling in VTK takes a lot of
> time (I tried  vtkImplicitModeller,vtkSelectEnclosedPoints they were too
> slow).
> So is it possible to pass the parameters of the cone to itk and generate it
> using some spatial object ?
>
> Regards,
> Somesh
>
>
> _____________________________________
> 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.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list