#include <GeometryGUI.h>
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_Displayer * | displayer () |
virtual void | initialize (CAM_Application *) |
virtual QString | engineIOR () const |
GEOM_Client & | GetShapeReader () |
GEOMGUI_AnnotationMgr * | GetAnnotationMgr () |
GEOMGUI_TextTreeWdg * | GetTextTreeWdg () const |
QDialog * | GetActiveDialogBox () |
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_Selection * | createSelection () const |
Private Types | |
typedef QMap< long, Handle(TColStd_HArray1OfByte)> | TextureMap |
typedef QMap< long, TextureMap > | StudyTextureMap |
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 | |
GEOMGUI * | getLibrary (const QString &libraryName) |
GEOMPluginGUI * | getPluginLibrary (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 |
QDialog * | myActiveDialogBox |
gp_Ax3 | myWorkingPlane |
QMap< int, PluginAction > | myPluginActions |
QMap< QString, QString > | myPluginLibs |
QList< GEOMGUI_OCCSelector * > | myOCCSelectors |
QList< LightApp_VTKSelector * > | myVTKSelectors |
LightApp_Displayer * | myDisplayer |
int | myLocalSelectionMode |
GEOMGUI_CreationInfoWdg * | myCreationInfoWdg |
GEOMGUI_TextTreeWdg * | myTextTreeWdg |
GEOMGUI_AnnotationMgr * | myAnnotationMgr |
SALOME_ListIO | myTopLevelIOList |
Static Private Attributes | |
static StudyTextureMap | myTextureMap |
Friends | |
class | DisplayGUI |
|
private |
|
private |
|
private |
|
private |
GeometryGUI::GeometryGUI | ( | ) |
GeometryGUI::~GeometryGUI | ( | ) |
References myGUIMap, myOCCSelectors, and myVTKSelectors.
|
virtualslot |
References createOriginAndBaseVectors(), GetAnnotationMgr(), GEOMGUI_CreationInfoWdg::getWinID(), GEOMGUI_TextTreeWdg::getWinID(), it(), myComponentGeom, myCreationInfoWdg, myGUIMap, myTextTreeWdg, onAutoBringToFront(), onViewAboutToShow(), onViewManagerAdded(), onWindowActivated(), GEOMOp::OpDelete, updateCreationInfo(), and updateFieldColorScale().
|
virtual |
References OnGUIEvent().
|
virtual |
References OnGUIEvent().
|
virtual |
References myPluginActions, myPluginLibs, and OnGUIEvent().
void GeometryGUI::ActiveWorkingPlane | ( | ) |
References Handle(), and myWorkingPlane.
|
private |
References GEOMUtils::ActionData::accel, GEOMUtils::PluginData::clientLib, GEOMUtils::ActionData::icon, it(), GEOMUtils::ActionData::label, GEOMUtils::ActionData::menuText, myPluginActions, myPluginLibs, GEOMUtils::PluginData::name, OnGUIEvent(), GEOMOp::OpLastOperationID, GEOMUtils::ReadPluginInfo(), GEOMUtils::ActionData::statusText, and GEOMUtils::ActionData::toolTip.
|
static |
This is a static method. It clears the shape buffer.
theObj | the object |
References GEOM_Client::get_client(), and GEOM_Client::RemoveShapeFromBuffer().
|
static |
|
static |
|
virtual |
|
private |
References OnGUIEvent().
|
private |
References ClientStudyToStudy(), and GetGeomGen().
|
private |
|
virtual |
|
protectedvirtual |
|
virtualslot |
References EmitSignalCloseAllDialogs(), GEOMGUI_CreationInfoWdg::getWinID(), GEOMGUI_TextTreeWdg::getWinID(), it(), myCreationInfoWdg, myGUIMap, myOCCSelectors, myTextTreeWdg, myVTKSelectors, onViewAboutToShow(), onWindowActivated(), GEOMOp::OpDelete, updateCreationInfo(), and updateFieldColorScale().
|
signal |
|
virtual |
References myDisplayer.
|
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.
what | objects being dropped |
where | target data object |
row | child index at which the drop operation is performed |
action | drag-n-drop operation (Qt::DropAction) - move |
References GetGeomGen().
void GeometryGUI::emitAnnotationsUpdated | ( | QString | entry | ) |
References SignalAnnotationsUpdated().
void GeometryGUI::emitDimensionsUpdated | ( | QString | entry | ) |
References DimensionsUpdated().
void GeometryGUI::EmitSignalCloseAllDialogs | ( | ) |
References SignalCloseAllDialogs().
void GeometryGUI::EmitSignalDeactivateDialog | ( | ) |
References SignalDeactivateActiveDialog().
void GeometryGUI::EmitSignalDefaultStepValueChanged | ( | double | newVal | ) |
References SignalDefaultStepValueChanged().
|
virtual |
References GetGeomGen().
QAction * GeometryGUI::getAction | ( | const int | id | ) |
id | identifier of the action |
|
inline |
GEOMGUI_AnnotationMgr * GeometryGUI::GetAnnotationMgr | ( | ) |
References myAnnotationMgr.
|
static |
References InitGeomGen(), and myComponentGeom.
|
static |
This is a static method. It returns the object's IOR.
object | the GEOM object. |
|
private |
int GeometryGUI::getLocalSelectionMode | ( | ) | const |
References myLocalSelectionMode.
|
static |
This is a static method. It returns the object from its IOR.
IOR | object IOR |
|
private |
|
inline |
References SHAPE_READER.
GEOMGUI_TextTreeWdg * GeometryGUI::GetTextTreeWdg | ( | ) | const |
References myTextTreeWdg.
|
inline |
|
static |
|
static |
References myComponentGeom.
|
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().
|
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.
what | data object being tested for drag operation |
true
if module allows dragging of the specified object
|
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.
where | target data object |
true
if module supports dropping on the where data object
|
virtual |
This method can be re-implemented in the subclasses. This is a GEOM module message handler.
msg | the message received. |
References ClearShapeBuffer(), and GetObjectFromIOR().
|
static |
|
privateslot |
References displayer(), Handle(), Modified(), myTopLevelIOList, GEOM::propertyName(), GEOM_Displayer::Redisplay(), and GEOM::TopLevel.
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().
|
privateslot |
|
virtualslot |
References myGUIMap, and GEOMGUI::OnKeyPress().
|
virtualslot |
References myGUIMap, and GEOMGUI::OnMouseMove().
|
virtualslot |
References myGUIMap, and GEOMGUI::OnMousePress().
|
virtualslot |
References myGUIMap, and GEOMGUI::OnMouseRelease().
|
privateslot |
References OnGUIEvent(), and GEOMOp::OpPredefMaterial.
|
privateslot |
References GEOMOp::OpSwitchName, GEOMOp::OpSwitchVectors, GEOMOp::OpSwitchVertices, and UpdateNameMode().
|
protectedvirtualslot |
References myOCCSelectors, myVTKSelectors, OnKeyPress(), OnMouseMove(), OnMousePress(), and OnMouseRelease().
|
protectedvirtualslot |
References GetAnnotationMgr(), myOCCSelectors, myVTKSelectors, and GEOMGUI_AnnotationMgr::RemoveView().
|
privateslot |
|
virtual |
References anIter(), EmitSignalDefaultStepValueChanged(), GetAnnotationMgr(), GEOMGUI_AnnotationMgr::isAnnotationEntry(), GEOM_Displayer::Redisplay(), GEOM_AISShape::setTopLevelColor(), GEOM_AISShape::setTopLevelDisplayMode(), SignalDependencyTreeParamChanged(), and GEOM_Displayer::UpdateColorScale().
|
virtual |
This method can be re-implemented in the subclasses. Return true in case if object isn't reference or component (module root).
entry | column id |
true
if the item can be renamed by the user in place (e.g. in the Object browser)
|
virtual |
Rename object by entry.
entry | entry of the object |
name | new name of the object |
References ClientSObjectToObject(), SignalDependencyTreeRenameObject(), and SignalTextTreeRenameObject().
|
virtual |
This method is called after the study document is opened. Restore visual parameters from AttributeParameter attribute(s)
References aView, GEOM::Color, GEOM::Deflection, GEOM::Dimensions, displayer(), GEOM::DisplayMode, GEOM::EdgesDirection, GetAnnotationMgr(), Handle(), GEOM::IsosWidth, it(), GEOM::LineWidth, GEOM::Material, myComponentGeom, myTextTreeWdg, GEOM::NbIsos, GEOM::Opacity, GEOM::PointMarker, GEOM::propertyName(), GEOMGUI_DimensionProperty::SaveToAttribute(), GEOM::sectionSeparator(), GEOMGUI_AnnotationMgr::setDisplayedIndicesInfo(), GEOM::ShapeAnnotations, GEOM::ShowName, GEOM::subSectionSeparator(), GEOM::Texture, GEOM::TopLevel, GEOM::Transparency, GEOMGUI_TextTreeWdg::updateTree(), GEOM::Vertices, and GEOM::Visibility.
void GeometryGUI::SetActiveDialogBox | ( | QDialog * | aDlg | ) |
References myActiveDialogBox.
void GeometryGUI::setLocalSelectionMode | ( | const int | mode | ) |
References myLocalSelectionMode.
|
inline |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
virtual |
This method is called just before the study document is saved. Store visual parameters in AttributeParameter attribute(s)
References aView, GEOM::Color, GEOM::Deflection, GEOM::Dimensions, GEOM::DisplayMode, GEOM::EdgesDirection, GetAnnotationMgr(), GEOMGUI_AnnotationMgr::getDisplayedIndicesInfo(), GEOMGUI_DimensionProperty::GetNumber(), Handle(), GEOM::IsosWidth, it(), GEOM::LineWidth, GEOM::Material, myComponentGeom, GEOM::NbIsos, GEOM::Opacity, GEOM::PointMarker, GEOM::propertyName(), GEOM::sectionSeparator(), GEOM::ShapeAnnotations, GEOM::ShowName, GEOM::subSectionSeparator(), GEOM::Texture, GEOM::TopLevel, GEOM::Transparency, GEOM::Vertices, and GEOM::Visibility.
|
privateslot |
|
privateslot |
References GEOM_Displayer::UpdateColorScale().
|
privateslot |
References Material_ResourceMgr::materials(), and Material_ResourceMgr::resourceMgr().
|
virtual |
|
friend |
GeometryGUI::int |
|
private |
|
private |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |