Make the PV4FoamReader work properly with ParaView 4.3.1. Author: Brono Santos. Merge: Hrvoje Jasak.
This commit is contained in:
commit
2834f68044
4 changed files with 8 additions and 18 deletions
|
@ -44,13 +44,6 @@ ADD_PARAVIEW_PLUGIN(
|
||||||
SERVER_MANAGER_SOURCES vtkPV4FoamReader.cxx
|
SERVER_MANAGER_SOURCES vtkPV4FoamReader.cxx
|
||||||
)
|
)
|
||||||
|
|
||||||
# Build the client-side plugin
|
|
||||||
ADD_PARAVIEW_PLUGIN(
|
|
||||||
PV4FoamReader
|
|
||||||
"1.0"
|
|
||||||
GUI_RESOURCES PV4FoamReader.qrc
|
|
||||||
)
|
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(
|
TARGET_LINK_LIBRARIES(
|
||||||
PV4FoamReader_SM
|
PV4FoamReader_SM
|
||||||
foam
|
foam
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
<RCC>
|
|
||||||
<qresource prefix="/ParaViewResources" >
|
|
||||||
<file>PV4FoamReader.xml</file>
|
|
||||||
</qresource>
|
|
||||||
</RCC>
|
|
|
@ -1,6 +0,0 @@
|
||||||
<ParaViewReaders>
|
|
||||||
<Reader name="PV4FoamReader"
|
|
||||||
extensions="OpenFOAM"
|
|
||||||
file_description="OpenFOAM Reader">
|
|
||||||
</Reader>
|
|
||||||
</ParaViewReaders>
|
|
|
@ -4,6 +4,14 @@
|
||||||
name="PV4FoamReader"
|
name="PV4FoamReader"
|
||||||
class="vtkPV4FoamReader">
|
class="vtkPV4FoamReader">
|
||||||
|
|
||||||
|
<!-- File extension section for paraview 4.3+ -->
|
||||||
|
|
||||||
|
<Hints>
|
||||||
|
<ReaderFactory
|
||||||
|
extensions="OpenFOAM"
|
||||||
|
file_description="OpenFOAM Reader" />
|
||||||
|
</Hints>
|
||||||
|
|
||||||
<!-- File name - compulsory -->
|
<!-- File name - compulsory -->
|
||||||
<StringVectorProperty
|
<StringVectorProperty
|
||||||
name="FileName"
|
name="FileName"
|
||||||
|
|
Reference in a new issue