#include <RepairGUI_FreeFacesDlg.h>

Public Member Functions | |
| RepairGUI_FreeFacesDlg (GeometryGUI *, QWidget *=0, bool=false) | |
| ~RepairGUI_FreeFacesDlg () | |
Protected Member Functions | |
| virtual GEOM::GEOM_IOperations_ptr | createOperation () |
| virtual bool | isValid (QString &) |
| virtual bool | execute (ObjectList &) |
| 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) |
| virtual void | displayPreview (GEOM::GEOM_Object_ptr obj, const bool append=false, const bool activate=false, const bool update=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 () |
| 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 Protected Member Functions | |
| static GEOM::GEOM_Gen_ptr | getGeomEngine () |
Private Slots | |
| void | onClose () |
| void | onHelp () |
| void | onDeactivate () |
| void | onActivate () |
| void | onSelectionDone () |
| void | onSetEditCurrentArgument () |
Private Member Functions | |
| void | Init () |
| void | enterEvent (QEvent *) |
| void | closeEvent (QCloseEvent *) |
| void | keyPressEvent (QKeyEvent *) |
| void | activateSelection () |
| GEOM_Displayer * | getDisplayer () |
Private Attributes | |
| GEOM_Displayer * | myDisplayer |
| GEOM::GEOM_Object_var | myObj |
| QPushButton * | mySelBtn |
| QLineEdit * | myEdit |
| GeometryGUI * | myGeomGUI |
| QString | myHelpFileName |
| RepairGUI_FreeFacesDlg::RepairGUI_FreeFacesDlg | ( | GeometryGUI * | GUI, |
| QWidget * | parent = 0, |
||
| bool | modal = false |
||
| ) |
References Init(), MARGIN, MIN_WIDTH, myEdit, myHelpFileName, mySelBtn, onClose(), onHelp(), onSetEditCurrentArgument(), and SPACING.
| RepairGUI_FreeFacesDlg::~RepairGUI_FreeFacesDlg | ( | ) |
| GEOM::GEOM_IOperations_ptr RepairGUI_FreeFacesDlg::createOperation | ( | ) | [protected, virtual] |
Reimplemented from GEOMBase_Helper.
References GEOMBase_Helper.getGeomEngine(), and GEOMBase_Helper.getStudyId().
| bool RepairGUI_FreeFacesDlg::isValid | ( | QString & | ) | [protected, virtual] |
Reimplemented from GEOMBase_Helper.
References myObj.
| bool RepairGUI_FreeFacesDlg::execute | ( | ObjectList & | objects | ) | [protected, virtual] |
Reimplemented from GEOMBase_Helper.
References GEOM_Displayer.BuildPrs(), GEOMBase_Helper.displayPreview(), GEOMBase_Helper.erasePreview(), getDisplayer(), GEOMBase.GetName(), GEOMBase_Helper.getOperation(), GEOMBase.GetShape(), PAL_MESH_030_geometry.i, isValid(), MapShapes(), myEdit, myObj, GEOM_Displayer.SetColor(), and GEOM_Displayer.SetToActivate().
| void RepairGUI_FreeFacesDlg::Init | ( | ) | [private] |
References activateSelection(), myGeomGUI, myObj, onDeactivate(), and onSelectionDone().
| void RepairGUI_FreeFacesDlg::enterEvent | ( | QEvent * | ) | [private] |
References onActivate().
| void RepairGUI_FreeFacesDlg::closeEvent | ( | QCloseEvent * | ) | [private] |
References onClose().
| void RepairGUI_FreeFacesDlg::keyPressEvent | ( | QKeyEvent * | e | ) | [private] |
References onHelp().
| void RepairGUI_FreeFacesDlg::activateSelection | ( | ) | [private] |
References GEOM_COMPOUND, GEOM_SOLID, and GEOMBase_Helper.globalSelection().
| GEOM_Displayer * RepairGUI_FreeFacesDlg::getDisplayer | ( | ) | [private] |
Reimplemented from GEOMBase_Helper.
References GEOMBase_Helper.getStudy(), and myDisplayer.
| void RepairGUI_FreeFacesDlg::onClose | ( | ) | [private, slot] |
| void RepairGUI_FreeFacesDlg::onHelp | ( | ) | [private, slot] |
References myGeomGUI, and myHelpFileName.
| void RepairGUI_FreeFacesDlg::onDeactivate | ( | ) | [private, slot] |
References GEOMBase_Helper.globalSelection(), myGeomGUI, and GeometryGUI.SetActiveDialogBox().
| void RepairGUI_FreeFacesDlg::onActivate | ( | ) | [private, slot] |
| void RepairGUI_FreeFacesDlg::onSelectionDone | ( | ) | [private, slot] |
| void RepairGUI_FreeFacesDlg::onSetEditCurrentArgument | ( | ) | [private, slot] |
References myEdit, and onSelectionDone().
| 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 | ( | GEOM::GEOM_Object_ptr | obj, |
| const bool | append = false, |
||
| const bool | activate = false, |
||
| const bool | update = true, |
||
| const double | lineWidth = -1, |
||
| const int | displayMode = -1, |
||
| const int | color = -1 |
||
| ) | [protected, virtual, inherited] |
Reimplemented in EntityGUI_3DSketcherDlg, and EntityGUI_SketcherDlg.
References GEOM_Displayer.BuildPrs(), GEOMBase_Helper.displayPreview(), GEOMBase_Helper.getDisplayer(), GEOM_Displayer.SetColor(), GEOM_Displayer.SetDisplayMode(), GEOM_Displayer.SetName(), GEOM_Displayer.SetToActivate(), GEOM_Displayer.SetWidth(), GEOM_Displayer.UnsetColor(), and GEOM_Displayer.UnsetName().
| 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] |
| 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.
GEOM_Displayer* RepairGUI_FreeFacesDlg.myDisplayer [private] |
Reimplemented from GEOMBase_Helper.
GEOM::GEOM_Object_var RepairGUI_FreeFacesDlg.myObj [private] |
QPushButton* RepairGUI_FreeFacesDlg.mySelBtn [private] |
QLineEdit* RepairGUI_FreeFacesDlg.myEdit [private] |
GeometryGUI* RepairGUI_FreeFacesDlg.myGeomGUI [private] |
QString RepairGUI_FreeFacesDlg.myHelpFileName [private] |