Commit d6dbb853 authored by Philippe Verney's avatar Philippe Verney
Browse files

Initial move from Svn to Git

parent 4ebb8292
cmake_minimum_required(VERSION 3.1.0)
project(Fespp)
set (FESPP_ROOT_DIR ${CMAKE_SOURCE_DIR})
set (FESPP_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
# -----------------------------------------------------------------------------
# Disable deprecation warnings for standard C and STL functions in VS2005 and
# later (no, we don't need IF(CMAKE_COMPILER_2005) ... )
# -----------------------------------------------------------------------------
add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
add_definitions(-D_SCL_SECURE_NO_DEPRECATE)
IF (UNIX)
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.6 OR CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 4.6)
add_compile_options(-std=c++11)
else ()
add_compile_options(-std=gnu++0x)
endif()
add_compile_options(-fPIC)
ENDIF (UNIX)
# ============================================================================
# checking for required dependencies
# ============================================================================
# path to custom find_package modules
SET (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")
# -- FESAPI --
find_package(Fesapi REQUIRED)
mark_as_advanced(FESAPI_INCLUDE_DIRS)
mark_as_advanced(FESAPI_LIBRARY)
# -- ParaView --
IF (ParaView_SOURCE_DIR)
# we are building from within ParaView Source. The environment is already set.
# Nothing more to do.
ELSE (ParaView_SOURCE_DIR)
find_package(ParaView)
include("${PARAVIEW_USE_FILE}")
include (ParaViewPlugins)
# Load information about VTK/ParaView modules loaded/available.
pv_setup_module_environment("Fespp")
ENDIF (ParaView_SOURCE_DIR)
# -----------------------------------------------------------------------------
# Process all vtk-modules defined in this plugin. This generates the necessary
# wrappings for all these modules as well.
# -----------------------------------------------------------------------------
pv_process_modules()
# -----------------------------------------------------------------------------
# Build the Paraview plugins
# -----------------------------------------------------------------------------
add_subdirectory(src)
#
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at contact@f2i-energistics.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
This diff is collapsed.
# fespp
A Paraview plugin to visualize Resqml data
A Paraview plugin to visualize Resqml 2.0 data
# Locate Fesapi
#
# This module defines the following CMake variables:
#
# FESAPI_FOUND - True if Fesapi is found
# FESAPI_LIBRARY - A variable pointing to the Fesapi library
# FESAPI_INCLUDE_DIRS - Where to find the headers
IF(NOT FESAPI_FOUND)
find_path(FESAPI_INCLUDE NAMES EpcDocument.h
PATHS $ENV{FESAPI_DIR}/include
${FESAPI_DIR}/include)
find_path(FESAPI_RESQML2_INCLUDE NAMES AbstractObject.h
PATHS $ENV{FESAPI_DIR}/include/resqml2
${FESAPI_DIR}/include/resqml2)
find_path(FESAPI_RESQML2_0_1_INCLUDE NAMES Fault.h
PATHS $ENV{FESAPI_DIR}/include/resqml2_0_1
${FESAPI_DIR}/include/resqml2_0_1)
find_path(FESAPI_EPC_INCLUDE NAMES Package.h
PATHS $ENV{FESAPI_DIR}/include/epc
${FESAPI_DIR}/include/epc)
find_path(FESAPI_PROXIES_INCLUDE NAMES envH.h
PATHS $ENV{FESAPI_DIR}/include/proxies
${FESAPI_DIR}/include/proxies)
find_path(FESAPI_TOOLS_INCLUDE NAMES GuidTools.h
PATHS $ENV{FESAPI_DIR}/include/tools
${FESAPI_DIR}/include/tools)
find_path(FESAPI_WITSML1_4_1_1_INCLUDE NAMES AbstractObject.h
PATHS $ENV{FESAPI_DIR}/include/witsml1_4_1_1
${FESAPI_DIR}/include/witsml1_4_1_1)
find_library(FESAPI_LIBRARY NAMES FesapiCpp
PATHS $ENV{FESAPI_DIR}/lib
${FESAPI_DIR}/lib)
set(FESAPI_INCLUDE_DIRS
${FESAPI_INCLUDE}
${FESAPI_RESQML2_INCLUDE}
${FESAPI_RESQML2_0_1_INCLUDE}
${FESAPI_EPC_INCLUDE}
${FESAPI_PROXIES_INCLUDE}
${FESAPI_TOOLS_INCLUDE}
${FESAPI_WITSML1_4_1_1_INCLUDE}
)
Set(FESAPI_FOUND "NO")
IF(FESAPI_LIBRARY AND FESAPI_INCLUDE_DIRS)
Set(FESAPI_FOUND "YES")
link_directories(${FESAPI_LIBRARY})
ADD_DEFINITIONS(-DOSGEARTH_HAVE_FESAPI)
ENDIF(FESAPI_LIBRARY AND FESAPI_INCLUDE_DIRS)
ENDIF(NOT FESAPI_FOUND)
<html>
<head>
<title>File Load</title>
<meta charset="utf-8">
<style type="text/css">
a:link { color:black; text-decoration: none; font-size:10pt;}
a:visited { color:black; text-decoration: none; font-size:10pt;}
a:active { color:black; text-decoration: none; font-size:10pt;}
a:hover { color:black; text-decoration: underline; font-weight: bold; font-size:10pt;}
</style>
</head>
<body>
<h1>Load file</h1>
<hr>
<br/>
Pour charger 1 fichier cliquer sur licne suivante :
<table>
<tr>
<td>
<a href="../Images/image009.jpg"><img src="../Images/image009.jpg"/></a>
</td>
</tr>
<tr>
<td>
Figure 1. File load icon.
</td>
</tr>
</table>
<br/>
Dans larborescence suivante slectionner le fichier que vous voulez visualiser.
<table>
<tr>
<td>
<a href="../Images/image010.jpg"><img src="../Images/image010.jpg" height="200"/></a>
</td>
</tr>
<tr>
<td>
Figure 2. System treeView.
</td>
</tr>
</table>
<br/>
Larborescence du fichier RESQML 2.0 saffiche dans le panel de selection.
<table>
<tr>
<td>
<a href="../Images/image011.jpg"><img src="../Images/image011.jpg" height="200"/></a>
</td>
</tr>
<tr>
<td>
Figure 3. Resqml2.0 treeView.
</td>
</tr>
</table>
<br/>
Il est possible douvrir 2 fichiers en mme temps en rffectuant le chargement dun fichier.
Larborescence des 2 fichiers se trouvent dans le mme panel de slection.
<br/><br/>
</body>
</html>
<html>
<head>
<title>Metadata Panel</title>
<meta charset="utf-8">
<style type="text/css">
a:link { color:black; text-decoration: none; font-size:16pt;}
a:visited { color:black; text-decoration: none; font-size:16pt;}
a:active { color:black; text-decoration: none; font-size:16pt;}
a:hover { color:black; text-decoration: underline; font-weight: bold; font-size:16pt;}
</style>
</head>
<body>
<h1>Metadata Panel</h1>
<hr>
<br/>
affiche les metada de l'lment slectionn dans l'arbre de slection.
<br/>
<a href="../Images/image013.jpg"><img src="../Images/image013.jpg"/></a>
</body>
</html>
<html>
<head>
<title>Presentation</title>
<meta charset="utf-8">
<style type="text/css">
a:link { color:black; text-decoration: none; font-size:10pt;}
a:visited { color:black; text-decoration: none; font-size:10pt;}
a:active { color:black; text-decoration: none; font-size:10pt;}
a:hover { color:black; text-decoration: underline; font-weight: bold; font-size:10pt;}
</style>
</head>
<body>
<h1>How to Load a file ?</h1>
<hr>
<br/>
Pour charger le plugin sous ParaView il faut slectionner le menu <b> Tools </b>.
<table>
<tr>
<td>
<a href="../Images/image001.jpg"><img src="../Images/image001.jpg" width="300" /></a>
</td>
</tr>
<tr>
<td>
Figure 1. ParaView menu.
</td>
</tr>
</table>
<br/>
A partir de ce menu lancer le Plugin Manager (Manage Plugins).
<br/>
<table>
<tr>
<td>
<a href="../Images/image002.jpg"><img src="../Images/image002.jpg" height="200" /></a>
</td>
</tr>
<tr>
<td>
Figure 2. Plugin Manager link.
</td>
</tr>
</table>
<br/>
Le plugin manager souvre.
<br/>
Slectionner <b> Load New </b> et parcourer larborescence de votre systme pour slectionner le plug-in.
<br/>
<table>
<tr>
<td>
<a href="../Images/image003.jpg"><img src="../Images/image003.jpg" height="200" /></a>
</td>
</tr>
<tr>
<td>
Figure 3. Plugin Manager.
</td>
</tr>
</table>
<br/>
Une fois le plug-in charg, il doit apparaitre dans la liste du <b> plugin manager </b> comme ci-dessous :
<br/>
<table>
<tr>
<td>
<a href="../Images/image004.jpg"><img src="../Images/image004.jpg" height="200" /></a>
</td>
</tr>
<tr>
<td>
Figure 4. Plugin loaded.
</td>
</tr>
</table>
<br/>
Fermer le <b> plugin manager </b>.
<br/>
2 nouvelles fentres apparaissent :
<ul style="list-style-type:circle;">
<li>
MetaData Panel
<br/>
<table>
<tr>
<td>
<a href="../Images/image005.jpg"><img src="../Images/image005.jpg" width="300" /></a>
</td>
</tr>
<tr>
<td>
Figure 5. MetaData Panel.
</td>
</tr>
</table>
<br/>
</li>
<li>
Selection Panel
<br/>
<table>
<tr>
<td>
<a href="../Images/image006.jpg"><img src="../Images/image006.jpg" width="300" /></a>
</td>
</tr>
<tr>
<td>
Figure 5. Selection Panel.
</td>
</tr>
</table>
<br/>
</li>
</ul>
Ces 2 fentres sont positionnables comme vous le voulez.
<br/>
</body>
</html>
<html>
<head>
<title>Selection Panel</title>
<meta charset="utf-8">
<style type="text/css">
a:link { color:black; text-decoration: none; font-size:16pt;}
a:visited { color:black; text-decoration: none; font-size:16pt;}
a:active { color:black; text-decoration: none; font-size:16pt;}
a:hover { color:black; text-decoration: underline; font-weight: bold; font-size:16pt;}
</style>
</head>
<body>
<h1>Selection Panel</h1>
<hr>
<br/>
In this Panel, you can see :
<ul style="list-style-type:circle;">
<li>
Resqml2.0 TreeView (Tree representation)
</li>
<li>
Check Box (representation to load or unload of the view)
</li>
<li>
radio button (representation property to load)
<li>
eye icon (representation loaded visibility)
</li>
</ul>
<table>
<tr>
<td>
<a href="../Images/image012.jpg"><img src="../Images/image012.jpg"/></a>
</td>
</tr>
<tr>
<td>
Figure 1. Panel Selection loaded.
</td>
</tr>
</table>
<br/>
actions in this panel :
<ul style="list-style-type:circle;">
<li>
click in treeView line : display metadata in <a href="MetaDataPanel.html"> metadata panel</a><br>
</li>
<li>
check/uncheck treeView element : load/unload the representation in ParaView.
<table>
<tr>
<td>
<a href="../Images/image014.jpg"><img src="../Images/image014.jpg"/></a>
</td>
</tr>
<tr>
<td>
Figure 2. load/unload representation in ParaView.
</td>
</tr>
</table>
</li>
<li>
click in eye icon : hide/show the treeView element in View. (see <a href="Visibility.html"> Visibility paragraph</a>)
<li>
double click eye icon : display a visibility menu. (see <a href="Visibility.html"> Visibility paragraph</a>)
</li>
</ul>
</body>
</html>
<html>
<head>
<title>Visibility</title>
<meta charset="utf-8">
<style type="text/css">
a:link { color:black; text-decoration: none; font-size:16pt;}
a:visited { color:black; text-decoration: none; font-size:16pt;}
a:active { color:black; text-decoration: none; font-size:16pt;}
a:hover { color:black; text-decoration: underline; font-weight: bold; font-size:16pt;}
</style>
</head>
<body>
<h1>Visibility</h1>
<hr>
<br/>
<h2>eye action</h2>
<br/>
A ct d'une nom d'un lment charg vous avec un oeil de visibilit. oeil plein <a><img src="../Images/pqEyeball16.png"/></a> visible oeil gris <a><img src="../Images/pqEyeballd16.png"/></a> non visible.
<table>
<tr>
<td>
<a href="../Images/visibilityEye.png"><img src="../Images/visibilityEye.png"/></a>
</td>
</tr>
<tr>
<td>
Figure 1. eye of visibility.
</td>
</tr>
</table>
<br/>
<hr>
<h2>menu action</h2>
<br/>
Un menu de visibilit plus complet s'affiche, suite un double clic sur un oeil de visibilit.
<br/>
Vous trouverez 4 fonctions:
<ul style="list-style-type:circle;">
<li>
hide: grise l'oeil de visivilit de l'lment slectionn.
</li>
<li>
show: affiche l'lement slectionn.
</li>
<li>
show only: grise tous les yeux de visivilit autre que l'lment slectionn.
</li>
<li>
show all: affiche tous les lements chargs.
</li>
</ul>
<table>
<tr>
<td>
<a href="../Images/image015.jpg"><img src="../Images/image015.jpg"/></a>
</td>
</tr>
<tr>
<td>
Figure 1. menu of visibility.
</td>
</tr>
</table>
</body>
</html>
<html>
<head>
<title>Contact</title>
<meta charset="utf-8">
<style type="text/css">
a:link { color:black; text-decoration: none; font-size:10pt;}
a:visited { color:black; text-decoration: none; font-size:10pt;}
a:active { color:black; text-decoration: none; font-size:10pt;}
a:hover { color:black; text-decoration: underline; font-weight: bold; font-size:10pt;}
</style>
</head>
<body>
<h1>Contact :</h1>
<hr>
<br/>
<h2>web site</h2>
<br/>
<table>
<tr>
<td>
<a href="https://f2i-consulting.com/"><img src="../Images/LogoF2IConsulting.png"/></a>
</td>
</tr>
</table>
<hr>
<br/>
<h2>bug tracker</h2>
<br/>
<table>
<tr>
<td>
<a href="https://f2i-consulting.com/"><img src="../Images/organization_logo.png"/></a>
</td>
</tr>
</table>
</body>
</html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment