Back to index

salome-geom  6.5.0
Public Types | Public Member Functions
OperationGUI Class Reference

#include <OperationGUI.h>

List of all members.

Public Types

enum  ExtrudedFeatOperation { CUT = 1, BOSS = 2 }

Public Member Functions

 OperationGUI (GeometryGUI *)
 ~OperationGUI ()
bool OnGUIEvent (int, SUIT_Desktop *)

Detailed Description

Definition at line 36 of file OperationGUI.h.

Member Enumeration Documentation


Definition at line 39 of file OperationGUI.h.

{ CUT = 1, BOSS = 2 };

Constructor & Destructor Documentation

OperationGUI::OperationGUI ( GeometryGUI *  parent)

Definition at line 52 of file OperationGUI.cxx.

  GEOMGUI( parent )

Definition at line 61 of file OperationGUI.cxx.


Member Function Documentation

bool OperationGUI::OnGUIEvent ( int  theCommandID,
SUIT_Desktop *  parent 

Definition at line 70 of file OperationGUI.cxx.

  SalomeApp_Application* app = getGeometryGUI()->getApp();
  if (!app) return false;


  switch (theCommandID) {
  case GEOMOp::OpPartition:     (new OperationGUI_PartitionDlg       (getGeometryGUI(), parent))->show(); break;
  case GEOMOp::OpArchimede:     (new OperationGUI_ArchimedeDlg       (getGeometryGUI(), parent))->show(); break;
  case GEOMOp::OpFillet3d:      (new OperationGUI_FilletDlg          (getGeometryGUI(), parent))->show(); break;
  case GEOMOp::OpChamfer:       (new OperationGUI_ChamferDlg         (getGeometryGUI(), parent))->show(); break;
  case GEOMOp::OpClipping:      (new OperationGUI_ClippingDlg        (getGeometryGUI(), parent))->show(); break;
  case GEOMOp::OpShapesOnShape: (new OperationGUI_GetShapesOnShapeDlg(getGeometryGUI(), parent))->show(); break;
  case GEOMOp::OpSharedShapes:  (new OperationGUI_GetSharedShapesDlg (getGeometryGUI(), parent))->show(); break;
  case GEOMOp::OpExtrudedBoss:  (new OperationGUI_ExtrudedFeatureDlg (BOSS, getGeometryGUI(), parent))->show(); break;
  case GEOMOp::OpExtrudedCut:   (new OperationGUI_ExtrudedFeatureDlg (CUT, getGeometryGUI(), parent))->show(); break;
  case GEOMOp::OpFillet1d:      (new OperationGUI_Fillet1d2dDlg      (getGeometryGUI(), parent, true))->show(); break;
  case GEOMOp::OpFillet2d:      (new OperationGUI_Fillet1d2dDlg      (getGeometryGUI(), parent, false))->show(); break;

  return true;

The documentation for this class was generated from the following files: