[vtkusers] [VTK] Clipping plane in ImplicitPlaneWidget example

Christopher Mullins christopher.mullins at kitware.com
Fri May 30 10:14:27 EDT 2014


The example works just fine for me (Linux, VTK nightly).  You shouldn't
need to mess with the CMakeLists.txt, it should only need to link to
 ${VTK_LIBRARIES}.  Can you show us what you did to that file?


On Fri, May 30, 2014 at 5:17 AM, Jon Haitz Legarreta <
jhlegarreta at vicomtech.org> wrote:

> Hi there,
> I was trying to execute the ImplicitPlaneWidget example [1]. I have tried
> both VTK 5.6.1 and 6.1.0.
>
> The thing is that I was expecting to get the clipping plane as displayed
> in the mentioned example. A similar example is shown in the "The
> Visualization Toolkit" book (3rd ed.) (ch 7.18).
>
> However, the sphere is indeed cut (attached a screenshot), but no clipping
> plane is displayed, and thus no interaction is possible through the
> implicit plane.
>
> What else am I supposed to add to get a similar result?
>
> As a side note, I had to add the vtkWidgets library to the link libraries
> list for vtk 5.6.1, but not for 6.1.0 (so, if this is correct, I can edit
> the wiki example to account for this). I have noticed that the vtkHybrid
> library is actually no longer built by vtk 6.1.0 [2].
>
> Thanks,
> JON HAITZ
>
>
> [1] http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ImplicitPlaneWidget2
> [2] http://www.vtk.org/Wiki/VTK/FAQ#Writing_a_simple_CMakeLists.txt
>
> <http://www.vicomtech.org/en/proteccion-datos>
>
> _______________________________________________
> 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
>
>


-- 
Christopher Mullins
R&D Engineer
Kitware Inc.,
919.869.8871
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140530/1f797531/attachment.html>


More information about the vtkusers mailing list