Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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(SalomeApp_Study *
 
static int int &static bool InitGeomGen ()
 
static GEOM::GEOM_Gen_var GetGeomGen ()
 
static CORBA::Object_var ClientSObjectToObject (_PTR(SObject) theSObject)
 
static SALOMEDS::Study_var ClientStudyToStudy (_PTR(Study) theStudy)
 
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...
 

Public Attributes

static int
 

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< long, Handle(TColStd_HArray1OfByte)> TextureMap
 
typedef QMap< long, TextureMapStudyTextureMap
 
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
 

Static Private Attributes

static StudyTextureMap myTextureMap
 

Friends

class DisplayGUI
 

Member Typedef Documentation

typedef QMap<QString, GEOMGUI*> GeometryGUI::GUIMap
private
typedef QPair<QString, QString> GeometryGUI::PluginAction
private
typedef QMap<long, TextureMap> GeometryGUI::StudyTextureMap
private
typedef QMap<long, Handle(TColStd_HArray1OfByte)> GeometryGUI::TextureMap
private

Constructor & Destructor Documentation

GeometryGUI::~GeometryGUI ( )

Member Function Documentation

bool GeometryGUI::activateOperation ( int  actionId)
virtual

References OnGUIEvent().

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

References OnGUIEvent().

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

References Handle(), and myWorkingPlane.

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().

CORBA::Object_var GeometryGUI::ClientSObjectToObject ( _PTR(SObject)  theSObject)
static
SALOMEDS::Study_var GeometryGUI::ClientStudyToStudy ( _PTR(Study)  theStudy)
static
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().

void GeometryGUI::createOriginAndBaseVectors ( )
private
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
LightApp_Selection * GeometryGUI::createSelection ( ) const
protectedvirtual
void GeometryGUI::DimensionsUpdated ( const QString &  )
signal
LightApp_Displayer * GeometryGUI::displayer ( )
virtual

References myDisplayer.

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().

void GeometryGUI::emitAnnotationsUpdated ( QString  entry)
void GeometryGUI::emitDimensionsUpdated ( QString  entry)

References DimensionsUpdated().

void GeometryGUI::EmitSignalCloseAllDialogs ( )
void GeometryGUI::EmitSignalDeactivateDialog ( )
void GeometryGUI::EmitSignalDefaultStepValueChanged ( double  newVal)
QString GeometryGUI::engineIOR ( ) const
virtual

References GetGeomGen().

QAction * GeometryGUI::getAction ( const int  id)
Parameters
ididentifier of the action
Returns
action
QDialog* GeometryGUI::GetActiveDialogBox ( )
inline
GEOMGUI_AnnotationMgr * GeometryGUI::GetAnnotationMgr ( )

References myAnnotationMgr.

GEOM::GEOM_Gen_var GeometryGUI::GetGeomGen ( )
static

References InitGeomGen(), and myComponentGeom.

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.
GEOMGUI * GeometryGUI::getLibrary ( const QString &  libraryName)
private

References it(), myGUIMap, and NULL.

int GeometryGUI::getLocalSelectionMode ( ) const

References myLocalSelectionMode.

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.
GEOMPluginGUI * GeometryGUI::getPluginLibrary ( const QString &  libraryName)
private

References it(), myGUIMap, and NULL.

GEOM_Client& GeometryGUI::GetShapeReader ( )
inline

References SHAPE_READER.

GEOMGUI_TextTreeWdg * GeometryGUI::GetTextTreeWdg ( ) const

References myTextTreeWdg.

gp_Ax3 GeometryGUI::GetWorkingPlane ( )
inline
static GeometryGUI::Handle ( TColStd_HArray1OfByte  )
static
bool GeometryGUI::InitGeomGen ( )
static

References myComponentGeom.

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::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().

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()
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()
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().

void GeometryGUI::Modified ( bool  theIsUpdateActions = true)
static
void GeometryGUI::onAutoBringToFront ( )
privateslot
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::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().

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

References myGUIMap, and GEOMGUI::OnKeyPress().

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

References myGUIMap, and GEOMGUI::OnMouseMove().

void GeometryGUI::OnMousePress ( SUIT_ViewWindow *  w,
QMouseEvent *  e 
)
virtualslot
void GeometryGUI::OnMouseRelease ( SUIT_ViewWindow *  w,
QMouseEvent *  e 
)
virtualslot
void GeometryGUI::OnSetMaterial ( const QString &  theName)
privateslot
void GeometryGUI::onViewAboutToShow ( )
privateslot
void GeometryGUI::onViewManagerAdded ( SUIT_ViewManager *  vm)
protectedvirtualslot
void GeometryGUI::onViewManagerRemoved ( SUIT_ViewManager *  vm)
protectedvirtualslot
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)
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().

void GeometryGUI::SetActiveDialogBox ( QDialog aDlg)

References myActiveDialogBox.

void GeometryGUI::setLocalSelectionMode ( const int  mode)

References myLocalSelectionMode.

void GeometryGUI::SetWorkingPlane ( gp_Ax3  wp)
inline
void GeometryGUI::SignalAnnotationsUpdated ( const QString &  )
signal
void GeometryGUI::SignalCloseAllDialogs ( )
signal
void GeometryGUI::SignalDeactivateActiveDialog ( )
signal
void GeometryGUI::SignalDefaultStepValueChanged ( double  newVal)
signal
void GeometryGUI::SignalDependencyTreeParamChanged ( const QString &  ,
const QString &   
)
signal
void GeometryGUI::SignalDependencyTreeRenameObject ( const QString &  )
signal
void GeometryGUI::SignalTextTreeRenameObject ( const QString &  )
signal
void GeometryGUI::updateCreationInfo ( )
privateslot
void GeometryGUI::updateFieldColorScale ( )
privateslot
void GeometryGUI::updateMaterials ( )
privateslot
void GeometryGUI::viewManagers ( QStringList &  lst) const
virtual
void GeometryGUI::windows ( QMap< int, int > &  mappa) const
virtual

Friends And Related Function Documentation

friend class DisplayGUI
friend

Member Data Documentation

GeometryGUI::int
QDialog* GeometryGUI::myActiveDialogBox
private
GEOMGUI_AnnotationMgr* GeometryGUI::myAnnotationMgr
private
GEOM::GEOM_Gen_var GeometryGUI::myComponentGeom = GEOM::GEOM_Gen::_nil()
static
GEOMGUI_CreationInfoWdg* GeometryGUI::myCreationInfoWdg
private
LightApp_Displayer* GeometryGUI::myDisplayer
private
GUIMap GeometryGUI::myGUIMap
private
int GeometryGUI::myLocalSelectionMode
private
QList<GEOMGUI_OCCSelector*> GeometryGUI::myOCCSelectors
private
QMap<int, PluginAction> GeometryGUI::myPluginActions
private
QMap<QString, QString> GeometryGUI::myPluginLibs
private
GEOMGUI_TextTreeWdg* GeometryGUI::myTextTreeWdg
private
GeometryGUI::StudyTextureMap GeometryGUI::myTextureMap
staticprivate
SALOME_ListIO GeometryGUI::myTopLevelIOList
private
QList<LightApp_VTKSelector*> GeometryGUI::myVTKSelectors
private
gp_Ax3 GeometryGUI::myWorkingPlane
private

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