Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
NAOS
F2I-Consulting
fespp
Commits
b2de7e2c
Commit
b2de7e2c
authored
May 18, 2022
by
Philippe Verney
Browse files
Bug fix : Polyhedra of RESQML unstructured grids do not display with PV 5.8
parent
746d0f4c
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
b2de7e2c
...
...
@@ -20,7 +20,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}"
set
(
BUILD_SHARED_LIBS ON
)
# Find ParaView. This will bring in ParaView's CMake API and imported targets.
find_package
(
ParaView REQUIRED
)
find_package
(
ParaView REQUIRED
pqCore
)
# Scan the plugin file in order to set up internal data structures for building plugins
set
(
"_paraview_plugin_default_
${
CMAKE_PROJECT_NAME
}
"
ON
)
...
...
Plugin/EPCReader/VTK/VtkEpcDocument.cxx
View file @
b2de7e2c
...
...
@@ -39,7 +39,6 @@ under the License.
#include
<fesapi/resqml2/SubRepresentation.h>
#include
<fesapi/resqml2/AbstractIjkGridRepresentation.h>
#include
<fesapi/resqml2/UnstructuredGridRepresentation.h>
#include
<fesapi/resqml2/SubRepresentation.h>
#include
<fesapi/resqml2/WellboreMarker.h>
#include
<fesapi/resqml2/WellboreMarkerFrameRepresentation.h>
#include
<fesapi/resqml2/WellboreTrajectoryRepresentation.h>
...
...
Plugin/EPCReader/vtkEPCReader.cxx
View file @
b2de7e2c
...
...
@@ -332,7 +332,7 @@ void vtkEPCReader::RequestDataEpcDocument(vtkInformationVector *outputVector)
{
try
{
output
->
Deep
Copy
(
epcDocumentSet
->
getVisualization
());
output
->
Shallow
Copy
(
epcDocumentSet
->
getVisualization
());
}
catch
(
const
std
::
exception
&
e
)
{
...
...
@@ -349,7 +349,7 @@ void vtkEPCReader::RequestDataEtpDocument(vtkInformationVector *outputVector)
vtkMultiBlockDataSet
*
output
=
vtkMultiBlockDataSet
::
SafeDownCast
(
outInfo
->
Get
(
vtkMultiBlockDataSet
::
DATA_OBJECT
()));
if
(
loadedFile
)
{
output
->
Deep
Copy
(
etpDocument
->
getVisualization
());
output
->
Shallow
Copy
(
etpDocument
->
getVisualization
());
}
}
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment