Version: 9.12.0
GeometryGUI Class Reference

#include <GeometryGUI.h>

Inheritance diagram for GeometryGUI:
Inheritance graph

Public Slots

virtual bool deactivateModule (SUIT_Study *)
 
virtual bool activateModule (SUIT_Study *)
 
virtual void OnKeyPress (SUIT_ViewWindow *, QKeyEvent *)
 
virtual void OnMousePress (SUIT_ViewWindow *, QMouseEvent *)
 
virtual void OnMouseMove (SUIT_ViewWindow *, QMouseEvent *)
 
virtual void OnMouseRelease (SUIT_ViewWindow *, QMouseEvent *)
 

Signals

void SignalDeactivateActiveDialog ()
 
void SignalCloseAllDialogs ()
 
void SignalDefaultStepValueChanged (double newVal)
 
void SignalDependencyTreeParamChanged (const QString &, const QString &)
 
void SignalDependencyTreeRenameObject (const QString &)
 
void SignalTextTreeRenameObject (const QString &)
 
void SignalAnnotationsUpdated (const QString &)
 
void DimensionsUpdated (const QString &)
 

Public Member Functions

 GeometryGUI ()
 
 ~GeometryGUI ()
 
virtual LightApp_Displayerdisplayer ()
 
virtual void initialize (CAM_Application *)
 
virtual QString engineIOR () const
 
GEOM_ClientGetShapeReader ()
 
GEOMGUI_AnnotationMgrGetAnnotationMgr ()
 
GEOMGUI_TextTreeWdgGetTextTreeWdg () const
 
QDialogGetActiveDialogBox ()
 
void SetActiveDialogBox (QDialog *aDlg)
 
void EmitSignalDeactivateDialog ()
 
void EmitSignalCloseAllDialogs ()
 
void EmitSignalDefaultStepValueChanged (double newVal)
 
void OnGUIEvent (int id, const QVariant &theParam=QVariant(QVariant::Invalid))
 
virtual bool activateOperation (int actionId)
 
virtual bool activateOperation (const QString &actionId)
 
virtual bool activateOperation (const QString &actionId, const QString &plugin)
 
void SetWorkingPlane (gp_Ax3 wp)
 
gp_Ax3 GetWorkingPlane ()
 
void ActiveWorkingPlane ()
 
virtual bool renameObject (const QString &, const QString &)
 Return true if rename operation finished successfully, false otherwise. More...
 
virtual bool renameAllowed (const QString &) const
 Check if this object is can't be renamed in place. More...
 
virtual void windows (QMap< int, int > &) const
 
virtual void viewManagers (QStringList &) const
 
virtual void contextMenuPopup (const QString &, QMenu *, QString &)
 
virtual void createPreferences ()
 
virtual void preferencesChanged (const QString &, const QString &)
 
int getLocalSelectionMode () const
 
void setLocalSelectionMode (const int mode)
 
virtual void storeVisualParameters (int savePoint)
 Store visual parameters. More...
 
virtual void restoreVisualParameters (int savePoint)
 Restore visual parameters. More...
 
QAction * getAction (const int id)
 Return action by id. More...
 
virtual void message (const QString &msg)
 GEOM module message handler. More...
 
virtual bool isDraggable (const SUIT_DataObject *what) const
 Check if the module allows "drag" operation of its objects. More...
 
virtual bool isDropAccepted (const SUIT_DataObject *where) const
 Check if the module allows "drop" operation on the given object. More...
 
virtual void dropObjects (const DataObjectList &what, SUIT_DataObject *where, const int row, Qt::DropAction action)
 Complete drag-n-drop operation. More...
 
void emitDimensionsUpdated (QString entry)
 
void emitAnnotationsUpdated (QString entry)
 

Static Public Member Functions

static Handle (TColStd_HArray1OfByte) getTexture(int
 
static int int &static bool InitGeomGen ()
 
static GEOM::GEOM_Gen_var GetGeomGen ()
 
static CORBA::Object_var ClientSObjectToObject (_PTR(SObject) theSObject)
 
static bool IsInGeomComponent (_PTR(SObject) theSObject)
 
static SALOMEDS::Study_var getStudyServant ()
 
static void Modified (bool=true)
 
static void ClearShapeBuffer (GEOM::GEOM_Object_ptr)
 Clears the shape buffer. More...
 
static GEOM::GEOM_Object_ptr GetObjectFromIOR (const QString &IOR)
 Returns the object from IOR. More...
 
static QString GetIORFromObject (GEOM::GEOM_Object_ptr object)
 Returns IOR of the object. More...
 

Static Public Attributes

static GEOM::GEOM_Gen_var myComponentGeom = GEOM::GEOM_Gen::_nil()
 

Protected Slots

virtual void onViewManagerAdded (SUIT_ViewManager *)
 
virtual void onViewManagerRemoved (SUIT_ViewManager *)
 

Protected Member Functions

virtual LightApp_SelectioncreateSelection () const
 

Private Types

typedef QMap< QString, GEOMGUI * > GUIMap
 
typedef QPair< QString, QString > PluginAction
 

Private Slots

void OnGUIEvent ()
 
void onWindowActivated (SUIT_ViewWindow *)
 
void onViewAboutToShow ()
 
void OnSetMaterial (const QString &)
 
void updateMaterials ()
 
void updateCreationInfo ()
 Slot called when selection changed. Shows creation info of a selected object. More...
 
void onAutoBringToFront ()
 
void updateFieldColorScale ()
 

Private Member Functions

GEOMGUIgetLibrary (const QString &libraryName)
 
GEOMPluginGUIgetPluginLibrary (const QString &libraryName)
 
void createGeomAction (const int id, const QString &po_id, const QString &icon_id=QString(""), const int key=0, const bool toggle=false, const QString &shortcutAction=QString())
 
void createPopupItem (const int, const QString &clients, const QString &types, const bool isSingle=false, const int isVisible=-1, const bool isExpandAll=false, const bool isOCC=false, const int parentId=-1)
 
void addPluginActions ()
 
void createOriginAndBaseVectors ()
 

Private Attributes

GUIMap myGUIMap
 
QDialogmyActiveDialogBox
 
gp_Ax3 myWorkingPlane
 
QMap< int, PluginActionmyPluginActions
 
QMap< QString, QString > myPluginLibs
 
QList< GEOMGUI_OCCSelector * > myOCCSelectors
 
QList< LightApp_VTKSelector * > myVTKSelectors
 
LightApp_DisplayermyDisplayer
 
int myLocalSelectionMode
 
GEOMGUI_CreationInfoWdgmyCreationInfoWdg
 
GEOMGUI_TextTreeWdgmyTextTreeWdg
 
GEOMGUI_AnnotationMgrmyAnnotationMgr
 
SALOME_ListIO myTopLevelIOList
 

Friends

class DisplayGUI
 

Member Typedef Documentation

◆ GUIMap

typedef QMap<QString, GEOMGUI*> GeometryGUI::GUIMap
private

◆ PluginAction

typedef QPair<QString, QString> GeometryGUI::PluginAction
private

Constructor & Destructor Documentation

◆ GeometryGUI()

◆ ~GeometryGUI()

GeometryGUI::~GeometryGUI ( )

Member Function Documentation

◆ activateModule

◆ activateOperation() [1/3]

bool GeometryGUI::activateOperation ( const QString &  actionId)
virtual

References OnGUIEvent().

◆ activateOperation() [2/3]

bool GeometryGUI::activateOperation ( const QString &  actionId,
const QString &  plugin 
)
virtual

◆ activateOperation() [3/3]

bool GeometryGUI::activateOperation ( int  actionId)
virtual

References OnGUIEvent().

◆ ActiveWorkingPlane()

void GeometryGUI::ActiveWorkingPlane ( )

References Handle(), and myWorkingPlane.

◆ addPluginActions()

◆ ClearShapeBuffer()

void GeometryGUI::ClearShapeBuffer ( GEOM::GEOM_Object_ptr  theObj)
static

This is a static method. It clears the shape buffer.

Parameters
theObjthe object

References GEOM_Client::get_client(), and GEOM_Client::RemoveShapeFromBuffer().

◆ ClientSObjectToObject()

CORBA::Object_var GeometryGUI::ClientSObjectToObject ( _PTR(SObject)  theSObject)
static

◆ contextMenuPopup()

◆ createGeomAction()

void GeometryGUI::createGeomAction ( const int  id,
const QString &  po_id,
const QString &  icon_id = QString(""),
const int  key = 0,
const bool  toggle = false,
const QString &  shortcutAction = QString() 
)
private

References OnGUIEvent().

◆ createOriginAndBaseVectors()

void GeometryGUI::createOriginAndBaseVectors ( )
private

References GetGeomGen().

◆ createPopupItem()

void GeometryGUI::createPopupItem ( const int  ,
const QString &  clients,
const QString &  types,
const bool  isSingle = false,
const int  isVisible = -1,
const bool  isExpandAll = false,
const bool  isOCC = false,
const int  parentId = -1 
)
private

◆ createPreferences()

◆ createSelection()

LightApp_Selection * GeometryGUI::createSelection ( ) const
protectedvirtual

◆ deactivateModule

◆ DimensionsUpdated

void GeometryGUI::DimensionsUpdated ( const QString &  )
signal

◆ displayer()

LightApp_Displayer * GeometryGUI::displayer ( )
virtual

References myDisplayer.

◆ dropObjects()

void GeometryGUI::dropObjects ( const DataObjectList &  what,
SUIT_DataObject *  where,
const int  row,
Qt::DropAction  action 
)
virtual

Overloaded from LightApp_Module class.

This function is a part of the general drag-n-drop mechanism. Its goal is to handle dropping of the objects being dragged according to the chosen operation (move). The dropping is performed in the context of the parent data object where and the row (position in the children index) at which the data should be dropped. If row is equal to -1, this means that objects are added to the end of the children list.

Parameters
whatobjects being dropped
wheretarget data object
rowchild index at which the drop operation is performed
actiondrag-n-drop operation (Qt::DropAction) - move
See also
isDraggable(), isDropAccepted()

References GetGeomGen().

◆ emitAnnotationsUpdated()

void GeometryGUI::emitAnnotationsUpdated ( QString  entry)

◆ emitDimensionsUpdated()

void GeometryGUI::emitDimensionsUpdated ( QString  entry)

References DimensionsUpdated().

◆ EmitSignalCloseAllDialogs()

void GeometryGUI::EmitSignalCloseAllDialogs ( )

◆ EmitSignalDeactivateDialog()

void GeometryGUI::EmitSignalDeactivateDialog ( )

◆ EmitSignalDefaultStepValueChanged()

void GeometryGUI::EmitSignalDefaultStepValueChanged ( double  newVal)

◆ engineIOR()

QString GeometryGUI::engineIOR ( ) const
virtual

References GetGeomGen().

◆ getAction()

QAction * GeometryGUI::getAction ( const int  id)
Parameters
ididentifier of the action
Returns
action

◆ GetActiveDialogBox()

QDialog* GeometryGUI::GetActiveDialogBox ( )
inline

◆ GetAnnotationMgr()

GEOMGUI_AnnotationMgr * GeometryGUI::GetAnnotationMgr ( )

References myAnnotationMgr.

◆ GetGeomGen()

GEOM::GEOM_Gen_var GeometryGUI::GetGeomGen ( )
static

References InitGeomGen(), and myComponentGeom.

◆ GetIORFromObject()

QString GeometryGUI::GetIORFromObject ( GEOM::GEOM_Object_ptr  object)
static

This is a static method. It returns the object's IOR.

Parameters
objectthe GEOM object.
Returns
object's IOR.

◆ getLibrary()

GEOMGUI * GeometryGUI::getLibrary ( const QString &  libraryName)
private

References myGUIMap.

◆ getLocalSelectionMode()

int GeometryGUI::getLocalSelectionMode ( ) const

References myLocalSelectionMode.

◆ GetObjectFromIOR()

GEOM::GEOM_Object_ptr GeometryGUI::GetObjectFromIOR ( const QString &  IOR)
static

This is a static method. It returns the object from its IOR.

Parameters
IORobject IOR
Returns
GEOM object.

◆ getPluginLibrary()

GEOMPluginGUI * GeometryGUI::getPluginLibrary ( const QString &  libraryName)
private

References myGUIMap.

◆ GetShapeReader()

GEOM_Client& GeometryGUI::GetShapeReader ( )
inline

References SHAPE_READER.

◆ getStudyServant()

SALOMEDS::Study_var GeometryGUI::getStudyServant ( )
static

◆ GetTextTreeWdg()

GEOMGUI_TextTreeWdg * GeometryGUI::GetTextTreeWdg ( ) const

References myTextTreeWdg.

◆ GetWorkingPlane()

gp_Ax3 GeometryGUI::GetWorkingPlane ( )
inline

◆ Handle()

static GeometryGUI::Handle ( TColStd_HArray1OfByte  )
static

◆ InitGeomGen()

bool GeometryGUI::InitGeomGen ( )
static

References myComponentGeom.

◆ initialize()

void GeometryGUI::initialize ( CAM_Application *  app)
virtual

References addPluginActions(), createGeomAction(), GEOMOp::Op2dPolylineEditor, GEOMOp::Op2dSketcher, GEOMOp::Op3dSketcher, GEOMOp::OpAddPointOnEdge, GEOMOp::OpAngle, GEOMOp::OpAnnotation, GEOMOp::OpArc, GEOMOp::OpArchimede, GEOMOp::OpAutoColor, GEOMOp::OpBoundingBox, GEOMOp::OpBox, GEOMOp::OpBringToFront, GEOMOp::OpCenterMass, GEOMOp::OpChamfer, GEOMOp::OpChangeLoc, GEOMOp::OpCheckCompound, GEOMOp::OpCheckGeom, GEOMOp::OpCheckSelfInters, GEOMOp::OpCheckShape, GEOMOp::OpCircle, GEOMOp::OpCloseContour, GEOMOp::OpClsBringToFront, GEOMOp::OpColor, GEOMOp::OpCommon, GEOMOp::OpCompound, GEOMOp::OpConcealChildren, GEOMOp::OpCone, GEOMOp::OpCreateField, GEOMOp::OpCreateFolder, GEOMOp::OpCurve, GEOMOp::OpCut, GEOMOp::OpCylinder, GEOMOp::OpDecrNbIsos, GEOMOp::OpDecrTransparency, GEOMOp::OpDeflection, GEOMOp::OpDelete, GEOMOp::OpDeleteAnnotation, GEOMOp::OpDiscloseChildren, GEOMOp::OpDisk, GEOMOp::OpDMShading, GEOMOp::OpDMShadingWithEdges, GEOMOp::OpDMTexture, GEOMOp::OpDMWireframe, GEOMOp::OpEdge, GEOMOp::OpEdgeWidth, GEOMOp::OpEditAnnotation, GEOMOp::OpEditField, GEOMOp::OpEditFieldPopup, GEOMOp::OpEllipse, GEOMOp::OpExplode, GEOMOp::OpExplodeBlock, GEOMOp::OpExtension, GEOMOp::OpExtraction, GEOMOp::OpExtrudedBoss, GEOMOp::OpExtrudedCut, GEOMOp::OpFace, GEOMOp::OpFastCheckInters, GEOMOp::OpFillet1d, GEOMOp::OpFillet2d, GEOMOp::OpFillet3d, GEOMOp::OpFilling, GEOMOp::OpFreeBoundaries, GEOMOp::OpFreeFaces, GEOMOp::OpFuse, GEOMOp::OpFuseEdges, GEOMOp::OpGetNonBlocks, GEOMOp::OpGlueEdges, GEOMOp::OpGlueFaces, GEOMOp::OpGroupCreate, GEOMOp::OpGroupCreatePopup, GEOMOp::OpGroupCut, GEOMOp::OpGroupEdit, GEOMOp::OpGroupIntersect, GEOMOp::OpGroupUnion, GEOMOp::OpHexaSolid, GEOMOp::OpHide, GEOMOp::OpHideAll, GEOMOp::OpHideAllAnnotations, GEOMOp::OpHideAllDimensions, GEOMOp::OpIncrNbIsos, GEOMOp::OpIncrTransparency, GEOMOp::OpInertia, GEOMOp::OpInspectObj, GEOMOp::OpIsoline, GEOMOp::OpIsos, GEOMOp::OpIsosWidth, GEOMOp::OpLCS, GEOMOp::OpLimitTolerance, GEOMOp::OpLine, GEOMOp::OpManageDimensions, GEOMOp::OpMaterialMenu, GEOMOp::OpMaterialProperties, GEOMOp::OpMaterialsLibrary, GEOMOp::OpMinDistance, GEOMOp::OpMirror, GEOMOp::OpMultiRotate, GEOMOp::OpMultiTransform, GEOMOp::OpMultiTranslate, GEOMOp::OpNoAutoColor, GEOMOp::OpNormale, GEOMOp::OpOffset, GEOMOp::OpOrientation, GEOMOp::OpOriginAndVectors, GEOMOp::OpPartition, GEOMOp::OpPictureImport, GEOMOp::OpPipe, GEOMOp::OpPipePath, GEOMOp::OpPlane, GEOMOp::OpPoint, GEOMOp::OpPointCoordinates, GEOMOp::OpPointMarker, GEOMOp::OpPredefMaterCustom, GEOMOp::OpPrism, GEOMOp::OpProjection, GEOMOp::OpProjOnCyl, GEOMOp::OpPropagate, GEOMOp::OpProperties, GEOMOp::OpPublishObject, GEOMOp::OpQuadFace, GEOMOp::OpRectangle, GEOMOp::OpReduceStudy, GEOMOp::OpReimport, GEOMOp::OpRemoveExtraEdges, GEOMOp::OpRemoveIntWires, GEOMOp::OpRemoveWebs, GEOMOp::OpRevolution, GEOMOp::OpRotate, GEOMOp::OpScale, GEOMOp::OpSection, GEOMOp::OpSelectAll, GEOMOp::OpSelectCompound, GEOMOp::OpSelectEdge, GEOMOp::OpSelectFace, GEOMOp::OpSelectShell, GEOMOp::OpSelectSolid, GEOMOp::OpSelectVertex, GEOMOp::OpSelectWire, GEOMOp::OpSetTexture, GEOMOp::OpSewing, GEOMOp::OpShading, GEOMOp::OpShadingWithEdges, GEOMOp::OpShapeProcess, GEOMOp::OpShapesOnShape, GEOMOp::OpShapeStatistics, GEOMOp::OpSharedShapes, GEOMOp::OpShell, GEOMOp::OpShow, GEOMOp::OpShowAll, GEOMOp::OpShowAllAnnotations, GEOMOp::OpShowAllDimensions, GEOMOp::OpShowDependencyTree, GEOMOp::OpShowName, GEOMOp::OpShowOnly, GEOMOp::OpShowOnlyChildren, GEOMOp::OpSolid, GEOMOp::OpSortChildren, GEOMOp::OpSphere, GEOMOp::OpSuppressFaces, GEOMOp::OpSuppressHoles, GEOMOp::OpSurfaceFromFace, GEOMOp::OpSwitchName, GEOMOp::OpSwitchVectors, GEOMOp::OpSwitchVertices, GEOMOp::OpTexture, GEOMOp::OpThickness, GEOMOp::OpTolerance, GEOMOp::OpTorus, GEOMOp::OpTransferData, GEOMOp::OpTranslate, GEOMOp::OpTransparency, GEOMOp::OpUnionFaces, GEOMOp::OpUnpublishObject, GEOMOp::OpVector, GEOMOp::OpVectors, GEOMOp::OpVertices, GEOMOp::OpWhatIs, GEOMOp::OpWire, GEOMOp::OpWireframe, GEOM_AISShape::setTopLevelColor(), and GEOM_AISShape::setTopLevelDisplayMode().

◆ isDraggable()

bool GeometryGUI::isDraggable ( const SUIT_DataObject *  what) const
virtual

Overloaded from LightApp_Module class.

This function is a part of the general drag-n-drop mechanism. The goal of this function is to check data object passed as a parameter and decide if it can be dragged or no.

Parameters
whatdata object being tested for drag operation
Returns
true if module allows dragging of the specified object
See also
isDropAccepted(), dropObjects()

◆ isDropAccepted()

bool GeometryGUI::isDropAccepted ( const SUIT_DataObject *  where) const
virtual

Overloaded from LightApp_Module class.

This function is a part of the general drag-n-drop mechanism. The goal of this function is to check data object passed as a parameter and decide if it can be used as a target for the "drop" operation. The processing of the drop operation itself is done in the dropObjects() function.

Parameters
wheretarget data object
Returns
true if module supports dropping on the where data object
See also
isDraggable(), dropObjects()

◆ IsInGeomComponent()

bool GeometryGUI::IsInGeomComponent ( _PTR(SObject)  theSObject)
static

◆ message()

void GeometryGUI::message ( const QString &  msg)
virtual

This method can be re-implemented in the subclasses. This is a GEOM module message handler.

Parameters
msgthe message received.

References ClearShapeBuffer(), and GetObjectFromIOR().

◆ Modified()

void GeometryGUI::Modified ( bool  theIsUpdateActions = true)
static

◆ onAutoBringToFront

void GeometryGUI::onAutoBringToFront ( )
privateslot

◆ OnGUIEvent [1/2]

void GeometryGUI::OnGUIEvent ( )
privateslot

◆ OnGUIEvent() [2/2]

void GeometryGUI::OnGUIEvent ( int  id,
const QVariant &  theParam = QVariant( QVariant::Invalid ) 
)

References createOriginAndBaseVectors(), GetGeomGen(), getLibrary(), getPluginLibrary(), myPluginActions, GEOMPluginGUI::OnGUIEvent(), GEOMGUI::OnGUIEvent(), GEOMOp::Op2dPolylineEditor, GEOMOp::Op2dSketcher, GEOMOp::Op3dSketcher, GEOMOp::OpAddPointOnEdge, GEOMOp::OpAngle, GEOMOp::OpAnnotation, GEOMOp::OpArc, GEOMOp::OpArchimede, GEOMOp::OpAutoColor, GEOMOp::OpBoundingBox, GEOMOp::OpBox, GEOMOp::OpBringToFront, GEOMOp::OpCenterMass, GEOMOp::OpChamfer, GEOMOp::OpChangeLoc, GEOMOp::OpCheckCompound, GEOMOp::OpCheckGeom, GEOMOp::OpCheckSelfInters, GEOMOp::OpCheckShape, GEOMOp::OpCircle, GEOMOp::OpCloseContour, GEOMOp::OpClsBringToFront, GEOMOp::OpColor, GEOMOp::OpCommon, GEOMOp::OpCompound, GEOMOp::OpConcealChildren, GEOMOp::OpCone, GEOMOp::OpCreateField, GEOMOp::OpCreateFolder, GEOMOp::OpCurve, GEOMOp::OpCut, GEOMOp::OpCylinder, GEOMOp::OpDecrNbIsos, GEOMOp::OpDecrTransparency, GEOMOp::OpDeflection, GEOMOp::OpDelete, GEOMOp::OpDeleteAnnotation, GEOMOp::OpDiscloseChildren, GEOMOp::OpDisk, GEOMOp::OpDMShading, GEOMOp::OpDMShadingWithEdges, GEOMOp::OpDMTexture, GEOMOp::OpDMWireframe, GEOMOp::OpEdge, GEOMOp::OpEdgeWidth, GEOMOp::OpEditAnnotation, GEOMOp::OpEditField, GEOMOp::OpEditFieldPopup, GEOMOp::OpEllipse, GEOMOp::OpExplode, GEOMOp::OpExplodeBlock, GEOMOp::OpExtension, GEOMOp::OpExtraction, GEOMOp::OpExtrudedBoss, GEOMOp::OpExtrudedCut, GEOMOp::OpFace, GEOMOp::OpFastCheckInters, GEOMOp::OpFillet1d, GEOMOp::OpFillet2d, GEOMOp::OpFillet3d, GEOMOp::OpFilling, GEOMOp::OpFreeBoundaries, GEOMOp::OpFreeFaces, GEOMOp::OpFuse, GEOMOp::OpFuseEdges, GEOMOp::OpGetNonBlocks, GEOMOp::OpGlueEdges, GEOMOp::OpGlueFaces, GEOMOp::OpGroupCreate, GEOMOp::OpGroupCreatePopup, GEOMOp::OpGroupCut, GEOMOp::OpGroupEdit, GEOMOp::OpGroupIntersect, GEOMOp::OpGroupUnion, GEOMOp::OpHexaSolid, GEOMOp::OpHide, GEOMOp::OpHideAll, GEOMOp::OpHideAllAnnotations, GEOMOp::OpHideAllDimensions, GEOMOp::OpIncrNbIsos, GEOMOp::OpIncrTransparency, GEOMOp::OpInertia, GEOMOp::OpInspectObj, GEOMOp::OpIsoline, GEOMOp::OpIsos, GEOMOp::OpIsosWidth, GEOMOp::OpLCS, GEOMOp::OpLimitTolerance, GEOMOp::OpLine, GEOMOp::OpManageDimensions, GEOMOp::OpMaterialMenu, GEOMOp::OpMaterialProperties, GEOMOp::OpMaterialsLibrary, GEOMOp::OpMinDistance, GEOMOp::OpMirror, GEOMOp::OpMultiRotate, GEOMOp::OpMultiTransform, GEOMOp::OpMultiTranslate, GEOMOp::OpNoAutoColor, GEOMOp::OpNormale, GEOMOp::OpOffset, GEOMOp::OpOrientation, GEOMOp::OpOriginAndVectors, GEOMOp::OpPartition, GEOMOp::OpPictureImport, GEOMOp::OpPipe, GEOMOp::OpPipePath, GEOMOp::OpPlane, GEOMOp::OpPoint, GEOMOp::OpPointCoordinates, GEOMOp::OpPointMarker, GEOMOp::OpPredefMaterCustom, GEOMOp::OpPredefMaterial, GEOMOp::OpPrism, GEOMOp::OpProjection, GEOMOp::OpProjOnCyl, GEOMOp::OpPropagate, GEOMOp::OpProperties, GEOMOp::OpPublishObject, GEOMOp::OpQuadFace, GEOMOp::OpRectangle, GEOMOp::OpReduceStudy, GEOMOp::OpReimport, GEOMOp::OpRemoveExtraEdges, GEOMOp::OpRemoveIntWires, GEOMOp::OpRemoveWebs, GEOMOp::OpRevolution, GEOMOp::OpRotate, GEOMOp::OpScale, GEOMOp::OpSection, GEOMOp::OpSelectAll, GEOMOp::OpSelectCompound, GEOMOp::OpSelectEdge, GEOMOp::OpSelectFace, GEOMOp::OpSelectShell, GEOMOp::OpSelectSolid, GEOMOp::OpSelectVertex, GEOMOp::OpSelectWire, GEOMOp::OpSetTexture, GEOMOp::OpSewing, GEOMOp::OpShading, GEOMOp::OpShadingWithEdges, GEOMOp::OpShapeProcess, GEOMOp::OpShapesOnShape, GEOMOp::OpShapeStatistics, GEOMOp::OpSharedShapes, GEOMOp::OpShell, GEOMOp::OpShow, GEOMOp::OpShowAll, GEOMOp::OpShowAllAnnotations, GEOMOp::OpShowAllDimensions, GEOMOp::OpShowDependencyTree, GEOMOp::OpShowName, GEOMOp::OpShowOnly, GEOMOp::OpShowOnlyChildren, GEOMOp::OpSolid, GEOMOp::OpSortChildren, GEOMOp::OpSphere, GEOMOp::OpSuppressFaces, GEOMOp::OpSuppressHoles, GEOMOp::OpSurfaceFromFace, GEOMOp::OpSwitchName, GEOMOp::OpSwitchVectors, GEOMOp::OpSwitchVertices, GEOMOp::OpTexture, GEOMOp::OpThickness, GEOMOp::OpTolerance, GEOMOp::OpTorus, GEOMOp::OpTransferData, GEOMOp::OpTranslate, GEOMOp::OpTransparency, GEOMOp::OpUnionFaces, GEOMOp::OpUnpublishObject, GEOMOp::OpVector, GEOMOp::OpVectors, GEOMOp::OpVertices, GEOMOp::OpWhatIs, GEOMOp::OpWire, GEOMOp::OpWireframe, and updateCreationInfo().

◆ OnKeyPress

void GeometryGUI::OnKeyPress ( SUIT_ViewWindow *  w,
QKeyEvent *  e 
)
virtualslot

References myGUIMap, and GEOMGUI::OnKeyPress().

◆ OnMouseMove

void GeometryGUI::OnMouseMove ( SUIT_ViewWindow *  w,
QMouseEvent *  e 
)
virtualslot

References myGUIMap, and GEOMGUI::OnMouseMove().

◆ OnMousePress

void GeometryGUI::OnMousePress ( SUIT_ViewWindow *  w,
QMouseEvent *  e 
)
virtualslot

◆ OnMouseRelease

void GeometryGUI::OnMouseRelease ( SUIT_ViewWindow *  w,
QMouseEvent *  e 
)
virtualslot

◆ OnSetMaterial

void GeometryGUI::OnSetMaterial ( const QString &  theName)
privateslot

◆ onViewAboutToShow

void GeometryGUI::onViewAboutToShow ( )
privateslot

◆ onViewManagerAdded

void GeometryGUI::onViewManagerAdded ( SUIT_ViewManager *  vm)
protectedvirtualslot

◆ onViewManagerRemoved

void GeometryGUI::onViewManagerRemoved ( SUIT_ViewManager *  vm)
protectedvirtualslot

◆ onWindowActivated

◆ preferencesChanged()

◆ renameAllowed()

bool GeometryGUI::renameAllowed ( const QString &  entry) const
virtual

This method can be re-implemented in the subclasses. Return true in case if object isn't reference or component (module root).

Parameters
entrycolumn id
Returns
true if the item can be renamed by the user in place (e.g. in the Object browser)

◆ renameObject()

bool GeometryGUI::renameObject ( const QString &  entry,
const QString &  name 
)
virtual

Rename object by entry.

Parameters
entryentry of the object
namenew name of the object

References ClientSObjectToObject(), SignalDependencyTreeRenameObject(), and SignalTextTreeRenameObject().

◆ restoreVisualParameters()

◆ SetActiveDialogBox()

void GeometryGUI::SetActiveDialogBox ( QDialog aDlg)

References myActiveDialogBox.

◆ setLocalSelectionMode()

void GeometryGUI::setLocalSelectionMode ( const int  mode)

References myLocalSelectionMode.

◆ SetWorkingPlane()

void GeometryGUI::SetWorkingPlane ( gp_Ax3  wp)
inline

◆ SignalAnnotationsUpdated

void GeometryGUI::SignalAnnotationsUpdated ( const QString &  )
signal

◆ SignalCloseAllDialogs

void GeometryGUI::SignalCloseAllDialogs ( )
signal

◆ SignalDeactivateActiveDialog

void GeometryGUI::SignalDeactivateActiveDialog ( )
signal

◆ SignalDefaultStepValueChanged

void GeometryGUI::SignalDefaultStepValueChanged ( double  newVal)
signal

◆ SignalDependencyTreeParamChanged

void GeometryGUI::SignalDependencyTreeParamChanged ( const QString &  ,
const QString &   
)
signal

◆ SignalDependencyTreeRenameObject

void GeometryGUI::SignalDependencyTreeRenameObject ( const QString &  )
signal

◆ SignalTextTreeRenameObject

void GeometryGUI::SignalTextTreeRenameObject ( const QString &  )
signal

◆ storeVisualParameters()

◆ updateCreationInfo

◆ updateFieldColorScale

void GeometryGUI::updateFieldColorScale ( )
privateslot

◆ updateMaterials

void GeometryGUI::updateMaterials ( )
privateslot

◆ viewManagers()

void GeometryGUI::viewManagers ( QStringList &  lst) const
virtual

◆ windows()

void GeometryGUI::windows ( QMap< int, int > &  mappa) const
virtual

Friends And Related Function Documentation

◆ DisplayGUI

friend class DisplayGUI
friend

Member Data Documentation

◆ myActiveDialogBox

QDialog* GeometryGUI::myActiveDialogBox
private

◆ myAnnotationMgr

GEOMGUI_AnnotationMgr* GeometryGUI::myAnnotationMgr
private

◆ myComponentGeom

GEOM::GEOM_Gen_var GeometryGUI::myComponentGeom = GEOM::GEOM_Gen::_nil()
static

◆ myCreationInfoWdg

GEOMGUI_CreationInfoWdg* GeometryGUI::myCreationInfoWdg
private

◆ myDisplayer

LightApp_Displayer* GeometryGUI::myDisplayer
private

◆ myGUIMap

GUIMap GeometryGUI::myGUIMap
private

◆ myLocalSelectionMode

int GeometryGUI::myLocalSelectionMode
private

◆ myOCCSelectors

QList<GEOMGUI_OCCSelector*> GeometryGUI::myOCCSelectors
private

◆ myPluginActions

QMap<int, PluginAction> GeometryGUI::myPluginActions
private

◆ myPluginLibs

QMap<QString, QString> GeometryGUI::myPluginLibs
private

◆ myTextTreeWdg

GEOMGUI_TextTreeWdg* GeometryGUI::myTextTreeWdg
private

◆ myTopLevelIOList

SALOME_ListIO GeometryGUI::myTopLevelIOList
private

◆ myVTKSelectors

QList<LightApp_VTKSelector*> GeometryGUI::myVTKSelectors
private

◆ myWorkingPlane

gp_Ax3 GeometryGUI::myWorkingPlane
private

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