Hi Utkarsh,
I also had to patch the CMakeFile so that the server manager parts of
the plugin would build without qt, which is a common use case for me.
I'm attaching it in case you will support it.
Burlen
On 05/20/2011 08:19 AM, Utkarsh Ayachit wrote:
SurfaceLIC doesn't work with Mesa. It uses some OpenGL extensions that
Mesa has no plans to support due to IP issues.
Utkarsh
On Thu, May 19, 2011 at 11:25 PM, Burlen Loring<[email protected]> wrote:
Hi All,
For some reason Surface LIC doesn't work for me. Should the surface LIC work
with osmesa ?
thanks
Burlen
_______________________________________________
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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
--- Plugins/SurfaceLIC/CMakeLists.txt 2011-05-20 11:48:52.893830190 -0700
+++ Plugins/SurfaceLIC/CMakeLists.txt 2011-05-20 13:20:28.613294576 -0700
@@ -4,75 +4,81 @@
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
)
-
-# Qt interface
+
+SET( MOC_SRCS )
+SET( UI_SRCS )
+SET( SM_XMLS )
+SET( SM_SOURCES )
+SET( IFACES )
SET( MOC_SRCS )
+SET( SURFACE_LIC_SOURCES )
SET( UI_SRCS )
+SET( IFACE_SRCS )
IF (PARAVIEW_BUILD_QT_GUI)
-
+ # Qt interface
INCLUDE( ${QT_USE_FILE} )
- QT4_WRAP_CPP( MOC_SRCS
+ QT4_WRAP_CPP( MOC_SRCS
pqSurfaceLICDisplayPanelDecorator.h
)
- QT4_WRAP_UI( UI_SRCS
+ QT4_WRAP_UI( UI_SRCS
pqSurfaceLICDisplayPanelDecorator.ui
)
-
+
INCLUDE_DIRECTORIES(
${ParaView_BINARY_DIR}/VTK/GUISupport/Qt
${ParaView_SOURCE_DIR}/VTK/GUISupport/Qt
${QtWidgets_BINARY_DIR}
${QtWidgets_SOURCE_DIR}
-
+
${pqComponents_BINARY_DIR}
${pqComponents_SOURCE_DIR}
${pqCore_BINARY_DIR}
${pqCore_SOURCE_DIR}
)
-
+
SET( SURFACE_LIC_SOURCES
pqSurfaceLICDisplayPanelDecorator.cxx
)
+ENDIF (PARAVIEW_BUILD_QT_GUI)
- # server manager
- SET( SM_SOURCES
- vtkSurfaceLICRepresentation.cxx
- )
- SET( SM_XMLS
- vtkSurfaceLICRendering.xml
- vtkSurfaceLICExtension.xml
- )
-
+# server manager
+SET( SM_SOURCES
+ vtkSurfaceLICRepresentation.cxx
+ )
+
+SET( SM_XMLS
+ vtkSurfaceLICRendering.xml
+ vtkSurfaceLICExtension.xml
+ )
+
+IF (PARAVIEW_BUILD_QT_GUI)
# This is the macro to add a display panel decorator.
- # It needs the class name, and the panel types we are decorating. It fills up
+ # It needs the class name, and the panel types we are decorating. It fills up
# IFACES and IFACE_SRCS with proper values as needed by ADD_PARAVIEW_PLUGIN macro.
ADD_PARAVIEW_DISPLAY_PANEL_DECORATOR(
- IFACES IFACE_SRCS
+ IFACES IFACE_SRCS
CLASS_NAME pqSurfaceLICDisplayPanelDecorator
- PANEL_TYPES pqDisplayProxyEditor
+ PANEL_TYPES pqDisplayProxyEditor
# <-- This identifies the panel type(s) to decorate
# Our decorator will only be instantiated for the panel types indicated here
)
+ENDIF (PARAVIEW_BUILD_QT_GUI)
+ADD_PARAVIEW_PLUGIN( SurfaceLIC "1.0"
+ SERVER_MANAGER_XML
+ ${SM_XMLS}
+ SERVER_MANAGER_SOURCES
+ ${SM_SOURCES}
+ GUI_INTERFACES
+ ${IFACES}
+ GUI_SOURCES
+ ${MOC_SRCS}
+ ${SURFACE_LIC_SOURCES}
+ ${UI_SRCS}
+ ${IFACE_SRCS}
+ )
- ADD_PARAVIEW_PLUGIN( SurfaceLIC "1.0"
- SERVER_MANAGER_XML
- ${SM_XMLS}
-
- SERVER_MANAGER_SOURCES
- ${SM_SOURCES}
-
- GUI_INTERFACES
- ${IFACES}
- GUI_SOURCES
- ${MOC_SRCS}
- ${SURFACE_LIC_SOURCES}
- ${UI_SRCS}
- ${IFACE_SRCS}
- )
-
-ENDIF (PARAVIEW_BUILD_QT_GUI)
_______________________________________________
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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview