COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Show a mesh rendered on a ParaViewTab server. More...
#include <Widget3D.hpp>
Inherits QWidget.
Public Slots | |
void | connect_to_server (QString host, QString port) |
void | load_paths (std::vector< QString > paths, std::vector< QString > names) |
Public Member Functions | |
Widget3D (QWidget *parent=0) | |
Private Slots | |
void | connect_to_server () |
Ask connection options to user and try to connect to server host with port. More... | |
void | disconnect_from_server () |
Disconnect from current paraview server. More... | |
void | show_load_file_dialog () |
Show a dialog window that ask for a path file. More... | |
void | show_connect_dialog () |
Show a dialog window that ask for an host and port. More... | |
void | set_rotation_center () |
Set the rotation center, in center of the screen. More... | |
void | set_rotation (int value) |
void | take_screen_shot () |
Take a screen shot of the current view. More... | |
void | reset_camera () |
Reset camera. More... | |
void | show_color_editor () |
Show the color editor. More... | |
void | show_hide_actor (QListWidgetItem *item) |
void | actor_changed () |
Called when the current Region/Actor change. More... | |
void | set_solid_color () |
Color Picker that change current Region/Actor color. More... | |
void | opacity_change (double value) |
void | enable_solide_color_button (pqVariableType type, const QString &name) |
void | show_camera_settings () |
Display View Camera settings. More... | |
void | setCenterAxesVisibility () |
Show Hide center axes. More... | |
void | show_disp_adv_settings () |
Show advanced settings for the current display. More... | |
void | show_gen_adv_settings () |
Show general settings. More... | |
void | show_serv_adv_settings () |
Show server settings. More... | |
void | force_rendering () |
Force the mesh to render. More... | |
void | enable_rendering (bool enable) |
void | set_actor_list_selection_mode (int mode) |
void | show_advanced_options (bool showAdv) |
void | rendering_progress () |
Private Member Functions | |
void | create_view () |
Create a view from server. More... | |
void | open_file (QString file_path, QString file_name) |
void | create_source (QString path) |
Private Attributes | |
QPointer< pqApplicationCore > | m_core |
Initialising Application Core that manage all vtk and paraview Objects. More... | |
QPointer< pqObjectBuilder > | m_object_builder |
Object Builder create Object on server side and a ghost on client side. More... | |
QPointer< pqServer > | m_server |
Server connection. More... | |
QPointer< pqPluginManager > | m_plugin_manager |
Plugin manger that give acces to advenced object and view. More... | |
QPointer< QVBoxLayout > | m_layout_v |
Main layout of this widget. More... | |
QPointer< QVBoxLayout > | m_layout_option |
QPointer< QHBoxLayout > | m_layout_h |
QAction * | m_action_connect |
Action to connect to the server. More... | |
QAction * | m_action_disconnect |
Action to disconnect from the server. More... | |
QAction * | m_action_load_file |
Action to load a file. More... | |
QAction * | m_action_force_rendering |
Force Rendering button. More... | |
QPointer< QPushButton > | m_show_color_palette |
Button that show color selector. More... | |
QPointer< pqDisplayRepresentationWidget > | m_mesh_style |
ComboBox of dataRepresentation style. More... | |
QPointer< QComboBox > | m_preDefined_rotation |
Combobox of predefined rotation set. More... | |
QPointer< QComboBox > | m_list_selection |
Combobox of region selection type. More... | |
QPointer< pqPipelineSource > | m_source |
Source Pipeline is a flow from the source readed to show actor. More... | |
QList< QPointer< pqPipelineSource > > | m_source_list |
render window input Pipeline. More... | |
QPointer< pqRenderView > | m_RenderView |
View where the render is shown. More... | |
QPointer< QLineEdit > | m_port_line |
Server Port LineEdit. More... | |
QPointer< QLineEdit > | m_host_line |
Server Host LineEdit. More... | |
QPointer< pqDisplayColorWidget > | m_dataSet_selector |
Data set selector. More... | |
QPointer< pqColorScaleEditor > | m_scaleEdit |
Color scale selector. More... | |
QPointer< QGroupBox > | m_mesh_options |
Mesh group box options. More... | |
QPointer< QGroupBox > | m_regions_box |
Mesh group box options. More... | |
QPointer< QHBoxLayout > | m_layout_mesh_options |
Mesh group box options layout. More... | |
QPointer< QVBoxLayout > | m_layout_regions_box |
Regions group box layout. More... | |
QPointer< QListWidget > | m_actor_list |
Regions list. More... | |
QPointer< pqPipelineRepresentation > | m_representation |
Temporary Representation. More... | |
QPointer< QPushButton > | m_mesh_solid_color_set |
Solid Color Button. More... | |
QPointer< QDoubleSpinBox > | m_spin_opacity |
Current Region/Actor opacity spin box. More... | |
QPointer< QPushButton > | m_disp_adv_opt_button |
Display Advanced Option. (do not remove!) More... | |
QPointer< QPushButton > | m_gen_adv_opt_button |
General Advanced Option. (do not remove!) More... | |
QPointer< QPushButton > | m_serv_adv_opt_button |
Server Advanced Option. (do not remove!) More... | |
QPointer< QCheckBox > | m_checkbox_enable_rendering |
Auto Render checkbox. More... | |
QPointer< pqProgressManager > | progMgr |
Progress Manager (not used) More... | |
QList< QString > | m_paths_list |
Mesh path list. More... | |
Show a mesh rendered on a ParaViewTab server.
Definition at line 61 of file Widget3D.hpp.
Widget3D | ( | QWidget * | parent = 0 | ) |
Constructor
parent | Parent QWdiget. |
Creation Phase
Layout
Options
Progress Bar
Disposition Phase
Connection Phase
Definition at line 72 of file Widget3D.cpp.
|
privateslot |
Called when the current Region/Actor change.
Definition at line 727 of file Widget3D.cpp.
|
slot |
Connect client to paraview server.
host | Ip or name of the paraview server. |
port | Port used. |
Definition at line 311 of file Widget3D.cpp.
|
privateslot |
Ask connection options to user and try to connect to server host with port.
Definition at line 580 of file Widget3D.cpp.
|
private |
Create a pqPipelineSource with the path.
path | Path of files in server side. |
Definition at line 663 of file Widget3D.cpp.
|
private |
Create a view from server.
Definition at line 359 of file Widget3D.cpp.
|
privateslot |
Disconnect from current paraview server.
Definition at line 378 of file Widget3D.cpp.
|
privateslot |
|
privateslot |
Change the current Region/Actor opacity.
type | |
name | The current mash style name. |
Definition at line 830 of file Widget3D.cpp.
|
privateslot |
Force the mesh to render.
Definition at line 994 of file Widget3D.cpp.
|
slot |
Load Actor and set their names into Actor List.
paths | Vector of server path. |
names | Vector of names corresponding to paths. |
Definition at line 587 of file Widget3D.cpp.
|
privateslot |
Change the current Region/Actor opacity.
value | Value of opacity from 0 to 1. |
Definition at line 817 of file Widget3D.cpp.
|
private |
Create a reader for the defined PATH file on the server side ( .vtk or .ex2 )
file_path | Path of files in server side. |
file_name | Name of file in server side. |
Definition at line 349 of file Widget3D.cpp.
|
privateslot |
Definition at line 1011 of file Widget3D.cpp.
|
privateslot |
Reset camera.
Definition at line 559 of file Widget3D.cpp.
|
privateslot |
Set the Acor list selection mode.
mode | The chosen mode. |
Definition at line 1001 of file Widget3D.cpp.
|
privateslot |
Set a selected rotation
value | The value of the rotation set. |
Definition at line 512 of file Widget3D.cpp.
|
privateslot |
Set the rotation center, in center of the screen.
Definition at line 505 of file Widget3D.cpp.
|
privateslot |
Color Picker that change current Region/Actor color.
Definition at line 763 of file Widget3D.cpp.
|
privateslot |
Show Hide center axes.
Definition at line 841 of file Widget3D.cpp.
|
privateslot |
Show advanced options on advanced mode.
showAdv | Option visibility. |
Definition at line 1005 of file Widget3D.cpp.
|
privateslot |
Display View Camera settings.
Definition at line 835 of file Widget3D.cpp.
|
privateslot |
Show the color editor.
Definition at line 564 of file Widget3D.cpp.
|
privateslot |
Show a dialog window that ask for an host and port.
Definition at line 456 of file Widget3D.cpp.
|
privateslot |
Show advanced settings for the current display.
Definition at line 850 of file Widget3D.cpp.
|
privateslot |
Show general settings.
Definition at line 889 of file Widget3D.cpp.
|
privateslot |
Show or Hide the current Region/Actor
item | Item corresponding to the Region/Actor. |
Definition at line 694 of file Widget3D.cpp.
|
privateslot |
Show a dialog window that ask for a path file.
Definition at line 427 of file Widget3D.cpp.
|
privateslot |
Show server settings.
Definition at line 920 of file Widget3D.cpp.
|
privateslot |
Take a screen shot of the current view.
Definition at line 543 of file Widget3D.cpp.
|
private |
Action to connect to the server.
Definition at line 200 of file Widget3D.hpp.
|
private |
Action to disconnect from the server.
Definition at line 203 of file Widget3D.hpp.
|
private |
Force Rendering button.
Definition at line 209 of file Widget3D.hpp.
|
private |
Action to load a file.
Definition at line 206 of file Widget3D.hpp.
|
private |
Regions list.
Definition at line 257 of file Widget3D.hpp.
|
private |
Auto Render checkbox.
Definition at line 278 of file Widget3D.hpp.
|
private |
Initialising Application Core that manage all vtk and paraview Objects.
Definition at line 183 of file Widget3D.hpp.
|
private |
Data set selector.
Definition at line 239 of file Widget3D.hpp.
|
private |
Display Advanced Option. (do not remove!)
Definition at line 269 of file Widget3D.hpp.
|
private |
General Advanced Option. (do not remove!)
Definition at line 272 of file Widget3D.hpp.
|
private |
Server Host LineEdit.
Definition at line 236 of file Widget3D.hpp.
|
private |
Definition at line 197 of file Widget3D.hpp.
|
private |
Mesh group box options layout.
Definition at line 251 of file Widget3D.hpp.
|
private |
Definition at line 196 of file Widget3D.hpp.
|
private |
Regions group box layout.
Definition at line 254 of file Widget3D.hpp.
|
private |
Main layout of this widget.
Definition at line 195 of file Widget3D.hpp.
|
private |
Combobox of region selection type.
Definition at line 221 of file Widget3D.hpp.
|
private |
Mesh group box options.
Definition at line 245 of file Widget3D.hpp.
|
private |
Solid Color Button.
Definition at line 263 of file Widget3D.hpp.
|
private |
ComboBox of dataRepresentation style.
Definition at line 215 of file Widget3D.hpp.
|
private |
Object Builder create Object on server side and a ghost on client side.
Definition at line 186 of file Widget3D.hpp.
|
private |
Mesh path list.
Definition at line 284 of file Widget3D.hpp.
|
private |
Plugin manger that give acces to advenced object and view.
Definition at line 192 of file Widget3D.hpp.
|
private |
Server Port LineEdit.
Definition at line 233 of file Widget3D.hpp.
|
private |
Combobox of predefined rotation set.
Definition at line 218 of file Widget3D.hpp.
|
private |
Mesh group box options.
Definition at line 248 of file Widget3D.hpp.
|
private |
View where the render is shown.
Definition at line 230 of file Widget3D.hpp.
|
private |
Temporary Representation.
Definition at line 260 of file Widget3D.hpp.
|
private |
Color scale selector.
Definition at line 242 of file Widget3D.hpp.
|
private |
Server Advanced Option. (do not remove!)
Definition at line 275 of file Widget3D.hpp.
|
private |
Server connection.
Definition at line 189 of file Widget3D.hpp.
|
private |
Button that show color selector.
Definition at line 212 of file Widget3D.hpp.
|
private |
Source Pipeline is a flow from the source readed to show actor.
Definition at line 224 of file Widget3D.hpp.
|
private |
render window input Pipeline.
Definition at line 227 of file Widget3D.hpp.
|
private |
Current Region/Actor opacity spin box.
Definition at line 266 of file Widget3D.hpp.
|
private |
Progress Manager (not used)
Definition at line 281 of file Widget3D.hpp.
Send comments to: COOLFluiD Web Admin |