mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Updated PV4blockMeshReader for ParaView-4.1.0
This commit is contained in:
@ -49,7 +49,7 @@ ADD_PARAVIEW_OBJECT_PANEL(IFACES IFACE_SRCS
|
|||||||
XML_GROUP sources
|
XML_GROUP sources
|
||||||
)
|
)
|
||||||
|
|
||||||
IF("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
IF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||||
ADD_PARAVIEW_PLUGIN(
|
ADD_PARAVIEW_PLUGIN(
|
||||||
PV4FoamReader_SM "1.0"
|
PV4FoamReader_SM "1.0"
|
||||||
SERVER_MANAGER_XML PV4FoamReader_SM.xml
|
SERVER_MANAGER_XML PV4FoamReader_SM.xml
|
||||||
@ -59,7 +59,7 @@ IF("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
|||||||
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
||||||
GUI_RESOURCE_FILES PV4FoamReader.xml
|
GUI_RESOURCE_FILES PV4FoamReader.xml
|
||||||
)
|
)
|
||||||
ELSE("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
ELSE("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||||
ADD_PARAVIEW_PLUGIN(
|
ADD_PARAVIEW_PLUGIN(
|
||||||
PV4FoamReader_SM "1.0"
|
PV4FoamReader_SM "1.0"
|
||||||
SERVER_MANAGER_XML PV4FoamReader_SM.xml
|
SERVER_MANAGER_XML PV4FoamReader_SM.xml
|
||||||
@ -68,7 +68,7 @@ ELSE("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
|||||||
GUI_SOURCES pqPV4FoamReaderPanel.cxx
|
GUI_SOURCES pqPV4FoamReaderPanel.cxx
|
||||||
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
||||||
)
|
)
|
||||||
ENDIF("${PARAVIEW_VERSION_MINOR}" LESS 1)
|
ENDIF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(
|
TARGET_LINK_LIBRARIES(
|
||||||
PV4FoamReader_SM
|
PV4FoamReader_SM
|
||||||
|
|||||||
@ -48,6 +48,7 @@ ADD_PARAVIEW_OBJECT_PANEL(IFACES IFACE_SRCS
|
|||||||
XML_GROUP sources
|
XML_GROUP sources
|
||||||
)
|
)
|
||||||
|
|
||||||
|
IF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||||
ADD_PARAVIEW_PLUGIN(
|
ADD_PARAVIEW_PLUGIN(
|
||||||
PV4blockMeshReader_SM "1.0"
|
PV4blockMeshReader_SM "1.0"
|
||||||
SERVER_MANAGER_XML PV4blockMeshReader_SM.xml
|
SERVER_MANAGER_XML PV4blockMeshReader_SM.xml
|
||||||
@ -57,23 +58,16 @@ ADD_PARAVIEW_PLUGIN(
|
|||||||
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
||||||
GUI_RESOURCE_FILES PV4blockMeshReader.xml
|
GUI_RESOURCE_FILES PV4blockMeshReader.xml
|
||||||
)
|
)
|
||||||
|
ELSE("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||||
|
ADD_PARAVIEW_PLUGIN(
|
||||||
# #
|
PV4blockMeshReader_SM "1.0"
|
||||||
# # Define the server-side portion of the reader plugin
|
SERVER_MANAGER_XML PV4blockMeshReader_SM.xml
|
||||||
# #
|
SERVER_MANAGER_SOURCES vtkPV4blockMeshReader.cxx
|
||||||
# ADD_PARAVIEW_PLUGIN(PV4blockMeshReader_SM "1.0"
|
GUI_INTERFACES ${IFACES}
|
||||||
# SERVER_MANAGER_XML PV4blockMeshReader_SM.xml
|
GUI_SOURCES pqPV4blockMeshReaderPanel.cxx
|
||||||
# SERVER_MANAGER_SOURCES vtkPV4blockMeshReader.cxx
|
${MOC_SRCS} ${UI_SRCS} ${IFACE_SRCS}
|
||||||
# )
|
)
|
||||||
# #
|
ENDIF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
|
||||||
# # Define the client-side portion of the reader plugin
|
|
||||||
# #
|
|
||||||
# ADD_PARAVIEW_PLUGIN(
|
|
||||||
# PV4blockMeshReader "1.0"
|
|
||||||
# GUI_RESOURCES PV4blockMeshReader.qrc
|
|
||||||
# )
|
|
||||||
|
|
||||||
|
|
||||||
# Build the client-side plugin
|
# Build the client-side plugin
|
||||||
|
|
||||||
@ -83,4 +77,5 @@ TARGET_LINK_LIBRARIES(
|
|||||||
blockMesh
|
blockMesh
|
||||||
vtkPV4blockMesh
|
vtkPV4blockMesh
|
||||||
)
|
)
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -103,6 +103,8 @@
|
|||||||
<Hints>
|
<Hints>
|
||||||
<Property name="FileName" show="0"/>
|
<Property name="FileName" show="0"/>
|
||||||
<Property name="UiShowPointNumbers" show="0"/>
|
<Property name="UiShowPointNumbers" show="0"/>
|
||||||
|
<ReaderFactory extensions="blockMesh"
|
||||||
|
file_description="OpenFOAM blockMesh"/>
|
||||||
</Hints>
|
</Hints>
|
||||||
|
|
||||||
</SourceProxy>
|
</SourceProxy>
|
||||||
|
|||||||
Reference in New Issue
Block a user