1 # Copyright (C) 2010-2015 CEA/DEN, EDF R&D
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 IF(PARAVIEW_BUILD_QT_GUI)
22 # Custom object panel for the reader and
23 # custom display panel for line chart view
24 QT4_WRAP_UI(CLIENT_UI_SRCS
25 Resources/UI/TableReaderPanel.ui
26 Resources/UI/CustomXYChartDisplayPanel.ui
32 pqCustomChartDisplayPanelImplementation.h
33 pqCustomXYChartDisplayPanel.h
34 pqCustomPlotSettingsModel.h
38 pqTableReaderPanel.cxx
40 pqCustomChartDisplayPanelImplementation.cxx
41 pqCustomXYChartDisplayPanel.cxx
42 pqCustomPlotSettingsModel.cxx
45 ADD_PARAVIEW_OBJECT_PANEL(
46 TABLEREADER_IFACES TABLEREADER_IFACE_SRCS
47 CLASS_NAME pqTableReaderPanel
51 ADD_PARAVIEW_OBJECT_PANEL(
52 TABLETO3D_IFACES TABLETO3D_IFACE_SRCS
53 CLASS_NAME pqTableTo3DPanel
57 # define the server-side and the client-side parts
58 # of the table reader plugin
59 ADD_PARAVIEW_PLUGIN(TableReaderPlugin "1.0"
60 SOURCES ../Reader/TableParser.cxx
61 SERVER_MANAGER_SOURCES ../Reader/vtkVisuTableReader.cxx ../TableTo3DFilter/vtkTableTo3D.cxx
62 SERVER_MANAGER_XML Resources/TableReaderServer.xml Resources/TableTo3DServer.xml
63 GUI_INTERFACES ${TABLEREADER_IFACES} ${TABLETO3D_IFACES} pqCustomChartDisplayPanel
64 GUI_SOURCES ${CLIENT_SRCS}
66 ${TABLEREADER_IFACE_SRCS}
67 ${TABLETO3D_IFACE_SRCS}
69 GUI_RESOURCES Resources/TableReader.qrc Resources/TableTo3D.qrc)
71 ELSE(PARAVIEW_BUILD_QT_GUI)
73 # define the server-side part of the table reader plugin
74 ADD_PARAVIEW_PLUGIN(TableReaderPlugin "1.0"
75 SOURCES TableParser.cxx
76 SERVER_MANAGER_SOURCES vtkVisuTableReader.cxx vtkTableTo3D.cxx
77 SERVER_MANAGER_XML Resources/TableReaderServer.xml Resources/TableTo3DServer.xml)
79 ENDIF(PARAVIEW_BUILD_QT_GUI)
81 TARGET_LINK_LIBRARIES(TableReaderPlugin vtkVisuTableReader vtkTableTo3D)
85 TARGETS TableReaderPlugin
86 RUNTIME DESTINATION lib/paraview
87 LIBRARY DESTINATION lib/paraview
88 ARCHIVE DESTINATION lib/paraview