[vtkusers] Cut a space with multiple objects
David E DeMarle
dave.demarle at kitware.com
Mon Jan 14 14:41:25 EST 2019
2.5 strategies of the top of my head -
1) combine everything into a multiblock data set, rendered with the
compositepolydatamapper and clip the multiblock.
2) use one plane fed simultaneously into all of the clip filters (<--- try
this first)
2.5) use events/observers to make all of the planes follow the actions of
one master
hth
David E DeMarle
Kitware, Inc.
Principal Engineer
On Sat, Jan 12, 2019 at 6:55 PM Q Wang <wangq1979 at outlook.com> wrote:
> Hello vtkusers,
>
> I use vtk to render a closed space, e.g. a cylinder, and there are
> numerous objects inside the cylinder, as in the attached figure. Every
> object inside the cylinder is rendered with its own actor and mapper, and
> so on. Now, I want to see the cross-sectional image of the cylinder at
> arbitary positions. I tried different ways, e.g. using a vtkplane to cut,
> but cannot get what I want since there are multiple objects at the
> cross-section.
>
> Any suggestion would be appreciated!
>
> Best wishes,
>
> Chiang
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190114/1831e7a9/attachment.html>
More information about the vtkusers
mailing list