Added support for ParaView-4.1.0

The default ParaView is now 4.0.1 pending completion of testing of 4.1.0
This commit is contained in:
Henry
2014-01-10 10:47:18 +00:00
parent 63db7ce221
commit 011fda6bbe
7 changed files with 30 additions and 44 deletions

View File

@ -2,7 +2,7 @@
cd ${0%/*} || exit 1 # run from this directory
#set -x
if [ "$ParaView_VERSION" == "4.0.1" ]
if [ "$ParaView_VERSION" == "4.0.1" -o "$ParaView_VERSION" == "4.1.0" ]
then
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then

View File

@ -49,32 +49,26 @@ ADD_PARAVIEW_OBJECT_PANEL(IFACES IFACE_SRCS
XML_GROUP sources
)
ADD_PARAVIEW_PLUGIN(
PV4FoamReader_SM "1.0"
SERVER_MANAGER_XML PV4FoamReader_SM.xml
SERVER_MANAGER_SOURCES vtkPV4FoamReader.cxx
GUI_INTERFACES ${IFACES}
GUI_SOURCES pqPV4FoamReaderPanel.cxx
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
GUI_RESOURCE_FILES PV4FoamReader.xml
)
# #
# # Define the server-side portion of the reader plugin
# #
# ADD_PARAVIEW_PLUGIN(
# PV4FoamReader_SM "1.0"
# SERVER_MANAGER_XML PV4FoamReader_SM.xml
# SERVER_MANAGER_SOURCES vtkPV4FoamReader.cxx
# )
# #
# # Define the client-side portion of the reader plugin
# #
# ADD_PARAVIEW_PLUGIN(
# PV4FoamReader "1.0"
# GUI_RESOURCES PV3FoamReader.qrc
# )
#
IF("${PARAVIEW_VERSION_MINOR}" LESS 1)
ADD_PARAVIEW_PLUGIN(
PV4FoamReader_SM "1.0"
SERVER_MANAGER_XML PV4FoamReader_SM.xml
SERVER_MANAGER_SOURCES vtkPV4FoamReader.cxx
GUI_INTERFACES ${IFACES}
GUI_SOURCES pqPV4FoamReaderPanel.cxx
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
GUI_RESOURCE_FILES PV4FoamReader.xml
)
ELSE("${PARAVIEW_VERSION_MINOR}" LESS 1)
ADD_PARAVIEW_PLUGIN(
PV4FoamReader_SM "1.0"
SERVER_MANAGER_XML PV4FoamReader_SM.xml
SERVER_MANAGER_SOURCES vtkPV4FoamReader.cxx
GUI_INTERFACES ${IFACES}
GUI_SOURCES pqPV4FoamReaderPanel.cxx
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
)
ENDIF("${PARAVIEW_VERSION_MINOR}" LESS 1)
TARGET_LINK_LIBRARIES(
PV4FoamReader_SM
@ -82,4 +76,5 @@ TARGET_LINK_LIBRARIES(
finiteVolume
vtkPV4Foam
)
#-----------------------------------------------------------------------------

View File

@ -167,19 +167,6 @@
</Documentation>
</IntVectorProperty>
<!-- Force GUI update check box -->
<IntVectorProperty
name="UpdateGUI"
command="SetUpdateGUI"
number_of_elements="1"
default_values="0"
animateable="0">
<BooleanDomain name="bool"/>
<Documentation>
A simple way to cause a reader GUI modification.
</Documentation>
</IntVectorProperty>
<!--
| Selections
-->
@ -298,6 +285,8 @@
<Property name="UiShowGroupsOnly" show="0"/>
<Property name="UiIncludeSets" show="0"/>
<Property name="UiIncludeZones" show="0"/>
<ReaderFactory extensions="OpenFOAM"
file_description="OpenFOAM" />
</Hints>