Version: 6.3.1
Public Types | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes

VisuGUI Class Reference

#include <VisuGUI.h>

Inheritance diagram for VisuGUI:
Inheritance graph

Public Types

enum  PanelId { SelectionPanelId = 0, FeatureEdgesPanelId, ClippingPlanesPanelId }

Public Slots

virtual bool deactivateModule (SUIT_Study *)
virtual bool activateModule (SUIT_Study *)
virtual void OnEraseAll ()

Signals

void moduleDeactivated ()
void moduleActivated ()
void presentationCreated (VISU::Prs3d_i *thePrs)
void beforeObjectDelete (QString theEntry)

Public Member Functions

 VisuGUI ()
virtual ~VisuGUI ()
virtual LightApp_Displayerdisplayer ()
virtual void initialize (CAM_Application *)
virtual void windows (QMap< int, int > &) const
virtual void viewManagers (QStringList &) const
virtual QString engineIOR () const
virtual void studyActivated ()
virtual void contextMenuPopup (const QString &theClient, QMenu *theMenu, QString &theTitle)
virtual void createPreferences ()
virtual void preferencesChanged (const QString &, const QString &)
virtual SUIT_ViewManager * getViewManager (const QString &theType, const bool theIsCreate)
VISU::TViewToPrs3dgetScalarBarsMap ()
virtual bool renameAllowed (const QString &) const
 Return true if object can be renamed.
virtual bool renameObject (const QString &, const QString &)
 Return true if rename operation finished successfully, false otherwise.

Protected Slots

void OnImportFromFile ()
void OnImportTableFromFile ()
void OnExportTableToFile ()
void OnImportMedField ()
void OnLoadComponentData ()
void OnCreateMesh ()
void OnCreateScalarMap ()
void OnCreateDeformedShape ()
void OnCreateVectors ()
void OnCreateIsoSurfaces ()
void OnCreateCutPlanes ()
void OnCreateCutLines ()
void OnCreateCutSegment ()
void OnCreateStreamLines ()
void OnCreatePlot3D ()
void OnCreateManyMesh ()
void OnCreatePlot2dView ()
void OnCreateDeformedShapeAndScalarMap ()
void OnEditScalarMap ()
void OnEditDeformedShape ()
void OnEditCutPlanes ()
void OnEditCutLines ()
void OnEditCutSegment ()
void OnEditIsoSurfaces ()
void OnEditVectors ()
void OnEditStreamLines ()
void OnEditPlot3D ()
void OnEditDeformedShapeAndScalarMap ()
virtual void OnDisplayPrs ()
virtual void OnDisplayOnlyPrs ()
virtual void OnErasePrs ()
void OnToggleSelectionPanel ()
void OnSwitchSelectionMode ()
void OnSwitchSelectionMode (int)
void OnMakeSurfaceframe ()
void OnMakeInsideframe ()
void OnMakeWireframe ()
void OnMakeSurface ()
void OnMakePoints ()
void OnMakeShrink ()
void OnMakeFeatureEdges ()
void OnSetShadingOn ()
void OnSetShadingOff ()
void OnChangeColor ()
void OnChangeWireframeColor ()
void OnChangeOpacity ()
void OnChangeLines ()
void OnChangePointMarker ()
void OnChangeShrinkFactor ()
void OnShowTable ()
void OnShowTablePlot ()
void OnShowScalarBar ()
void OnHideScalarBar ()
void OnCreateTable ()
void OnDeleteObjects ()
void OnPlotData ()
void OnCurveProperties ()
void OnClearContainer ()
void OnEditContainer ()
void OnMergeScalarBars ()
void OnFreeScalarBars ()
virtual void OnSaveViewParams ()
virtual void OnRestoreViewParams ()
void OnClippingPlanes ()
void OnSweep ()
void OnParallelTimeAnimation ()
void OnSucccessiveTimeAnimation ()
void OnShowAnimation ()
void OnPointEvolution ()
void OnShowEvolution ()
void OnCopyPresentation ()
void OnTranslatePrs ()
void OnArrangeActors ()
void OnPlot3dFromCutPlane ()
void OnManageCache ()
void OnFilterScalars ()
void OnValuesLabeling ()
 SLOT called when "Labeling" popup menu item of presentation is clicked activates/deactivates labeling of results of the screen. This functionality works to numbering in SMESH module but is intended for showing results on the screen instead of elements numbers.
void OnValuesLabelingParams ()
 SLOT called when "Labeling parameters" popup menu item of presentation is clicked launch dialog box for changing parameters of labeling.
void OnArcQuadMode ()
 SLOT called when "2D Quadratic -> Arcs" popup menu item \ of presentation is cliked.
void OnLineQuadMode ()
 SLOT called when "2D Quadratic -> Lines" popup menu item \ of presentation is cliked.
void OnMultiprViewFullRes ()
void OnMultiprViewMediumRes ()
void OnMultiprViewLowRes ()
void OnMultiprViewHide ()
void OnMultiprChangeRes (VISU::Result::Resolution theResolution)
void OnFileInfo ()
void OnExportMED ()

Protected Member Functions

virtual LightApp_SelectioncreateSelection () const
virtual void processPresentationCreated (VISU::Prs3d_i *thePrs)
void OnTimeAnimation (VISU::Animation::AnimationMode theMode)

Private Member Functions

void createActions ()
void createMenus ()
void createToolBars ()
void createPopupMenus ()
void createPanels ()
void SetScalarBarVisibility (bool)
void activateAppropriateViewer (Handle(SALOME_InteractiveObject) theIO)
int addVtkFontPref (const QString &label, const int pId, const QString &param, const bool useSize)
 Adds preferences for dfont of VTK viewer.

Private Attributes

QMap< int, VisuGUI_Panel * > myPanels
VisuGUI_SlidermySlider
VisuGUI_SweepmySweep
LightApp_DisplayermyDisplayer
VISU::TViewToPrs3d myScalarBarsMap

Member Enumeration Documentation

Enumerator:
SelectionPanelId 
FeatureEdgesPanelId 
ClippingPlanesPanelId 

Constructor & Destructor Documentation

VisuGUI::VisuGUI ( )
VisuGUI::~VisuGUI ( ) [virtual]

Member Function Documentation

LightApp_Displayer * VisuGUI::displayer ( ) [virtual]
void VisuGUI::initialize ( CAM_Application *  theApp) [virtual]

Reimplemented in VisuGUI_Module.

References VISU_ACTOR_SELECTION.

void VisuGUI::windows ( QMap< int, int > &  theMap) const [virtual]
void VisuGUI::viewManagers ( QStringList &  theList) const [virtual]
QString VisuGUI::engineIOR ( ) const [virtual]
void VisuGUI::studyActivated ( ) [virtual]
void VisuGUI::contextMenuPopup ( const QString &  theClient,
QMenu *  theMenu,
QString &  theTitle 
) [virtual]
void VisuGUI::createPreferences ( ) [virtual]
void VisuGUI::preferencesChanged ( const QString &  a,
const QString &  b 
) [virtual]

Reimplemented in VisuGUI_Module.

References VISU.GetDesktop(), and VISU.GetResourceMgr().

SUIT_ViewManager * VisuGUI::getViewManager ( const QString &  theType,
const bool  theIsCreate 
) [virtual]

Reimplemented in VisuGUI_Module.

VISU::TViewToPrs3d & VisuGUI::getScalarBarsMap ( )
bool VisuGUI::renameAllowed ( const QString &  entry) const [virtual]
bool VisuGUI::renameObject ( const QString &  entry,
const QString &  name 
) [virtual]
void VisuGUI.moduleDeactivated ( ) [signal]
void VisuGUI.moduleActivated ( ) [signal]
void VisuGUI.presentationCreated ( VISU::Prs3d_i thePrs) [signal]
void VisuGUI.beforeObjectDelete ( QString  theEntry) [signal]
bool VisuGUI::deactivateModule ( SUIT_Study *  theStudy) [virtual, slot]
bool VisuGUI::activateModule ( SUIT_Study *  theStudy) [virtual, slot]
void VisuGUI::OnEraseAll ( ) [virtual, slot]
void VisuGUI::OnImportFromFile ( ) [protected, slot]
void VisuGUI::OnImportTableFromFile ( ) [protected, slot]
void VisuGUI::OnExportTableToFile ( ) [protected, slot]
void VisuGUI::OnImportMedField ( ) [protected, slot]
void VisuGUI::OnLoadComponentData ( ) [protected, slot]
void VisuGUI::OnCreateMesh ( ) [protected, slot]
void VisuGUI::OnCreateScalarMap ( ) [protected, slot]
void VisuGUI::OnCreateDeformedShape ( ) [protected, slot]
void VisuGUI::OnCreateVectors ( ) [protected, slot]
void VisuGUI::OnCreateIsoSurfaces ( ) [protected, slot]
void VisuGUI::OnCreateCutPlanes ( ) [protected, slot]
void VisuGUI::OnCreateCutLines ( ) [protected, slot]
void VisuGUI::OnCreateCutSegment ( ) [protected, slot]
void VisuGUI::OnCreateStreamLines ( ) [protected, slot]
void VisuGUI::OnCreatePlot3D ( ) [protected, slot]
void VisuGUI::OnCreateManyMesh ( ) [protected, slot]
void VisuGUI::OnCreatePlot2dView ( ) [protected, slot]
void VisuGUI::OnCreateDeformedShapeAndScalarMap ( ) [protected, slot]
void VisuGUI::OnEditScalarMap ( ) [protected, slot]

References Handle().

void VisuGUI::OnEditDeformedShape ( ) [protected, slot]

References VISU.EditPrs3d(), and Handle().

void VisuGUI::OnEditCutPlanes ( ) [protected, slot]

References Handle().

void VisuGUI::OnEditCutLines ( ) [protected, slot]

References Handle().

void VisuGUI::OnEditCutSegment ( ) [protected, slot]

References Handle().

void VisuGUI::OnEditIsoSurfaces ( ) [protected, slot]

References Handle().

void VisuGUI::OnEditVectors ( ) [protected, slot]

References Handle().

void VisuGUI::OnEditStreamLines ( ) [protected, slot]

References Handle().

void VisuGUI::OnEditPlot3D ( ) [protected, slot]

References Handle().

void VisuGUI::OnEditDeformedShapeAndScalarMap ( ) [protected, slot]

References Handle().

void VisuGUI::OnDisplayPrs ( ) [protected, virtual, slot]
void VisuGUI::OnDisplayOnlyPrs ( ) [protected, virtual, slot]

to correct IMP 0016100

References VISU.GetSelectionMgr(), Handle(), and VISU.OnEraseAll().

void VisuGUI::OnErasePrs ( ) [protected, virtual, slot]
void VisuGUI::OnToggleSelectionPanel ( ) [protected, slot]

References VISU.GetDesktop().

void VisuGUI::OnSwitchSelectionMode ( ) [protected, slot]
void VisuGUI::OnSwitchSelectionMode ( int  theId) [protected, slot]
void VisuGUI::OnMakeSurfaceframe ( ) [protected, slot]
void VisuGUI::OnMakeInsideframe ( ) [protected, slot]
void VisuGUI::OnMakeWireframe ( ) [protected, slot]
void VisuGUI::OnMakeSurface ( ) [protected, slot]
void VisuGUI::OnMakePoints ( ) [protected, slot]
void VisuGUI::OnMakeShrink ( ) [protected, slot]
void VisuGUI::OnMakeFeatureEdges ( ) [protected, slot]
void VisuGUI::OnSetShadingOn ( ) [protected, slot]

References VISU.SetShading().

void VisuGUI::OnSetShadingOff ( ) [protected, slot]

References VISU.SetShading().

void VisuGUI::OnChangeColor ( ) [protected, slot]
void VisuGUI::OnChangeWireframeColor ( ) [protected, slot]
void VisuGUI::OnChangeOpacity ( ) [protected, slot]
void VisuGUI::OnChangeLines ( ) [protected, slot]
void VisuGUI::OnChangePointMarker ( ) [protected, slot]
void VisuGUI::OnChangeShrinkFactor ( ) [protected, slot]
void VisuGUI::OnShowTable ( ) [protected, slot]
void VisuGUI::OnShowTablePlot ( ) [protected, slot]
void VisuGUI::OnShowScalarBar ( ) [protected, slot]
void VisuGUI::OnHideScalarBar ( ) [protected, slot]
void VisuGUI::OnCreateTable ( ) [protected, slot]
void VisuGUI::OnDeleteObjects ( ) [protected, slot]
void VisuGUI::OnPlotData ( ) [protected, slot]
void VisuGUI::OnCurveProperties ( ) [protected, slot]
void VisuGUI::OnClearContainer ( ) [protected, slot]
void VisuGUI::OnEditContainer ( ) [protected, slot]
void VisuGUI::OnMergeScalarBars ( ) [protected, slot]
void VisuGUI::OnFreeScalarBars ( ) [protected, slot]
void VisuGUI::OnSaveViewParams ( ) [protected, virtual, slot]
void VisuGUI::OnRestoreViewParams ( ) [protected, virtual, slot]
void VisuGUI::OnClippingPlanes ( ) [protected, slot]
void VisuGUI::OnSweep ( ) [protected, slot]
void VisuGUI::OnParallelTimeAnimation ( ) [protected, slot]
void VisuGUI::OnSucccessiveTimeAnimation ( ) [protected, slot]
void VisuGUI::OnShowAnimation ( ) [protected, slot]
void VisuGUI::OnPointEvolution ( ) [protected, slot]
void VisuGUI::OnShowEvolution ( ) [protected, slot]
void VisuGUI::OnCopyPresentation ( ) [protected, slot]
void VisuGUI::OnTranslatePrs ( ) [protected, slot]

References MESSAGE, and MYDEBUG.

void VisuGUI::OnArrangeActors ( ) [protected, slot]

References VISU.GetDesktop().

void VisuGUI::OnPlot3dFromCutPlane ( ) [protected, slot]
void VisuGUI::OnManageCache ( ) [protected, slot]
void VisuGUI::OnFilterScalars ( ) [protected, slot]
void VisuGUI::OnValuesLabeling ( ) [protected, slot]
void VisuGUI::OnValuesLabelingParams ( ) [protected, slot]
See also:
OnValuesLabeling()

References Handle().

void VisuGUI::OnArcQuadMode ( ) [protected, slot]
void VisuGUI::OnLineQuadMode ( ) [protected, slot]
void VisuGUI::OnMultiprViewFullRes ( ) [protected, slot]

References VISU.Result.FULL.

void VisuGUI::OnMultiprViewMediumRes ( ) [protected, slot]

References VISU.Result.MEDIUM.

void VisuGUI::OnMultiprViewLowRes ( ) [protected, slot]

References VISU.Result.LOW.

void VisuGUI::OnMultiprViewHide ( ) [protected, slot]

References VISU.Result.HIDDEN.

void VisuGUI::OnMultiprChangeRes ( VISU::Result::Resolution  theResolution) [protected, slot]
void VisuGUI::OnFileInfo ( ) [protected, slot]
void VisuGUI::OnExportMED ( ) [protected, slot]
LightApp_Selection * VisuGUI::createSelection ( ) const [protected, virtual]
void VisuGUI::processPresentationCreated ( VISU::Prs3d_i thePrs) [protected, virtual]
void VisuGUI::OnTimeAnimation ( VISU::Animation::AnimationMode  theMode) [protected]
void VisuGUI::createActions ( ) [private]

References batchmode_visu_table.aPixmap, VISU.GetResourceMgr(), VISU.OnEraseAll(), VISU_ACTOR_SELECTION, VISU_ARCQUAD_MODE, VISU_ARRANGE_ACTORS, VISU_CELL_COLOR, VISU_CELL_SELECTION, VISU_CLEAR_CONTAINER, VISU_CLIPPING, VISU_COLOR, VISU_COPY_PRS, VISU_CREATE_CURVES, VISU_CREATE_MANY_PRS, VISU_CREATE_PRS, VISU_CREATE_TABLE, VISU_CURVE_PROPS, VISU_CUT_LINES, VISU_CUT_PLANES, VISU_CUT_SEGMENT, VISU_DEFORMED_SHAPE, VISU_DEFORMED_SHAPE_AND_SCALAR_MAP, VISU_DELETE_OBJS, VISU_DISPLAY, VISU_DISPLAY_ONLY, VISU_EDGE_COLOR, VISU_EDIT_CONTAINER, VISU_EDIT_CUTLINES, VISU_EDIT_CUTPLANES, VISU_EDIT_CUTSEGMENT, VISU_EDIT_DEFORMEDSHAPE, VISU_EDIT_DEFORMEDSHAPEANDSCALARMAP, VISU_EDIT_ISOSURFACES, VISU_EDIT_PLOT3D, VISU_EDIT_POINTMAP3D, VISU_EDIT_SCALARMAP, VISU_EDIT_STREAMLINES, VISU_EDIT_VECTORS, VISU_ERASE, VISU_ERASE_ALL, VISU_EXPORT_MED, VISU_EXPORT_TABLE, VISU_FEATURE_EDGES, VISU_FILE_INFO, VISU_FILTERSCALARS, VISU_FREE_SCALAR_BARS, VISU_GAUSS_POINT_SELECTION, VISU_HIDE_SCALAR_BAR, VISU_IMPORT_FROM_FILE, VISU_IMPORT_MED_FIELD, VISU_IMPORT_MED_STRUCTURE, VISU_IMPORT_MED_TIMESTAMP, VISU_IMPORT_TABLE, VISU_INSIDEFRAME, VISU_ISO_SURFACES, VISU_LINE_WIDTH, VISU_LINEQUAD_MODE, VISU_LOAD_COMPONENT_DATA, VISU_MANAGE_CACHE, VISU_MERGE_SCALAR_BARS, VISU_MULTIPR_FULL_RES, VISU_MULTIPR_HIDE, VISU_MULTIPR_LOW_RES, VISU_MULTIPR_MED_RES, VISU_NOSHADING, VISU_OPACITY, VISU_PARALLELANIMATION, VISU_PLOT2D, VISU_PLOT3D_FROM_CUTPLANE, VISU_PLOT_3D, VISU_POINT_EVOLUTION, VISU_POINT_MARKER, VISU_POINT_SELECTION, VISU_POINTS, VISU_RESTORE_VIEW_PARAMS, VISU_SAVE_VIEW_PARAMS, VISU_SAVE_VIEW_PARAMS_1, VISU_SCALAR_MAP, VISU_SELECTION_PANEL, VISU_SHADING, VISU_SHOW_ANIMATION, VISU_SHOW_EVOLUTION, VISU_SHOW_SCALAR_BAR, VISU_SHOW_TABLE, VISU_SHRINK, VISU_SHRINK_FACTOR, VISU_SLIDER_PANEL, VISU_STREAM_LINES, VISU_SUCCCESSIVEANIMATION, VISU_SURFACE, VISU_SURFACEFRAME, VISU_SWEEP, VISU_SWEEP_PANEL, VISU_TRANSLATE_PRS, VISU_UNSHRINK, VISU_VALUES_LABELING, VISU_VALUES_LABELING_PARAMS, VISU_VECTORS, and VISU_WIREFRAME.

void VisuGUI::createMenus ( ) [private]
void VisuGUI::createToolBars ( ) [private]
void VisuGUI::createPopupMenus ( ) [private]

References VISU_ARCQUAD_MODE, VISU_ARRANGE_ACTORS, VISU_CELL_COLOR, VISU_CLEAR_CONTAINER, VISU_CLIPPING, VISU_COLOR, VISU_COPY_PRS, VISU_CREATE_CURVES, VISU_CREATE_MANY_PRS, VISU_CREATE_PRS, VISU_CREATE_TABLE, VISU_CURVE_PROPS, VISU_CUT_LINES, VISU_CUT_PLANES, VISU_CUT_SEGMENT, VISU_DEFORMED_SHAPE, VISU_DEFORMED_SHAPE_AND_SCALAR_MAP, VISU_DISPLAY, VISU_DISPLAY_ONLY, VISU_EDGE_COLOR, VISU_EDIT_CONTAINER, VISU_EDIT_CUTLINES, VISU_EDIT_CUTPLANES, VISU_EDIT_CUTSEGMENT, VISU_EDIT_DEFORMEDSHAPE, VISU_EDIT_DEFORMEDSHAPEANDSCALARMAP, VISU_EDIT_ISOSURFACES, VISU_EDIT_PLOT3D, VISU_EDIT_POINTMAP3D, VISU_EDIT_SCALARMAP, VISU_EDIT_STREAMLINES, VISU_EDIT_VECTORS, VISU_ERASE, VISU_EXPORT_MED, VISU_EXPORT_TABLE, VISU_FEATURE_EDGES, VISU_FILE_INFO, VISU_FILTERSCALARS, VISU_FREE_SCALAR_BARS, VISU_HIDE_SCALAR_BAR, VISU_IMPORT_FROM_FILE, VISU_IMPORT_TABLE, VISU_INSIDEFRAME, VISU_ISO_SURFACES, VISU_LINE_WIDTH, VISU_LINEQUAD_MODE, VISU_MERGE_SCALAR_BARS, VISU_MULTIPR_FULL_RES, VISU_MULTIPR_HIDE, VISU_MULTIPR_LOW_RES, VISU_MULTIPR_MED_RES, VISU_NOSHADING, VISU_OPACITY, VISU_PARALLELANIMATION, VISU_PLOT2D, VISU_PLOT_3D, VISU_POINT_EVOLUTION, VISU_POINT_MARKER, VISU_POINTS, VISU_RESTORE_VIEW_PARAMS, VISU_SAVE_VIEW_PARAMS, VISU_SAVE_VIEW_PARAMS_1, VISU_SCALAR_MAP, VISU_SHADING, VISU_SHOW_SCALAR_BAR, VISU_SHOW_TABLE, VISU_SHRINK, VISU_SHRINK_FACTOR, VISU_STREAM_LINES, VISU_SUCCCESSIVEANIMATION, VISU_SURFACE, VISU_SURFACEFRAME, VISU_SWEEP, VISU_TRANSLATE_PRS, VISU_UNSHRINK, VISU_VALUES_LABELING, VISU_VALUES_LABELING_PARAMS, VISU_VECTORS, and VISU_WIREFRAME.

void VisuGUI::createPanels ( ) [private]
void VisuGUI::SetScalarBarVisibility ( bool  theVisibility) [private]
void VisuGUI::activateAppropriateViewer ( Handle(SALOME_InteractiveObject)  theIO) [private]
int VisuGUI::addVtkFontPref ( const QString &  label,
const int  pId,
const QString &  param,
const bool  useSize 
) [private]
Parameters:
labellabel
pIfgroup identifier
paramparameter
Returns:
identifier of preferences

Field Documentation

QMap<int,VisuGUI_Panel*> VisuGUI.myPanels [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS