Re: Cut a space with multiple objects
David E DeMarle via vtkusers <[email protected]> Mon, 14 Jan 2019 14:41:25 -0500
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CANjZAi8T7UWFKe+6ss2VMuRZbN7MmySLOzdRsB8auu2UtTWaLQ@mail.gmail.com> |
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 <[email protected]> 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 > _______________________________________________ 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