pkgsrc/graphics/pcl/patches/patch-apps_src_organized__segmentation__demo.ui
thor 93ca69daa3 graphics/pcl: enable visualization using VTK
This is a very common use-case and thus VTK is on by default. As there
are cases where you just need PCL for the data formats and algorithms,
it can be disabled.

There is another change pending to add Qt support to VTK, which will
be inherited here, as I am told the (a?) standard use case for VTK is via
Qt. The option is: Either just computations (headless) or the full
visualization stuff.
2021-05-07 11:36:29 +00:00

28 lines
980 B
XML

$NetBSD: patch-apps_src_organized__segmentation__demo.ui,v 1.1 2021/05/07 11:36:29 thor Exp $
Support VTK 9, from PR 4262
--- apps/src/organized_segmentation_demo.ui.orig 2020-08-14 12:23:03.000000000 +0000
+++ apps/src/organized_segmentation_demo.ui
@@ -37,7 +37,7 @@
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="3">
- <widget class="QVTKWidget" name="qvtk_widget">
+ <widget class="PCLQVTKWidget" name="qvtk_widget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>255</horstretch>
@@ -214,9 +214,9 @@
</widget>
<customwidgets>
<customwidget>
- <class>QVTKWidget</class>
- <extends>QWidget</extends>
- <header>QVTKWidget.h</header>
+ <class>PCLQVTKWidget</class>
+ <extends>QOpenGLWidget</extends>
+ <header location="global">pcl/visualization/qvtk_compatibility.h</header>
</customwidget>
</customwidgets>
<resources>