Updated PV4blockMeshReader for ParaView-4.1.0
This commit is contained in:
parent
af27e633f9
commit
8a9da0aeac
@ -49,7 +49,7 @@ ADD_PARAVIEW_OBJECT_PANEL(IFACES IFACE_SRCS
|
||||
XML_GROUP sources
|
||||
)
|
||||
|
||||
IF("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
||||
IF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||
ADD_PARAVIEW_PLUGIN(
|
||||
PV4FoamReader_SM "1.0"
|
||||
SERVER_MANAGER_XML PV4FoamReader_SM.xml
|
||||
@ -59,7 +59,7 @@ IF("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
||||
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
||||
GUI_RESOURCE_FILES PV4FoamReader.xml
|
||||
)
|
||||
ELSE("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
||||
ELSE("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||
ADD_PARAVIEW_PLUGIN(
|
||||
PV4FoamReader_SM "1.0"
|
||||
SERVER_MANAGER_XML PV4FoamReader_SM.xml
|
||||
@ -68,7 +68,7 @@ ELSE("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
||||
GUI_SOURCES pqPV4FoamReaderPanel.cxx
|
||||
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
||||
)
|
||||
ENDIF("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
||||
ENDIF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||
|
||||
TARGET_LINK_LIBRARIES(
|
||||
PV4FoamReader_SM
|
||||
|
@ -286,7 +286,7 @@
|
||||
<Property name="UiIncludeSets" show="0"/>
|
||||
<Property name="UiIncludeZones" show="0"/>
|
||||
<ReaderFactory extensions="OpenFOAM"
|
||||
file_description="OpenFOAM" />
|
||||
file_description="OpenFOAM"/>
|
||||
</Hints>
|
||||
|
||||
|
||||
|
@ -48,32 +48,26 @@ ADD_PARAVIEW_OBJECT_PANEL(IFACES IFACE_SRCS
|
||||
XML_GROUP sources
|
||||
)
|
||||
|
||||
ADD_PARAVIEW_PLUGIN(
|
||||
PV4blockMeshReader_SM "1.0"
|
||||
SERVER_MANAGER_XML PV4blockMeshReader_SM.xml
|
||||
SERVER_MANAGER_SOURCES vtkPV4blockMeshReader.cxx
|
||||
GUI_INTERFACES ${IFACES}
|
||||
GUI_SOURCES pqPV4blockMeshReaderPanel.cxx
|
||||
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
||||
GUI_RESOURCE_FILES PV4blockMeshReader.xml
|
||||
)
|
||||
|
||||
|
||||
# #
|
||||
# # Define the server-side portion of the reader plugin
|
||||
# #
|
||||
# ADD_PARAVIEW_PLUGIN(PV4blockMeshReader_SM "1.0"
|
||||
# SERVER_MANAGER_XML PV4blockMeshReader_SM.xml
|
||||
# SERVER_MANAGER_SOURCES vtkPV4blockMeshReader.cxx
|
||||
# )
|
||||
# #
|
||||
# # Define the client-side portion of the reader plugin
|
||||
# #
|
||||
# ADD_PARAVIEW_PLUGIN(
|
||||
# PV4blockMeshReader "1.0"
|
||||
# GUI_RESOURCES PV4blockMeshReader.qrc
|
||||
# )
|
||||
|
||||
IF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||
ADD_PARAVIEW_PLUGIN(
|
||||
PV4blockMeshReader_SM "1.0"
|
||||
SERVER_MANAGER_XML PV4blockMeshReader_SM.xml
|
||||
SERVER_MANAGER_SOURCES vtkPV4blockMeshReader.cxx
|
||||
GUI_INTERFACES ${IFACES}
|
||||
GUI_SOURCES pqPV4blockMeshReaderPanel.cxx
|
||||
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
||||
GUI_RESOURCE_FILES PV4blockMeshReader.xml
|
||||
)
|
||||
ELSE("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||
ADD_PARAVIEW_PLUGIN(
|
||||
PV4blockMeshReader_SM "1.0"
|
||||
SERVER_MANAGER_XML PV4blockMeshReader_SM.xml
|
||||
SERVER_MANAGER_SOURCES vtkPV4blockMeshReader.cxx
|
||||
GUI_INTERFACES ${IFACES}
|
||||
GUI_SOURCES pqPV4blockMeshReaderPanel.cxx
|
||||
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
||||
)
|
||||
ENDIF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||
|
||||
# Build the client-side plugin
|
||||
|
||||
@ -83,4 +77,5 @@ TARGET_LINK_LIBRARIES(
|
||||
blockMesh
|
||||
vtkPV4blockMesh
|
||||
)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
@ -103,6 +103,8 @@
|
||||
<Hints>
|
||||
<Property name="FileName" show="0"/>
|
||||
<Property name="UiShowPointNumbers" show="0"/>
|
||||
<ReaderFactory extensions="blockMesh"
|
||||
file_description="OpenFOAM blockMesh"/>
|
||||
</Hints>
|
||||
|
||||
</SourceProxy>
|
||||
|
Loading…
Reference in New Issue
Block a user