Version: 9.12.0
GEOMBase_Helper Class Reference

#include <GEOMBase_Helper.h>

Inheritance diagram for GEOMBase_Helper:
Inheritance graph

Public Member Functions

 GEOMBase_Helper (SUIT_Desktop *, SUIT_ViewWindow *aVW=0)
 
virtual ~GEOMBase_Helper ()
 

Static Public Member Functions

static SUIT_ViewWindow * getActiveView ()
 

Protected Types

typedef std::list< SALOME_Prs * > PrsList
 

Protected Member Functions

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, const bool append=false)
 
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)
 
const PrsListgetPreview () const
 
void localSelection (const ObjectList &, const std::list< int >)
 
void localSelection (const ObjectList &, const int)
 
void localSelection (GEOM::GEOM_Object_ptr, const std::list< int >)
 
void localSelection (GEOM::GEOM_Object_ptr, const int)
 
void localSelection (const std::string &, const std::string &, const std::list< int >)
 
void localSelection (const std::list< int >)
 
void localSelection (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
 
SalomeApp_Study * getStudy () const
 
bool checkViewWindow ()
 
bool onAccept (const bool publish=true, const bool useTransaction=true, bool erasePreviewFlag=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 GEOM::GEOM_IOperations_ptr createOperation ()
 
virtual bool isValid (QString &msg)
 
virtual bool execute (ObjectList &objects)
 
virtual void restoreSubShapes (SALOMEDS::SObject_ptr theSObject)
 
virtual GEOM::GEOM_Object_ptr getFather (GEOM::GEOM_Object_ptr theObj)
 
virtual QString getNewObjectName (int CurrObj=-1) const
 
virtual QString getObjectName (GEOM::GEOM_Object_ptr object) const
 
virtual bool extractPrefix () const
 
virtual void addSubshapesToStudy ()
 
virtual QList< GEOM::GeomObjPtrgetSourceObjects ()
 
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::GeomObjPtrgetSelected (TopAbs_ShapeEnum type, int count, bool strict=true)
 
QList< GEOM::GeomObjPtrgetSelected (const QList< TopAbs_ShapeEnum > &types, int count, bool strict=true)
 
void hideSourceObjects (QList< GEOM::GeomObjPtr > theObjectList)
 
void SetIsPreview (const bool thePreview)
 
bool IsPreview ()
 
GEOM_DisplayergetDisplayer ()
 
SUIT_Desktop * getDesktop () const
 
virtual void setIsApplyAndClose (const bool theFlag)
 
virtual bool isApplyAndClose () const
 
virtual void setIsOptimizedBrowsing (const bool theFlag)
 
virtual bool isOptimizedBrowsing () const
 
virtual void setIsWaitCursorEnabled (const bool theFlag)
 
virtual bool isWaitCursorEnabled () const
 
virtual void setIsDisableBrowsing (const bool theFlag)
 
virtual bool isDisableBrowsing () const
 
virtual void setIsDisplayResult (const bool theFlag)
 
virtual bool isDisplayResult () const
 

Static Protected Member Functions

static GEOM::GEOM_Gen_ptr getGeomEngine ()
 

Private Member Functions

QString getEntry (GEOM::GEOM_Object_ptr) const
 
void clearShapeBuffer (GEOM::GEOM_Object_ptr)
 

Private Attributes

PrsList myPreview
 
GEOM_DisplayermyDisplayer
 
GEOM_OperationmyCommand
 
GEOM::GEOM_IOperations_var myOperation
 
SUIT_ViewWindow * myViewWindow
 
QString myPrefix
 
bool isPreview
 
SALOME_ListIO mySelected
 
SUIT_Desktop * myDesktop
 
bool myIsApplyAndClose
 
bool myIsOptimizedBrowsing
 
bool myIsWaitCursorEnabled
 
bool myIsDisableBrowsing
 
bool myIsDisplayResult
 

Member Typedef Documentation

◆ PrsList

typedef std::list<SALOME_Prs*> GEOMBase_Helper::PrsList
protected

Constructor & Destructor Documentation

◆ GEOMBase_Helper()

GEOMBase_Helper::GEOMBase_Helper ( SUIT_Desktop *  desktop,
SUIT_ViewWindow *  aVW = 0 
)

◆ ~GEOMBase_Helper()

Member Function Documentation

◆ abortCommand()

bool GEOMBase_Helper::abortCommand ( )
protected

References hasCommand(), and myCommand.

◆ activate()

void GEOMBase_Helper::activate ( const int  theType)
protected

◆ addInStudy()

QString GEOMBase_Helper::addInStudy ( GEOM::GEOM_Object_ptr  theObj,
const char *  theName 
)
protected

◆ addSubshapesToStudy()

◆ checkViewWindow()

bool GEOMBase_Helper::checkViewWindow ( )
protected

References myViewWindow.

◆ clearShapeBuffer()

void GEOMBase_Helper::clearShapeBuffer ( GEOM::GEOM_Object_ptr  theObj)
private

◆ commitCommand()

bool GEOMBase_Helper::commitCommand ( const char *  = 0)
protected

References hasCommand(), and myCommand.

◆ createOperation()

GEOM::GEOM_IOperations_ptr GEOMBase_Helper::createOperation ( )
protectedvirtual

Reimplemented in XAOPlugin_ImportDlg, XAOPlugin_ExportDlg, TransformationGUI_TranslationDlg, TransformationGUI_ScaleDlg, TransformationGUI_RotationDlg, TransformationGUI_ProjectionOnCylDlg, TransformationGUI_ProjectionDlg, TransformationGUI_PositionDlg, TransformationGUI_OffsetDlg, TransformationGUI_MultiTranslationDlg, TransformationGUI_MultiRotationDlg, TransformationGUI_MirrorDlg, TransformationGUI_ExtensionDlg, RepairGUI_UnionFacesDlg, RepairGUI_SuppressFacesDlg, RepairGUI_ShapeProcessDlg, RepairGUI_SewingDlg, RepairGUI_RemoveWebsDlg, RepairGUI_RemoveIntWiresDlg, RepairGUI_RemoveHolesDlg, RepairGUI_RemoveExtraEdgesDlg, RepairGUI_LimitToleranceDlg, RepairGUI_GlueDlg, RepairGUI_FuseEdgesDlg, RepairGUI_FreeFacesDlg, RepairGUI_FreeBoundDlg, RepairGUI_DivideEdgeDlg, RepairGUI_CloseContourDlg, RepairGUI_ChangeOrientationDlg, PrimitiveGUI_TorusDlg, PrimitiveGUI_SphereDlg, PrimitiveGUI_FaceDlg, PrimitiveGUI_DiskDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_BoxDlg, OperationGUI_TransferDataDlg, OperationGUI_PartitionDlg, OperationGUI_GetSharedShapesDlg, OperationGUI_GetShapesOnShapeDlg, OperationGUI_FilletDlg, OperationGUI_Fillet1d2dDlg, OperationGUI_ExtrudedFeatureDlg, OperationGUI_ExtractionDlg, OperationGUI_ChamferDlg, OperationGUI_ArchimedeDlg, MeasureGUI_Skeleton, MeasureGUI_ShapeStatisticsDlg, MeasureGUI_NormaleDlg, MeasureGUI_GetNonBlocksDlg, MeasureGUI_FastCheckIntersectionsDlg, MeasureGUI_DistanceDlg, MeasureGUI_CheckShapeDlg, MeasureGUI_CheckSelfIntersectionsDlg, MeasureGUI_CheckCompoundOfBlocksDlg, MeasureGUI_CenterMassDlg, MeasureGUI_BndBoxDlg, MeasureGUI_AnnotationDlg, GroupGUI_GroupDlg, GroupGUI_BooleanDlg, GenerationGUI_ThicknessDlg, GenerationGUI_RevolDlg, GenerationGUI_PrismDlg, GenerationGUI_PipePathDlg, GenerationGUI_PipeDlg, GenerationGUI_FillingDlg, EntityGUI_SurfFromFaceDlg, EntityGUI_SubShapeDlg, EntityGUI_SketcherDlg, EntityGUI_PolylineDlg, EntityGUI_PictureImportDlg, EntityGUI_IsolineDlg, EntityGUI_FieldDlg, EntityGUI_FeatureDetectorDlg, EntityGUI_3DSketcherDlg, BuildGUI_WireDlg, BuildGUI_SolidDlg, BuildGUI_ShellDlg, BuildGUI_FaceDlg, BuildGUI_EdgeDlg, BuildGUI_CompoundDlg, BooleanGUI_Dialog, BlocksGUI_TrsfDlg, BlocksGUI_QuadFaceDlg, BlocksGUI_PropagateDlg, BlocksGUI_ExplodeDlg, BlocksGUI_BlockDlg, BasicGUI_VectorDlg, BasicGUI_PointDlg, BasicGUI_PlaneDlg, BasicGUI_MarkerDlg, BasicGUI_LineDlg, BasicGUI_EllipseDlg, BasicGUI_CurveDlg, BasicGUI_CircleDlg, BasicGUI_ArcDlg, AdvancedGUI_SmoothingSurfaceDlg, AdvancedGUI_PipeTShapeDlg, AdvancedGUI_DividedDiskDlg, and AdvancedGUI_DividedCylinderDlg.

◆ display() [1/2]

void GEOMBase_Helper::display ( const ObjectList objList,
const bool  updateView = true 
)
protected

References getDisplayer().

◆ display() [2/2]

void GEOMBase_Helper::display ( GEOM::GEOM_Object_ptr  object,
const bool  updateView = true 
)
protected

◆ displayPreview() [1/3]

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,
const bool  append = false 
)
protectedvirtual

◆ displayPreview() [2/3]

void GEOMBase_Helper::displayPreview ( const SALOME_Prs *  prs,
const bool  append = false,
const bool  update = true 
)
protected

◆ displayPreview() [3/3]

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 
)
protectedvirtual

◆ erase() [1/2]

void GEOMBase_Helper::erase ( const ObjectList objList,
const bool  updateView = true 
)
protected

References getDisplayer().

◆ erase() [2/2]

void GEOMBase_Helper::erase ( GEOM::GEOM_Object_ptr  object,
const bool  updateView = true 
)
protected

◆ erasePreview()

void GEOMBase_Helper::erasePreview ( const bool  update = true)
protected

◆ execute()

bool GEOMBase_Helper::execute ( ObjectList objects)
protectedvirtual

Reimplemented in TransformationGUI_TranslationDlg, TransformationGUI_ScaleDlg, TransformationGUI_RotationDlg, TransformationGUI_ProjectionOnCylDlg, TransformationGUI_ProjectionDlg, TransformationGUI_PositionDlg, TransformationGUI_OffsetDlg, TransformationGUI_MultiTranslationDlg, TransformationGUI_MultiRotationDlg, TransformationGUI_MirrorDlg, TransformationGUI_ExtensionDlg, RepairGUI_UnionFacesDlg, RepairGUI_SuppressFacesDlg, RepairGUI_ShapeProcessDlg, RepairGUI_SewingDlg, RepairGUI_RemoveWebsDlg, RepairGUI_RemoveIntWiresDlg, RepairGUI_RemoveHolesDlg, RepairGUI_RemoveExtraEdgesDlg, RepairGUI_LimitToleranceDlg, RepairGUI_GlueDlg, RepairGUI_FuseEdgesDlg, RepairGUI_FreeFacesDlg, RepairGUI_FreeBoundDlg, RepairGUI_DivideEdgeDlg, RepairGUI_CloseContourDlg, RepairGUI_ChangeOrientationDlg, PrimitiveGUI_TorusDlg, PrimitiveGUI_SphereDlg, PrimitiveGUI_FaceDlg, PrimitiveGUI_DiskDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_BoxDlg, OperationGUI_TransferDataDlg, OperationGUI_PartitionDlg, OperationGUI_GetSharedShapesDlg, OperationGUI_GetShapesOnShapeDlg, OperationGUI_FilletDlg, OperationGUI_Fillet1d2dDlg, OperationGUI_ExtrudedFeatureDlg, OperationGUI_ExtractionDlg, OperationGUI_ChamferDlg, OperationGUI_ArchimedeDlg, MeasureGUI_ShapeStatisticsDlg, MeasureGUI_NormaleDlg, MeasureGUI_GetNonBlocksDlg, MeasureGUI_FastCheckIntersectionsDlg, MeasureGUI_DistanceDlg, MeasureGUI_CheckShapeDlg, MeasureGUI_CheckSelfIntersectionsDlg, MeasureGUI_CheckCompoundOfBlocksDlg, MeasureGUI_CenterMassDlg, MeasureGUI_BndBoxDlg, GroupGUI_GroupDlg, GroupGUI_BooleanDlg, GenerationGUI_ThicknessDlg, GenerationGUI_RevolDlg, GenerationGUI_PrismDlg, GenerationGUI_PipePathDlg, GenerationGUI_PipeDlg, GenerationGUI_FillingDlg, EntityGUI_SurfFromFaceDlg, EntityGUI_SubShapeDlg, EntityGUI_SketcherDlg, EntityGUI_PolylineDlg, EntityGUI_PictureImportDlg, EntityGUI_IsolineDlg, EntityGUI_FeatureDetectorDlg, EntityGUI_3DSketcherDlg, BuildGUI_WireDlg, BuildGUI_SolidDlg, BuildGUI_ShellDlg, BuildGUI_FaceDlg, BuildGUI_EdgeDlg, BuildGUI_CompoundDlg, BooleanGUI_Dialog, BlocksGUI_TrsfDlg, BlocksGUI_QuadFaceDlg, BlocksGUI_PropagateDlg, BlocksGUI_ExplodeDlg, BlocksGUI_BlockDlg, BasicGUI_VectorDlg, BasicGUI_PointDlg, BasicGUI_PlaneDlg, BasicGUI_MarkerDlg, BasicGUI_LineDlg, BasicGUI_EllipseDlg, BasicGUI_CurveDlg, BasicGUI_CircleDlg, BasicGUI_ArcDlg, AdvancedGUI_SmoothingSurfaceDlg, AdvancedGUI_PipeTShapeDlg, AdvancedGUI_DividedDiskDlg, and AdvancedGUI_DividedCylinderDlg.

◆ extractPrefix()

◆ findObjectInFather() [1/2]

GEOM::GEOM_Object_ptr GEOMBase_Helper::findObjectInFather ( GEOM::GEOM_Object_ptr  theFather,
const QString &  theName 
)
protected

◆ findObjectInFather() [2/2]

GEOM::GEOM_Object_ptr GEOMBase_Helper::findObjectInFather ( GEOM::GEOM_Object_ptr  theFather,
int  theIndex 
)
protected

◆ getActiveView()

SUIT_ViewWindow * GEOMBase_Helper::getActiveView ( )
static

◆ getDesktop()

SUIT_Desktop * GEOMBase_Helper::getDesktop ( ) const
protected

References myDesktop.

◆ getDisplayer()

GEOM_Displayer * GEOMBase_Helper::getDisplayer ( )
protected

References myDisplayer.

◆ getEntry()

QString GEOMBase_Helper::getEntry ( GEOM::GEOM_Object_ptr  object) const
private

◆ getFather()

◆ getGeomEngine()

GEOM::GEOM_Gen_ptr GEOMBase_Helper::getGeomEngine ( )
staticprotected

◆ getNewObjectName()

QString GEOMBase_Helper::getNewObjectName ( int  CurrObj = -1) const
protectedvirtual

◆ getObjectName()

QString GEOMBase_Helper::getObjectName ( GEOM::GEOM_Object_ptr  object) const
protectedvirtual

Reimplemented in XAOPlugin_ImportDlg.

◆ getOperation()

GEOM::GEOM_IOperations_ptr GEOMBase_Helper::getOperation ( )
protected

References createOperation(), and myOperation.

◆ getPrefix()

QString GEOMBase_Helper::getPrefix ( GEOM::GEOM_Object_ptr  theObj = GEOM::GEOM_Object::_nil()) const
protected

◆ getPreview()

const PrsList& GEOMBase_Helper::getPreview ( ) const
inlineprotected

◆ getSelected() [1/4]

GEOM::GeomObjPtr GEOMBase_Helper::getSelected ( const QList< TopAbs_ShapeEnum > &  types)
protected

References getSelected().

◆ getSelected() [2/4]

QList< GEOM::GeomObjPtr > GEOMBase_Helper::getSelected ( const QList< TopAbs_ShapeEnum > &  types,
int  count,
bool  strict = true 
)
protected

◆ getSelected() [3/4]

GEOM::GeomObjPtr GEOMBase_Helper::getSelected ( TopAbs_ShapeEnum  type)
protected

◆ getSelected() [4/4]

QList< GEOM::GeomObjPtr > GEOMBase_Helper::getSelected ( TopAbs_ShapeEnum  type,
int  count,
bool  strict = true 
)
protected

References getSelected().

◆ getSourceObjects()

QList< GEOM::GeomObjPtr > GEOMBase_Helper::getSourceObjects ( )
protectedvirtual

Reimplemented in TransformationGUI_TranslationDlg, TransformationGUI_ScaleDlg, TransformationGUI_RotationDlg, TransformationGUI_ProjectionDlg, TransformationGUI_PositionDlg, TransformationGUI_OffsetDlg, TransformationGUI_MultiTranslationDlg, TransformationGUI_MultiRotationDlg, TransformationGUI_MirrorDlg, TransformationGUI_ExtensionDlg, RepairGUI_UnionFacesDlg, RepairGUI_SuppressFacesDlg, RepairGUI_ShapeProcessDlg, RepairGUI_SewingDlg, RepairGUI_RemoveWebsDlg, RepairGUI_RemoveIntWiresDlg, RepairGUI_RemoveHolesDlg, RepairGUI_RemoveExtraEdgesDlg, RepairGUI_LimitToleranceDlg, RepairGUI_GlueDlg, RepairGUI_FuseEdgesDlg, RepairGUI_FreeFacesDlg, RepairGUI_FreeBoundDlg, RepairGUI_DivideEdgeDlg, RepairGUI_CloseContourDlg, RepairGUI_ChangeOrientationDlg, PrimitiveGUI_TorusDlg, PrimitiveGUI_SphereDlg, PrimitiveGUI_FaceDlg, PrimitiveGUI_DiskDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_BoxDlg, OperationGUI_TransferDataDlg, OperationGUI_PartitionDlg, OperationGUI_GetSharedShapesDlg, OperationGUI_GetShapesOnShapeDlg, OperationGUI_FilletDlg, OperationGUI_Fillet1d2dDlg, OperationGUI_ExtrudedFeatureDlg, OperationGUI_ChamferDlg, OperationGUI_ArchimedeDlg, MeasureGUI_ShapeStatisticsDlg, MeasureGUI_NormaleDlg, MeasureGUI_GetNonBlocksDlg, MeasureGUI_FastCheckIntersectionsDlg, MeasureGUI_DistanceDlg, MeasureGUI_CheckSelfIntersectionsDlg, MeasureGUI_CenterMassDlg, MeasureGUI_BndBoxDlg, GroupGUI_GroupDlg, GroupGUI_BooleanDlg, GenerationGUI_ThicknessDlg, GenerationGUI_RevolDlg, GenerationGUI_PrismDlg, GenerationGUI_PipePathDlg, GenerationGUI_PipeDlg, GenerationGUI_FillingDlg, EntityGUI_SurfFromFaceDlg, EntityGUI_SubShapeDlg, EntityGUI_PolylineDlg, EntityGUI_IsolineDlg, EntityGUI_FieldDlg, EntityGUI_FeatureDetectorDlg, BuildGUI_WireDlg, BuildGUI_SolidDlg, BuildGUI_ShellDlg, BuildGUI_FaceDlg, BuildGUI_EdgeDlg, BuildGUI_CompoundDlg, BooleanGUI_Dialog, BlocksGUI_TrsfDlg, BlocksGUI_QuadFaceDlg, BlocksGUI_PropagateDlg, BlocksGUI_ExplodeDlg, BlocksGUI_BlockDlg, BasicGUI_VectorDlg, BasicGUI_PointDlg, BasicGUI_PlaneDlg, BasicGUI_MarkerDlg, BasicGUI_LineDlg, BasicGUI_EllipseDlg, BasicGUI_CurveDlg, BasicGUI_CircleDlg, BasicGUI_ArcDlg, AdvancedGUI_SmoothingSurfaceDlg, AdvancedGUI_PipeTShapeDlg, and AdvancedGUI_DividedDiskDlg.

◆ getStudy()

SalomeApp_Study * GEOMBase_Helper::getStudy ( ) const
protected

References getDesktop().

◆ globalSelection() [1/3]

void GEOMBase_Helper::globalSelection ( const int  theMode = GEOM_ALLOBJECTS,
const bool  update = false 
)
protected

◆ globalSelection() [2/3]

void GEOMBase_Helper::globalSelection ( const TColStd_MapOfInteger &  theModes,
const bool  update = false 
)
protected

◆ globalSelection() [3/3]

void GEOMBase_Helper::globalSelection ( const TColStd_MapOfInteger &  theModes,
const QList< int > &  subShapes,
const bool  update = false 
)
protected

◆ hasCommand()

bool GEOMBase_Helper::hasCommand ( ) const
protected

References myCommand.

◆ hideSourceObjects()

void GEOMBase_Helper::hideSourceObjects ( QList< GEOM::GeomObjPtr theObjectList)
protected

◆ isApplyAndClose()

bool GEOMBase_Helper::isApplyAndClose ( ) const
protectedvirtual

References myIsApplyAndClose.

◆ isDisableBrowsing()

virtual bool GEOMBase_Helper::isDisableBrowsing ( ) const
inlineprotectedvirtual

◆ isDisplayResult()

virtual bool GEOMBase_Helper::isDisplayResult ( ) const
inlineprotectedvirtual

◆ isOptimizedBrowsing()

bool GEOMBase_Helper::isOptimizedBrowsing ( ) const
protectedvirtual

References myIsOptimizedBrowsing.

◆ IsPreview()

bool GEOMBase_Helper::IsPreview ( )
inlineprotected

◆ isValid()

bool GEOMBase_Helper::isValid ( QString &  msg)
protectedvirtual

Reimplemented in TransformationGUI_ProjectionOnCylDlg, MeasureGUI_GetNonBlocksDlg, MeasureGUI_CheckCompoundOfBlocksDlg, XAOPlugin_ImportDlg, XAOPlugin_ExportDlg, TransformationGUI_TranslationDlg, TransformationGUI_ScaleDlg, TransformationGUI_RotationDlg, TransformationGUI_ProjectionDlg, TransformationGUI_PositionDlg, TransformationGUI_OffsetDlg, TransformationGUI_MultiTranslationDlg, TransformationGUI_MultiRotationDlg, TransformationGUI_MirrorDlg, TransformationGUI_ExtensionDlg, RepairGUI_UnionFacesDlg, RepairGUI_SuppressFacesDlg, RepairGUI_ShapeProcessDlg, RepairGUI_SewingDlg, RepairGUI_RemoveWebsDlg, RepairGUI_RemoveIntWiresDlg, RepairGUI_RemoveHolesDlg, RepairGUI_RemoveExtraEdgesDlg, RepairGUI_LimitToleranceDlg, RepairGUI_GlueDlg, RepairGUI_FuseEdgesDlg, RepairGUI_FreeFacesDlg, RepairGUI_FreeBoundDlg, RepairGUI_DivideEdgeDlg, RepairGUI_CloseContourDlg, RepairGUI_ChangeOrientationDlg, PrimitiveGUI_TorusDlg, PrimitiveGUI_SphereDlg, PrimitiveGUI_FaceDlg, PrimitiveGUI_DiskDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_BoxDlg, OperationGUI_TransferDataDlg, OperationGUI_PartitionDlg, OperationGUI_GetSharedShapesDlg, OperationGUI_GetShapesOnShapeDlg, OperationGUI_FilletDlg, OperationGUI_Fillet1d2dDlg, OperationGUI_ExtrudedFeatureDlg, OperationGUI_ExtractionDlg, OperationGUI_ChamferDlg, OperationGUI_ArchimedeDlg, MeasureGUI_Skeleton, MeasureGUI_ShapeStatisticsDlg, MeasureGUI_PropertiesDlg, MeasureGUI_NormaleDlg, MeasureGUI_FastCheckIntersectionsDlg, MeasureGUI_DistanceDlg, MeasureGUI_CheckShapeDlg, MeasureGUI_CheckSelfIntersectionsDlg, MeasureGUI_CenterMassDlg, MeasureGUI_BndBoxDlg, MeasureGUI_AnnotationDlg, MeasureGUI_AngleDlg, GroupGUI_GroupDlg, GroupGUI_BooleanDlg, GenerationGUI_ThicknessDlg, GenerationGUI_RevolDlg, GenerationGUI_PrismDlg, GenerationGUI_PipePathDlg, GenerationGUI_PipeDlg, GenerationGUI_FillingDlg, EntityGUI_SurfFromFaceDlg, EntityGUI_SubShapeDlg, EntityGUI_SketcherDlg, EntityGUI_PolylineDlg, EntityGUI_IsolineDlg, EntityGUI_FieldDlg, EntityGUI_3DSketcherDlg, BuildGUI_WireDlg, BuildGUI_SolidDlg, BuildGUI_ShellDlg, BuildGUI_FaceDlg, BuildGUI_EdgeDlg, BuildGUI_CompoundDlg, BooleanGUI_Dialog, BlocksGUI_TrsfDlg, BlocksGUI_QuadFaceDlg, BlocksGUI_PropagateDlg, BlocksGUI_ExplodeDlg, BlocksGUI_BlockDlg, BasicGUI_VectorDlg, BasicGUI_PointDlg, BasicGUI_PlaneDlg, BasicGUI_MarkerDlg, BasicGUI_LineDlg, BasicGUI_EllipseDlg, BasicGUI_CurveDlg, BasicGUI_CircleDlg, BasicGUI_ArcDlg, AdvancedGUI_SmoothingSurfaceDlg, AdvancedGUI_PipeTShapeDlg, AdvancedGUI_DividedDiskDlg, and AdvancedGUI_DividedCylinderDlg.

◆ isWaitCursorEnabled()

virtual bool GEOMBase_Helper::isWaitCursorEnabled ( ) const
inlineprotectedvirtual

◆ localSelection() [1/7]

void GEOMBase_Helper::localSelection ( const int  mode)
protected

References localSelection().

◆ localSelection() [2/7]

void GEOMBase_Helper::localSelection ( const ObjectList theObjs,
const int  theMode 
)
protected

References localSelection().

◆ localSelection() [3/7]

void GEOMBase_Helper::localSelection ( const ObjectList theObjs,
const std::list< int >  modes 
)
protected

◆ localSelection() [4/7]

void GEOMBase_Helper::localSelection ( const std::list< int >  modes)
protected

References localSelection().

◆ localSelection() [5/7]

void GEOMBase_Helper::localSelection ( const std::string &  entry,
const std::string &  name,
const std::list< int >  modes 
)
protected

◆ localSelection() [6/7]

void GEOMBase_Helper::localSelection ( GEOM::GEOM_Object_ptr  obj,
const int  mode 
)
protected

References localSelection().

◆ localSelection() [7/7]

void GEOMBase_Helper::localSelection ( GEOM::GEOM_Object_ptr  obj,
const std::list< int >  modes 
)
protected

◆ onAccept()

◆ openCommand()

bool GEOMBase_Helper::openCommand ( )
protected

◆ prepareSelection() [1/2]

void GEOMBase_Helper::prepareSelection ( const ObjectList ,
const int   
)
protected

◆ prepareSelection() [2/2]

void GEOMBase_Helper::prepareSelection ( GEOM::GEOM_Object_ptr  ,
const int   
)
protected

◆ redisplay() [1/2]

void GEOMBase_Helper::redisplay ( const ObjectList objList,
const bool  withChildren = true,
const bool  updateView = true 
)
protected

References getDisplayer().

◆ redisplay() [2/2]

void GEOMBase_Helper::redisplay ( GEOM::GEOM_Object_ptr  object,
const bool  withChildren = true,
const bool  updateView = true 
)
protected

◆ restoreSubShapes()

◆ selectObjects()

bool GEOMBase_Helper::selectObjects ( ObjectList objects)
protected

References getEntry().

◆ setIsApplyAndClose()

void GEOMBase_Helper::setIsApplyAndClose ( const bool  theFlag)
protectedvirtual

References myIsApplyAndClose.

◆ setIsDisableBrowsing()

virtual void GEOMBase_Helper::setIsDisableBrowsing ( const bool  theFlag)
inlineprotectedvirtual

◆ setIsDisplayResult()

virtual void GEOMBase_Helper::setIsDisplayResult ( const bool  theFlag)
inlineprotectedvirtual

◆ setIsOptimizedBrowsing()

void GEOMBase_Helper::setIsOptimizedBrowsing ( const bool  theFlag)
protectedvirtual

References myIsOptimizedBrowsing.

◆ SetIsPreview()

void GEOMBase_Helper::SetIsPreview ( const bool  thePreview)
inlineprotected

◆ setIsWaitCursorEnabled()

virtual void GEOMBase_Helper::setIsWaitCursorEnabled ( const bool  theFlag)
inlineprotectedvirtual

◆ setPrefix()

void GEOMBase_Helper::setPrefix ( const QString &  prefix)
inlineprotected

◆ showError() [1/2]

void GEOMBase_Helper::showError ( )
protected

References getOperation().

◆ showError() [2/2]

void GEOMBase_Helper::showError ( const QString &  msg)
protected

◆ updateObjBrowser()

void GEOMBase_Helper::updateObjBrowser ( ) const
protected

◆ updateViewer()

void GEOMBase_Helper::updateViewer ( )
protected

References getDisplayer().

Member Data Documentation

◆ isPreview

bool GEOMBase_Helper::isPreview
private

◆ myCommand

GEOM_Operation* GEOMBase_Helper::myCommand
private

◆ myDesktop

SUIT_Desktop* GEOMBase_Helper::myDesktop
private

◆ myDisplayer

GEOM_Displayer* GEOMBase_Helper::myDisplayer
private

◆ myIsApplyAndClose

bool GEOMBase_Helper::myIsApplyAndClose
private

◆ myIsDisableBrowsing

bool GEOMBase_Helper::myIsDisableBrowsing
private

◆ myIsDisplayResult

bool GEOMBase_Helper::myIsDisplayResult
private

◆ myIsOptimizedBrowsing

bool GEOMBase_Helper::myIsOptimizedBrowsing
private

◆ myIsWaitCursorEnabled

bool GEOMBase_Helper::myIsWaitCursorEnabled
private

◆ myOperation

GEOM::GEOM_IOperations_var GEOMBase_Helper::myOperation
private

◆ myPrefix

QString GEOMBase_Helper::myPrefix
private

◆ myPreview

PrsList GEOMBase_Helper::myPreview
private

◆ mySelected

SALOME_ListIO GEOMBase_Helper::mySelected
private

◆ myViewWindow

SUIT_ViewWindow* GEOMBase_Helper::myViewWindow
private

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