[vtkusers] Boolean Operation to create a hollow cylinder
dvmorris
dvmorris at gmail.com
Sat Jan 16 22:51:17 EST 2010
I would really like to create a pipe, or a ring if that makes sense. It looks
like it can be done with a combination of clipping planes and implicit
cylinders, but I'm not sure I know how to do that properly, I just wanted to
see if anyone had any example of that out there before I started trying out
different methods.
Here is an example of what I would like to be able to create:
http://tayloranderson.net/rocket_launcher/materials/two_inch_pvc_pipe.jpg
Thanks for the quick replies,
Dave
David Doria-2 wrote:
>
> On Sat, Jan 16, 2010 at 7:45 PM, David Doria <daviddoria+vtk at gmail.com>
> wrote:
>> On Sat, Jan 16, 2010 at 6:37 PM, David Morris <dvmorris at gmail.com> wrote:
>>> Is there a way to create a hollow cylinder using VTK? I assume there may
>>> be
>>> a way using a boolean subtraction operation, but I can't really find any
>>> examples or documentation about this. I just want to create a hollow
>>> cylinder, presumably by subtracting a cylinder from a larger cylinder
>>> and
>>> ending up with some kind of polyData object. Let me know if that makes
>>> sense, and if this is possible using VTK.
>>> Thanks for the help,
>>>
>>> --
>>> Dave Morris
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>> If I'm not mistaken, the CylinderSource makes a hollow cylinder, right?
>>
>> http://www.vtk.org/doc/nightly/html/classvtkCylinderSource.html#_details
>>
>> There is an example of how to use it here:
>> http://www.itk.org/Wiki/VTK/Examples/CylinderSource
>>
>> Maybe I misunderstood what you're looking for?
>>
>> Thanks,
>>
>> David
>>
>
> Or maybe by "hollow" you meant you wanted a cylinder with no ends (or
> "caps")?
>
> If so, check out
> vtkCylinderSource::CappingOff()
>
> Thanks,
>
> David
> _______________________________________________
> 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
>
>
--
View this message in context: http://old.nabble.com/Boolean-Operation-to-create-a-hollow-cylinder-tp27194845p27196009.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list