[vtkusers] Slicing question

David E DeMarle dave.demarle at kitware.com
Tue Jan 31 15:22:29 EST 2012


Hi Robbie,

I recommend feeding the outer box and some vtkImplicitFunction such as
vtkBox (http://www.vtk.org/doc/nightly/html/classvtkBox.html) to
define the knife into a vtkCutter
(http://www.vtk.org/doc/nightly/html/classvtkCutter.html).

Use one of the 3D widgets to let the user place the Box interactively.

cheers,

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909



On Tue, Jan 31, 2012 at 12:22 PM,  <robbie.banks at gmail.com> wrote:
> I'm wondering what filter I would use to look inside a box.
>
> To explain, if I have a couple of unstructured grids, one a thin walled box with a second smaller box on the inside.
>
> I want to have the ability to create a plane that acts like a knife and removes the front of the actor to look inside the box, so I can see the internal box, while seeing the inner structure of the larger external box.
>
> Is there a way to do this in VTK?
>
> Hoping I have described this effectively.
>
> Robbie
>
> Sent from my BlackBerry®
> _______________________________________________
> 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



More information about the vtkusers mailing list