We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0af48b commit adbdcc8Copy full SHA for adbdcc8
visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.mm
@@ -41,6 +41,8 @@
41
#include <vtkCocoaRenderWindowInteractor.h>
42
#include <vtkObjectFactory.h>
43
44
+#if ((VTK_MAJOR_VERSION < 6) || ((VTK_MAJOR_VERSION == 6) && (VTK_MINOR_VERSION < 2)))
45
+
46
//----------------------------------------------------------------------------
47
@interface vtkCocoaServerFix : NSObject
48
{
@@ -213,4 +215,10 @@ - (void)windowWillClose:(NSNotification*)aNotification
213
215
214
216
return (vtkCocoaRenderWindowInteractorFix::New ());
217
}
-
218
+#else
219
+//----------------------------------------------------------------------------
220
+vtkRenderWindowInteractor* vtkRenderWindowInteractorFixNew ()
221
+{
222
+ return (vtkCocoaRenderWindowInteractor::New ());
223
+}
224
+#endif
0 commit comments