#include <EntityGUI_SketcherDlg.h>

Public Member Functions | |
| EntityGUI_SketcherDlg (GeometryGUI *, QWidget *=0, bool=false, Qt::WindowFlags=0, const double=2.) | |
| ~EntityGUI_SketcherDlg () | |
| bool | eventFilter (QObject *object, QEvent *event) |
Protected Member Functions | |
| void | initSpinBox (SalomeApp_DoubleSpinBox *, double, double, double=0.1, const char *quantity="length_precision") |
| virtual GEOM::GEOM_IOperations_ptr | createOperation () |
| virtual bool | isValid (QString &) |
| virtual bool | execute (ObjectList &) |
| void | closeEvent (QCloseEvent *) |
| void | keyPressEvent (QKeyEvent *) |
Private Types | |
| enum | SketchState { FIRST_POINT, NEXT_POINT } |
| enum | SketchType { PT_ABS, PT_RELATIVE, PT_SEL, PT_ABS_RADIUS, PT_REL_RADIUS, PT_SEL_RADIUS, PT_ABS_CENTER, PT_REL_CENTER, PT_SEL_CENTER, DIR_ANGLE_LENGTH, DIR_ANGLE_X, DIR_ANGLE_Y, DIR_PER_LENGTH, DIR_PER_X, DIR_PER_Y, DIR_TAN_LENGTH, DIR_TAN_X, DIR_TAN_Y, DIR_DXDY_LENGTH, DIR_DXDY_X, DIR_DXDY_Y } |
Private Slots | |
| void | ClickOnEnd () |
| void | ClickOnCancel () |
| bool | ClickOnApply () |
| void | ClickOnUndo () |
| void | ClickOnRedo () |
| void | ClickOnHelp () |
| void | LineEditReturnPressed () |
| void | SelectionIntoArgument () |
| void | SetEditCurrentArgument () |
| void | DeactivateActiveDialog () |
| void | ActivateThisDialog () |
| void | TypeClicked (int) |
| void | DestClicked (int) |
| void | PointClicked (int) |
| void | Point2Clicked (int) |
| void | Dir1Clicked (int) |
| void | Dir2Clicked (int) |
| void | CheckBoxClicked (int) |
| void | ValueChangedInSpinBox (double) |
| void | SetDoubleSpinBoxStep (double) |
| void | FindLocalCS () |
| gp_Ax3 | GetActiveLocalCS () |
| void | ActivateLocalCS () |
Private Member Functions | |
| void | Init () |
| void | enterEvent (QEvent *) |
| void | InitClick () |
| void | setEnabledUndo (bool) |
| void | setEnabledRedo (bool) |
| QString | GetNewCommand (QString &) |
| virtual void | displayPreview (GEOM::GEOM_Object_ptr, const bool=false, const bool=false, const bool=true, const double=-1, const int=-1, const int=-1) |
| bool | createShapes (GEOM::GEOM_Object_ptr, TopoDS_Shape &, TopoDS_Shape &) |
| void | display (const ObjectList &, const bool=true) |
| void | display (GEOM::GEOM_Object_ptr, const bool=true) |
| void | erase (const ObjectList &, const bool=true) |
| void | erase (GEOM::GEOM_Object_ptr, const bool=true) |
| void | redisplay (const ObjectList &, const bool=true, const bool=true) |
| void | redisplay (GEOM::GEOM_Object_ptr, const bool=true, const bool=true) |
| virtual void | displayPreview (const bool display, const bool activate=false, const bool update=true, const bool toRemoveFromEngine=true, const double lineWidth=-1, const int displayMode=-1, const int color=-1) |
| void | displayPreview (const SALOME_Prs *prs, const bool append=false, const bool=true) |
| void | erasePreview (const bool=true) |
| void | localSelection (const ObjectList &, const int) |
| void | localSelection (GEOM::GEOM_Object_ptr, const int) |
| void | activate (const int) |
| void | globalSelection (const int=GEOM_ALLOBJECTS, const bool=false) |
| void | globalSelection (const TColStd_MapOfInteger &, const bool=false) |
| void | globalSelection (const TColStd_MapOfInteger &, const QList< int > &, const bool=false) |
| void | updateViewer () |
| void | prepareSelection (const ObjectList &, const int) |
| void | prepareSelection (GEOM::GEOM_Object_ptr, const int) |
| QString | addInStudy (GEOM::GEOM_Object_ptr, const char *theName) |
| bool | openCommand () |
| bool | abortCommand () |
| bool | commitCommand (const char *=0) |
| bool | hasCommand () const |
| void | updateObjBrowser () const |
| int | getStudyId () const |
| SalomeApp_Study * | getStudy () const |
| bool | checkViewWindow () |
| bool | onAccept (const bool publish=true, const bool useTransaction=true) |
| void | showError () |
| void | showError (const QString &msg) |
| GEOM::GEOM_IOperations_ptr | getOperation () |
| void | setPrefix (const QString &prefix) |
| QString | getPrefix (GEOM::GEOM_Object_ptr=GEOM::GEOM_Object::_nil()) const |
| bool | selectObjects (ObjectList &objects) |
| virtual void | restoreSubShapes (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject) |
| virtual GEOM::GEOM_Object_ptr | getFather (GEOM::GEOM_Object_ptr theObj) |
| virtual QString | getNewObjectName () const |
| virtual bool | extractPrefix () const |
| virtual void | addSubshapesToStudy () |
| GEOM::GEOM_Object_ptr | findObjectInFather (GEOM::GEOM_Object_ptr theFather, const QString &theName) |
| GEOM::GEOM_Object_ptr | findObjectInFather (GEOM::GEOM_Object_ptr theFather, int theIndex) |
| GEOM::GeomObjPtr | getSelected (TopAbs_ShapeEnum type) |
| GEOM::GeomObjPtr | getSelected (const QList< TopAbs_ShapeEnum > &types) |
| QList< GEOM::GeomObjPtr > | getSelected (TopAbs_ShapeEnum type, int count, bool strict=true) |
| QList< GEOM::GeomObjPtr > | getSelected (const QList< TopAbs_ShapeEnum > &types, int count, bool strict=true) |
| void | SetIsPreview (const bool thePreview) |
| bool | IsPreview () |
| GEOM_Displayer * | getDisplayer () |
| SUIT_Desktop * | getDesktop () const |
| virtual void | setIsApplyAndClose (const bool theFlag) |
| virtual bool | isApplyAndClose () const |
| virtual void | setIsOptimizedBrowsing (const bool theFlag) |
| virtual bool | isOptimizedBrowsing () const |
Static Private Member Functions | |
| static GEOM::GEOM_Gen_ptr | getGeomEngine () |
Private Attributes | |
| int | myConstructorId |
| int | myConstructorDirId |
| int | myConstructorPntId |
| int | mySketchType |
| int | mySketchState |
| bool | myIsAllAdded |
| bool | myIsApply |
| QLineEdit * | myEditCurrentArgument |
| QStringList | myCommand |
| QStringList | myUndoCommand |
| QStringList | myParameters |
| QStringList | myUndoParameters |
| Standard_Real | myX |
| Standard_Real | myY |
| Standard_Real | myDX |
| Standard_Real | myDY |
| Standard_Real | myXc |
| Standard_Real | myYc |
| Standard_Real | myDXc |
| Standard_Real | myDYc |
| Standard_Real | myLength |
| Standard_Real | myAngle |
| Standard_Real | myRadius |
| Standard_Real | myLastX1 |
| Standard_Real | myLastY1 |
| Standard_Real | myLastX2 |
| Standard_Real | myLastY2 |
| QString | myXStr |
| QString | myYStr |
| QString | myDXStr |
| QString | myDYStr |
| QString | myXcStr |
| QString | myYcStr |
| QString | myDXcStr |
| QString | myDYcStr |
| QString | myLengthStr |
| QString | myAngleStr |
| QString | myRadiusStr |
| QString | myLastX1Str |
| QString | myLastY1Str |
| QString | myLastX2Str |
| QString | myLastY2Str |
| EntityGUI_Skeleton * | MainWidget |
| EntityGUI_Point * | GroupPt |
| EntityGUI_Point * | GroupPt2 |
| EntityGUI_Dir1 * | GroupD1 |
| EntityGUI_Dir2 * | GroupD2 |
| EntityGUI_1Sel * | Group1Sel |
| EntityGUI_2Sel1Check * | Group2Sel |
| EntityGUI_1Sel1Spin1Check * | Group1Sel1Spin |
| EntityGUI_1Spin * | Group1Spin |
| EntityGUI_2Spin * | Group2Spin |
| EntityGUI_3Spin1Check * | Group3Spin |
| EntityGUI_4Spin1Check * | Group4Spin |
| QLabel * | myErrLabel |
| QGroupBox * | GroupBox1 |
| QComboBox * | ComboBox1 |
| QPushButton * | planeButton |
| GeometryGUI * | myGeometryGUI |
| QString | myHelpFileName |
| double | myLineWidth |
| QList< gp_Ax3 > | myLCSList |
| int | myCheckFlag |
enum EntityGUI_SketcherDlg::SketchState [private] |
enum EntityGUI_SketcherDlg::SketchType [private] |
| EntityGUI_SketcherDlg::EntityGUI_SketcherDlg | ( | GeometryGUI * | GUI, |
| QWidget * | parent = 0, |
||
| bool | modal = false, |
||
| Qt::WindowFlags | fl = 0, |
||
| const double | lineWidth = 2. |
||
| ) |
References ActivateLocalCS(), EntityGUI_Dir2.ButtonGroup, EntityGUI_Dir1.ButtonGroup, EntityGUI_Point.ButtonGroup, EntityGUI_Skeleton.ButtonGroup, CheckBoxClicked(), ClickOnApply(), ClickOnCancel(), ClickOnEnd(), ClickOnHelp(), ClickOnRedo(), ClickOnUndo(), ComboBox1, DeactivateActiveDialog(), DestClicked(), Dir1Clicked(), Dir2Clicked(), Group1Sel, Group1Sel1Spin, Group1Spin, Group2Sel, Group2Spin, Group3Spin, Group4Spin, GroupBox1, GroupD1, GroupD2, GroupPt, GroupPt2, Init(), LineEditReturnPressed(), MainWidget, myGeometryGUI, planeButton, Point2Clicked(), PointClicked(), SelectionIntoArgument(), GeometryGUI.SetActiveDialogBox(), SetDoubleSpinBoxStep(), SetEditCurrentArgument(), TypeClicked(), and ValueChangedInSpinBox().
| EntityGUI_SketcherDlg::~EntityGUI_SketcherDlg | ( | ) |
References myGeometryGUI, and GeometryGUI.SetActiveDialogBox().
| bool EntityGUI_SketcherDlg::eventFilter | ( | QObject * | object, |
| QEvent * | event | ||
| ) |
References Group1Sel1Spin, Group1Spin, Group2Spin, Group3Spin, and Group4Spin.
| void EntityGUI_SketcherDlg::initSpinBox | ( | SalomeApp_DoubleSpinBox * | spinBox, |
| double | min, | ||
| double | max, | ||
| double | step = 0.1, |
||
| const char * | quantity = "length_precision" |
||
| ) | [protected] |
| GEOM::GEOM_IOperations_ptr EntityGUI_SketcherDlg::createOperation | ( | ) | [protected, virtual] |
Reimplemented from GEOMBase_Helper.
References GEOMBase_Helper.getGeomEngine(), and GEOMBase_Helper.getStudyId().
| bool EntityGUI_SketcherDlg::isValid | ( | QString & | msg | ) | [protected, virtual] |
Reimplemented from GEOMBase_Helper.
References Group1Sel1Spin, Group1Spin, Group2Spin, Group3Spin, Group4Spin, GEOMBase_Helper.IsPreview(), myIsApply, and GEOMBase_Helper.showError().
| bool EntityGUI_SketcherDlg::execute | ( | ObjectList & | objects | ) | [protected, virtual] |
Reimplemented from GEOMBase_Helper.
References FIRST_POINT, GetActiveLocalCS(), GetNewCommand(), GEOMBase_Helper.getOperation(), Sketcher_Profile.GetShape(), Group1Sel, Group1Sel1Spin, Group1Spin, Group2Sel, Group2Spin, Group3Spin, Group4Spin, GEOMBase_Helper.IsPreview(), myCommand, myIsAllAdded, myLastX1, myLastX2, myLastY1, myLastY2, myParameters, mySketchState, mySketchType, myX, myY, PT_ABS_CENTER, PT_REL_CENTER, PT_SEL_CENTER, GEOM_moteur.V1, GEOM_moteur.V2, and PAL_MESH_028_geometry.Vertices.
| void EntityGUI_SketcherDlg::closeEvent | ( | QCloseEvent * | e | ) | [protected] |
References myGeometryGUI.
| void EntityGUI_SketcherDlg::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
References ClickOnHelp().
| void EntityGUI_SketcherDlg::Init | ( | ) | [private] |
References ActivateLocalCS(), COORD_MAX, COORD_MIN, displayPreview(), FindLocalCS(), FIRST_POINT, GEOM_POINT, GEOMBase_Helper.globalSelection(), Group1Sel, Group1Sel1Spin, Group1Spin, Group2Spin, Group3Spin, Group4Spin, initSpinBox(), MainWidget, myCheckFlag, myCommand, myEditCurrentArgument, myHelpFileName, myLastX1, myLastX2, myLastY1, myLastY2, myLineWidth, mySketchState, myUndoCommand, setEnabledRedo(), setEnabledUndo(), and TypeClicked().
| void EntityGUI_SketcherDlg::enterEvent | ( | QEvent * | ) | [private] |
References ActivateThisDialog().
| void EntityGUI_SketcherDlg::InitClick | ( | ) | [private] |
References Group1Sel, Group1Sel1Spin, Group1Spin, Group2Sel, Group2Spin, Group3Spin, Group4Spin, myCheckFlag, and myGeometryGUI.
| void EntityGUI_SketcherDlg::setEnabledUndo | ( | bool | value | ) | [private] |
References Group1Sel, Group1Sel1Spin, Group1Spin, Group2Sel, Group2Spin, Group3Spin, and Group4Spin.
| void EntityGUI_SketcherDlg::setEnabledRedo | ( | bool | value | ) | [private] |
References Group1Sel, Group1Sel1Spin, Group1Spin, Group2Sel, Group2Spin, Group3Spin, and Group4Spin.
| QString EntityGUI_SketcherDlg::GetNewCommand | ( | QString & | theParameters | ) | [private] |
References DIR_ANGLE_LENGTH, DIR_ANGLE_X, DIR_ANGLE_Y, DIR_DXDY_LENGTH, DIR_DXDY_X, DIR_DXDY_Y, DIR_PER_LENGTH, DIR_PER_X, DIR_PER_Y, DIR_TAN_LENGTH, DIR_TAN_X, DIR_TAN_Y, FIRST_POINT, myAngle, myAngleStr, myCheckFlag, myConstructorId, myDX, myDXc, myDXcStr, myDXStr, myDY, myDYc, myDYcStr, myDYStr, myLength, myLengthStr, myRadius, myRadiusStr, mySketchState, mySketchType, myX, myXc, myXcStr, myXStr, myY, myYc, myYcStr, myYStr, PT_ABS, PT_ABS_CENTER, PT_ABS_RADIUS, PT_REL_CENTER, PT_REL_RADIUS, PT_RELATIVE, PT_SEL, PT_SEL_CENTER, and PT_SEL_RADIUS.
| void EntityGUI_SketcherDlg::displayPreview | ( | GEOM::GEOM_Object_ptr | object, |
| const bool | append = false, |
||
| const bool | activate = false, |
||
| const bool | update = true, |
||
| const double | lineWidth = -1, |
||
| const int | displayMode = -1, |
||
| const int | color = -1 |
||
| ) | [private, virtual] |
Reimplemented from GEOMBase_Helper.
References GEOM_Displayer.BuildPrs(), createShapes(), GEOMBase_Helper.displayPreview(), GEOMBase_Helper.getDisplayer(), myGeometryGUI, myLineWidth, GEOM_Displayer.SetColor(), GEOM_Displayer.SetName(), GEOM_Displayer.SetToActivate(), GEOM_Displayer.SetWidth(), and GEOM_Displayer.UnsetName().
| bool EntityGUI_SketcherDlg::createShapes | ( | GEOM::GEOM_Object_ptr | theObject, |
| TopoDS_Shape & | theApplyedWire, | ||
| TopoDS_Shape & | theLastSegment | ||
| ) | [private] |
References GEOMBase.GetShape(), Group1Sel, Group1Sel1Spin, Group1Spin, Group2Sel, Group2Spin, Group3Spin, and Group4Spin.
| void EntityGUI_SketcherDlg::ClickOnEnd | ( | ) | [private, slot] |
| void EntityGUI_SketcherDlg::ClickOnCancel | ( | ) | [private, slot] |
| bool EntityGUI_SketcherDlg::ClickOnApply | ( | ) | [private, slot] |
| void EntityGUI_SketcherDlg::ClickOnUndo | ( | ) | [private, slot] |
| void EntityGUI_SketcherDlg::ClickOnRedo | ( | ) | [private, slot] |
References displayPreview(), MainWidget, myCommand, myLineWidth, myParameters, mySketchState, myUndoCommand, myUndoParameters, NEXT_POINT, setEnabledRedo(), and setEnabledUndo().
| void EntityGUI_SketcherDlg::ClickOnHelp | ( | ) | [private, slot] |
References myGeometryGUI, and myHelpFileName.
| void EntityGUI_SketcherDlg::LineEditReturnPressed | ( | ) | [private, slot] |
References Group1Sel, Group1Sel1Spin, Group2Sel, myEditCurrentArgument, myGeometryGUI, and GEOMBase.SelectionByNameInDialogs().
| void EntityGUI_SketcherDlg::SelectionIntoArgument | ( | ) | [private, slot] |
References ActivateLocalCS(), ComboBox1, GEOMBase.ConvertIOinGEOMObject(), displayPreview(), FIRST_POINT, GetActiveLocalCS(), GEOMBase.GetName(), GEOMBase.GetShape(), Group1Sel, Group1Sel1Spin, Group2Sel, Group2Spin, Group3Spin, Group4Spin, myEditCurrentArgument, myGeometryGUI, myLastX1, myLastY1, myLineWidth, mySketchState, mySketchType, myX, myXc, myY, myYc, PT_ABS, PT_RELATIVE, ValueChangedInSpinBox(), and GEOMBase.VertexToPoint().
| void EntityGUI_SketcherDlg::SetEditCurrentArgument | ( | ) | [private, slot] |
References Group1Sel, Group1Sel1Spin, Group2Sel, myEditCurrentArgument, and SelectionIntoArgument().
| void EntityGUI_SketcherDlg::DeactivateActiveDialog | ( | ) | [private, slot] |
References GEOMBase_Helper.globalSelection(), myGeometryGUI, and GeometryGUI.SetActiveDialogBox().
| void EntityGUI_SketcherDlg::ActivateThisDialog | ( | ) | [private, slot] |
| void EntityGUI_SketcherDlg::TypeClicked | ( | int | constructorId | ) | [private, slot] |
References DestClicked(), GroupD2, GroupPt2, MainWidget, and myConstructorId.
| void EntityGUI_SketcherDlg::DestClicked | ( | int | constructorId | ) | [private, slot] |
References Dir1Clicked(), Group3Spin, Group4Spin, GroupD1, GroupD2, GroupPt, GroupPt2, and PointClicked().
| void EntityGUI_SketcherDlg::PointClicked | ( | int | constructorId | ) | [private, slot] |
References EntityGUI_Point.ButtonGroup, GroupPt, GroupPt2, myConstructorPntId, and Point2Clicked().
| void EntityGUI_SketcherDlg::Point2Clicked | ( | int | constructorId | ) | [private, slot] |
References COORD_MAX, COORD_MIN, displayPreview(), Group1Sel, Group1Sel1Spin, Group2Sel, Group2Spin, Group3Spin, Group4Spin, InitClick(), initSpinBox(), myConstructorPntId, myDX, myDXc, myDY, myDYc, myEditCurrentArgument, myGeometryGUI, myLineWidth, myRadius, mySketchType, myX, myXc, myY, myYc, PT_ABS, PT_ABS_CENTER, PT_ABS_RADIUS, PT_REL_CENTER, PT_REL_RADIUS, PT_RELATIVE, PT_SEL, PT_SEL_CENTER, PT_SEL_RADIUS, and SelectionIntoArgument().
| void EntityGUI_SketcherDlg::Dir1Clicked | ( | int | constructorId | ) | [private, slot] |
References EntityGUI_Dir2.ButtonGroup, Dir2Clicked(), GroupD2, and myConstructorDirId.
| void EntityGUI_SketcherDlg::Dir2Clicked | ( | int | constructorId | ) | [private, slot] |
References COORD_MAX, COORD_MIN, DIR_ANGLE_LENGTH, DIR_ANGLE_X, DIR_ANGLE_Y, DIR_DXDY_LENGTH, DIR_DXDY_X, DIR_DXDY_Y, DIR_PER_LENGTH, DIR_PER_X, DIR_PER_Y, DIR_TAN_LENGTH, DIR_TAN_X, DIR_TAN_Y, displayPreview(), Group1Spin, Group2Spin, Group3Spin, Group4Spin, InitClick(), initSpinBox(), myAngle, myConstructorDirId, myConstructorId, myDX, myDY, myLength, myLineWidth, myRadius, mySketchType, myX, and myY.
| void EntityGUI_SketcherDlg::CheckBoxClicked | ( | int | State | ) | [private, slot] |
References displayPreview(), myCheckFlag, and myLineWidth.
| void EntityGUI_SketcherDlg::ValueChangedInSpinBox | ( | double | newValue | ) | [private, slot] |
References DIR_ANGLE_LENGTH, DIR_ANGLE_X, DIR_ANGLE_Y, DIR_DXDY_LENGTH, DIR_DXDY_X, DIR_DXDY_Y, DIR_PER_LENGTH, DIR_PER_X, DIR_PER_Y, DIR_TAN_LENGTH, DIR_TAN_X, DIR_TAN_Y, displayPreview(), Group1Sel1Spin, Group1Spin, Group2Spin, Group3Spin, Group4Spin, myAngle, myAngleStr, myConstructorId, myDX, myDXc, myDXcStr, myDXStr, myDY, myDYc, myDYcStr, myDYStr, myLastX1, myLastY1, myLength, myLengthStr, myLineWidth, myRadius, myRadiusStr, mySketchType, myX, myXc, myXcStr, myXStr, myY, myYc, myYcStr, myYStr, PT_ABS, PT_ABS_CENTER, PT_ABS_RADIUS, PT_REL_CENTER, PT_REL_RADIUS, PT_RELATIVE, PT_SEL_RADIUS, and GEOM_Partition5.vy.
| void EntityGUI_SketcherDlg::SetDoubleSpinBoxStep | ( | double | step | ) | [private, slot] |
References Group1Sel1Spin, Group1Spin, Group2Spin, Group3Spin, and Group4Spin.
| void EntityGUI_SketcherDlg::FindLocalCS | ( | ) | [private, slot] |
| gp_Ax3 EntityGUI_SketcherDlg::GetActiveLocalCS | ( | ) | [private, slot] |
References ComboBox1, GeometryGUI.GetWorkingPlane(), GEOM_example.ind, myGeometryGUI, and myLCSList.
| void EntityGUI_SketcherDlg::ActivateLocalCS | ( | ) | [private, slot] |
| GEOM::GEOM_Gen_ptr GEOMBase_Helper::getGeomEngine | ( | ) | [static, protected, inherited] |
References GeometryGUI.GetGeomGen().
| void GEOMBase_Helper::display | ( | const ObjectList & | objList, |
| const bool | updateView = true |
||
| ) | [protected, inherited] |
References GEOMBase_Helper.getDisplayer().
| void GEOMBase_Helper::display | ( | GEOM::GEOM_Object_ptr | object, |
| const bool | updateView = true |
||
| ) | [protected, inherited] |
| void GEOMBase_Helper::erase | ( | const ObjectList & | objList, |
| const bool | updateView = true |
||
| ) | [protected, inherited] |
References GEOMBase_Helper.getDisplayer().
| void GEOMBase_Helper::erase | ( | GEOM::GEOM_Object_ptr | object, |
| const bool | updateView = true |
||
| ) | [protected, inherited] |
| void GEOMBase_Helper::redisplay | ( | const ObjectList & | objList, |
| const bool | withChildren = true, |
||
| const bool | updateView = true |
||
| ) | [protected, inherited] |
References GEOMBase_Helper.getDisplayer().
| void GEOMBase_Helper::redisplay | ( | GEOM::GEOM_Object_ptr | object, |
| const bool | withChildren = true, |
||
| const bool | updateView = true |
||
| ) | [protected, inherited] |
| void GEOMBase_Helper::displayPreview | ( | const bool | display, |
| const bool | activate = false, |
||
| const bool | update = true, |
||
| const bool | toRemoveFromEngine = true, |
||
| const double | lineWidth = -1, |
||
| const int | displayMode = -1, |
||
| const int | color = -1 |
||
| ) | [protected, virtual, inherited] |
| void GEOMBase_Helper::displayPreview | ( | const SALOME_Prs * | prs, |
| const bool | append = false, |
||
| const bool | update = true |
||
| ) | [protected, inherited] |
| void GEOMBase_Helper::erasePreview | ( | const bool | update = true | ) | [protected, inherited] |
| void GEOMBase_Helper::localSelection | ( | const ObjectList & | theObjs, |
| const int | theMode | ||
| ) | [protected, inherited] |
| void GEOMBase_Helper::localSelection | ( | GEOM::GEOM_Object_ptr | obj, |
| const int | mode | ||
| ) | [protected, inherited] |
| void GEOMBase_Helper::activate | ( | const int | theType | ) | [protected, inherited] |
| void GEOMBase_Helper::globalSelection | ( | const int | theMode = GEOM_ALLOBJECTS, |
| const bool | update = false |
||
| ) | [protected, inherited] |
References GEOMBase_Helper.getDisplayer(), and GEOM_Displayer.GlobalSelection().
| void GEOMBase_Helper::globalSelection | ( | const TColStd_MapOfInteger & | theModes, |
| const bool | update = false |
||
| ) | [protected, inherited] |
References GEOMBase_Helper.getDisplayer(), and GEOM_Displayer.GlobalSelection().
| void GEOMBase_Helper::globalSelection | ( | const TColStd_MapOfInteger & | theModes, |
| const QList< int > & | subShapes, | ||
| const bool | update = false |
||
| ) | [protected, inherited] |
References GEOMBase_Helper.getDisplayer(), and GEOM_Displayer.GlobalSelection().
| void GEOMBase_Helper::updateViewer | ( | ) | [protected, inherited] |
References GEOMBase_Helper.getDisplayer().
| void GEOMBase_Helper.prepareSelection | ( | const ObjectList & | , |
| const int | |||
| ) | [protected, inherited] |
| void GEOMBase_Helper.prepareSelection | ( | GEOM::GEOM_Object_ptr | , |
| const int | |||
| ) | [protected, inherited] |
| QString GEOMBase_Helper::addInStudy | ( | GEOM::GEOM_Object_ptr | theObj, |
| const char * | theName | ||
| ) | [protected, inherited] |
| bool GEOMBase_Helper::openCommand | ( | ) | [protected, inherited] |
| bool GEOMBase_Helper::abortCommand | ( | ) | [protected, inherited] |
References GEOMBase_Helper.hasCommand(), and GEOMBase_Helper.myCommand.
| bool GEOMBase_Helper::commitCommand | ( | const char * | = 0 | ) | [protected, inherited] |
References GEOMBase_Helper.hasCommand(), and GEOMBase_Helper.myCommand.
| bool GEOMBase_Helper::hasCommand | ( | ) | const [protected, inherited] |
References GEOMBase_Helper.myCommand.
| void GEOMBase_Helper::updateObjBrowser | ( | ) | const [protected, inherited] |
| int GEOMBase_Helper::getStudyId | ( | ) | const [protected, inherited] |
References GEOMBase_Helper.getStudy().
| SalomeApp_Study * GEOMBase_Helper::getStudy | ( | ) | const [protected, inherited] |
References GEOMBase_Helper.getDesktop().
| bool GEOMBase_Helper::checkViewWindow | ( | ) | [protected, inherited] |
References GEOMBase_Helper.myViewWindow.
| bool GEOMBase_Helper::onAccept | ( | const bool | publish = true, |
| const bool | useTransaction = true |
||
| ) | [protected, inherited] |
References GEOMBase_Helper.abortCommand(), GEOMBase_Helper.addInStudy(), GEOMBase_Helper.addSubshapesToStudy(), GEOMBase_Helper.clearShapeBuffer(), GEOMBase_Helper.commitCommand(), GEOMBase_Helper.display(), GEOMBase_Helper.erasePreview(), GEOMBase_Helper.execute(), GEOMBase_Helper.extractPrefix(), GEOMBase.GetDefaultName(), GEOMBase_Helper.getNewObjectName(), GEOMBase_Helper.getOperation(), GEOMBase_Helper.getPrefix(), GEOMBase_Helper.isApplyAndClose(), GEOMBase_Helper.isOptimizedBrowsing(), GEOMBase_Helper.isValid(), GEOMBase_Helper.openCommand(), GEOMBase_Helper.redisplay(), GEOMBase_Helper.showError(), GEOMBase_Helper.updateObjBrowser(), and GEOMBase_Helper.updateViewer().
| void GEOMBase_Helper::showError | ( | ) | [protected, inherited] |
References GEOMBase_Helper.getOperation().
| void GEOMBase_Helper::showError | ( | const QString & | msg | ) | [protected, inherited] |
| GEOM::GEOM_IOperations_ptr GEOMBase_Helper::getOperation | ( | ) | [protected, inherited] |
References GEOMBase_Helper.createOperation(), and GEOMBase_Helper.myOperation.
| void GEOMBase_Helper.setPrefix | ( | const QString & | prefix | ) | [protected, inherited] |
| QString GEOMBase_Helper::getPrefix | ( | GEOM::GEOM_Object_ptr | theObj = GEOM::GEOM_Object::_nil() | ) | const [protected, inherited] |
References GEOM.COMPOUND, GEOM.COMPSOLID, GEOM.EDGE, GEOM.FACE, GEOMBase_Helper.myPrefix, GEOM.SHELL, GEOM.SOLID, GEOM.VERTEX, and GEOM.WIRE.
| bool GEOMBase_Helper::selectObjects | ( | ObjectList & | objects | ) | [protected, inherited] |
References GEOMBase_Helper.getEntry().
| void GEOMBase_Helper::restoreSubShapes | ( | SALOMEDS::Study_ptr | theStudy, |
| SALOMEDS::SObject_ptr | theSObject | ||
| ) | [protected, virtual, inherited] |
Reimplemented in AdvancedGUI_PipeTShapeDlg, BooleanGUI_Dialog, BuildGUI_CompoundDlg, OperationGUI_PartitionDlg, RepairGUI_GlueDlg, RepairGUI_LimitToleranceDlg, RepairGUI_RemoveExtraEdgesDlg, RepairGUI_SuppressFacesDlg, TransformationGUI_MirrorDlg, TransformationGUI_MultiRotationDlg, TransformationGUI_MultiTranslationDlg, TransformationGUI_OffsetDlg, TransformationGUI_PositionDlg, TransformationGUI_RotationDlg, TransformationGUI_ScaleDlg, and TransformationGUI_TranslationDlg.
| GEOM::GEOM_Object_ptr GEOMBase_Helper::getFather | ( | GEOM::GEOM_Object_ptr | theObj | ) | [protected, virtual, inherited] |
Reimplemented in BlocksGUI_ExplodeDlg, BlocksGUI_PropagateDlg, EntityGUI_SubShapeDlg, GroupGUI_GroupDlg, and OperationGUI_GetSharedShapesDlg.
| QString GEOMBase_Helper::getNewObjectName | ( | ) | const [protected, virtual, inherited] |
Reimplemented in BlocksGUI_ExplodeDlg, EntityGUI_SubShapeDlg, and GEOMBase_Skeleton.
| bool GEOMBase_Helper::extractPrefix | ( | ) | const [protected, virtual, inherited] |
Reimplemented in GenerationGUI_PipeDlg, GenerationGUI_PrismDlg, and GenerationGUI_RevolDlg.
| void GEOMBase_Helper::addSubshapesToStudy | ( | ) | [protected, virtual, inherited] |
Reimplemented in BasicGUI_ArcDlg, BasicGUI_CircleDlg, BasicGUI_CurveDlg, BasicGUI_EllipseDlg, BasicGUI_LineDlg, BasicGUI_MarkerDlg, BasicGUI_PlaneDlg, BasicGUI_PointDlg, BasicGUI_VectorDlg, BlocksGUI_BlockDlg, BlocksGUI_QuadFaceDlg, BuildGUI_EdgeDlg, BuildGUI_WireDlg, GenerationGUI_PipeDlg, GenerationGUI_PrismDlg, GenerationGUI_RevolDlg, PrimitiveGUI_BoxDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_DiskDlg, PrimitiveGUI_FaceDlg, PrimitiveGUI_SphereDlg, PrimitiveGUI_TorusDlg, TransformationGUI_MirrorDlg, TransformationGUI_MultiRotationDlg, TransformationGUI_MultiTranslationDlg, TransformationGUI_PositionDlg, TransformationGUI_RotationDlg, TransformationGUI_ScaleDlg, and TransformationGUI_TranslationDlg.
| GEOM::GEOM_Object_ptr GEOMBase_Helper::findObjectInFather | ( | GEOM::GEOM_Object_ptr | theFather, |
| const QString & | theName | ||
| ) | [protected, inherited] |
References GeometryGUI.ClientSObjectToObject(), and GEOMBase.GetIORFromObject().
| GEOM::GEOM_Object_ptr GEOMBase_Helper::findObjectInFather | ( | GEOM::GEOM_Object_ptr | theFather, |
| int | theIndex | ||
| ) | [protected, inherited] |
| GEOM::GeomObjPtr GEOMBase_Helper::getSelected | ( | TopAbs_ShapeEnum | type | ) | [protected, inherited] |
| GEOM::GeomObjPtr GEOMBase_Helper::getSelected | ( | const QList< TopAbs_ShapeEnum > & | types | ) | [protected, inherited] |
References GEOMBase_Helper.getSelected().
| QList< GEOM::GeomObjPtr > GEOMBase_Helper::getSelected | ( | TopAbs_ShapeEnum | type, |
| int | count, | ||
| bool | strict = true |
||
| ) | [protected, inherited] |
References GEOMBase_Helper.getSelected().
| QList< GEOM::GeomObjPtr > GEOMBase_Helper::getSelected | ( | const QList< TopAbs_ShapeEnum > & | types, |
| int | count, | ||
| bool | strict = true |
||
| ) | [protected, inherited] |
| void GEOMBase_Helper.SetIsPreview | ( | const bool | thePreview | ) | [protected, inherited] |
| bool GEOMBase_Helper.IsPreview | ( | ) | [protected, inherited] |
| GEOM_Displayer * GEOMBase_Helper::getDisplayer | ( | ) | [protected, inherited] |
Reimplemented in MeasureGUI_Skeleton, and RepairGUI_FreeFacesDlg.
References GEOMBase_Helper.getStudy(), and GEOMBase_Helper.myDisplayer.
| SUIT_Desktop * GEOMBase_Helper::getDesktop | ( | ) | const [protected, inherited] |
References GEOMBase_Helper.myDesktop.
| void GEOMBase_Helper::setIsApplyAndClose | ( | const bool | theFlag | ) | [protected, virtual, inherited] |
References GEOMBase_Helper.myIsApplyAndClose.
| bool GEOMBase_Helper::isApplyAndClose | ( | ) | const [protected, virtual, inherited] |
References GEOMBase_Helper.myIsApplyAndClose.
| void GEOMBase_Helper::setIsOptimizedBrowsing | ( | const bool | theFlag | ) | [protected, virtual, inherited] |
References GEOMBase_Helper.myIsOptimizedBrowsing.
| bool GEOMBase_Helper::isOptimizedBrowsing | ( | ) | const [protected, virtual, inherited] |
References GEOMBase_Helper.myIsOptimizedBrowsing.
int EntityGUI_SketcherDlg.myConstructorId [private] |
int EntityGUI_SketcherDlg.myConstructorDirId [private] |
int EntityGUI_SketcherDlg.myConstructorPntId [private] |
int EntityGUI_SketcherDlg.mySketchType [private] |
int EntityGUI_SketcherDlg.mySketchState [private] |
bool EntityGUI_SketcherDlg.myIsAllAdded [private] |
bool EntityGUI_SketcherDlg.myIsApply [private] |
QLineEdit* EntityGUI_SketcherDlg.myEditCurrentArgument [private] |
QStringList EntityGUI_SketcherDlg.myCommand [private] |
Reimplemented from GEOMBase_Helper.
QStringList EntityGUI_SketcherDlg.myUndoCommand [private] |
QStringList EntityGUI_SketcherDlg.myParameters [private] |
QStringList EntityGUI_SketcherDlg.myUndoParameters [private] |
Standard_Real EntityGUI_SketcherDlg.myX [private] |
Standard_Real EntityGUI_SketcherDlg.myY [private] |
Standard_Real EntityGUI_SketcherDlg.myDX [private] |
Standard_Real EntityGUI_SketcherDlg.myDY [private] |
Standard_Real EntityGUI_SketcherDlg.myXc [private] |
Standard_Real EntityGUI_SketcherDlg.myYc [private] |
Standard_Real EntityGUI_SketcherDlg.myDXc [private] |
Standard_Real EntityGUI_SketcherDlg.myDYc [private] |
Standard_Real EntityGUI_SketcherDlg.myLength [private] |
Standard_Real EntityGUI_SketcherDlg.myAngle [private] |
Standard_Real EntityGUI_SketcherDlg.myRadius [private] |
Standard_Real EntityGUI_SketcherDlg.myLastX1 [private] |
Standard_Real EntityGUI_SketcherDlg.myLastY1 [private] |
Standard_Real EntityGUI_SketcherDlg.myLastX2 [private] |
Standard_Real EntityGUI_SketcherDlg.myLastY2 [private] |
QString EntityGUI_SketcherDlg.myXStr [private] |
QString EntityGUI_SketcherDlg.myYStr [private] |
QString EntityGUI_SketcherDlg.myDXStr [private] |
QString EntityGUI_SketcherDlg.myDYStr [private] |
QString EntityGUI_SketcherDlg.myXcStr [private] |
QString EntityGUI_SketcherDlg.myYcStr [private] |
QString EntityGUI_SketcherDlg.myDXcStr [private] |
QString EntityGUI_SketcherDlg.myDYcStr [private] |
QString EntityGUI_SketcherDlg.myLengthStr [private] |
QString EntityGUI_SketcherDlg.myAngleStr [private] |
QString EntityGUI_SketcherDlg.myRadiusStr [private] |
QString EntityGUI_SketcherDlg.myLastX1Str [private] |
QString EntityGUI_SketcherDlg.myLastY1Str [private] |
QString EntityGUI_SketcherDlg.myLastX2Str [private] |
QString EntityGUI_SketcherDlg.myLastY2Str [private] |
EntityGUI_Point* EntityGUI_SketcherDlg.GroupPt [private] |
EntityGUI_Point* EntityGUI_SketcherDlg.GroupPt2 [private] |
EntityGUI_Dir1* EntityGUI_SketcherDlg.GroupD1 [private] |
EntityGUI_Dir2* EntityGUI_SketcherDlg.GroupD2 [private] |
EntityGUI_1Sel* EntityGUI_SketcherDlg.Group1Sel [private] |
EntityGUI_1Spin* EntityGUI_SketcherDlg.Group1Spin [private] |
EntityGUI_2Spin* EntityGUI_SketcherDlg.Group2Spin [private] |
QLabel* EntityGUI_SketcherDlg.myErrLabel [private] |
QGroupBox* EntityGUI_SketcherDlg.GroupBox1 [private] |
QComboBox* EntityGUI_SketcherDlg.ComboBox1 [private] |
QPushButton* EntityGUI_SketcherDlg.planeButton [private] |
GeometryGUI* EntityGUI_SketcherDlg.myGeometryGUI [private] |
QString EntityGUI_SketcherDlg.myHelpFileName [private] |
double EntityGUI_SketcherDlg.myLineWidth [private] |
QList<gp_Ax3> EntityGUI_SketcherDlg.myLCSList [private] |
int EntityGUI_SketcherDlg.myCheckFlag [private] |