- void SetMaxSize(int aMaxSize) { myMaxSize = aMaxSize; }
- //void SetSubShType(TopAbs_ShapeEnum aSubShType) { mySubShType = aSubShType; }
+ void SetMaxSize(int aMaxSize) { myMaxSize = aMaxSize; }
+
+ vtkRenderer* GetRenderer() { return myRenderer; }
+ SMESH_PreviewActorsCollection* GetActorCollection() { return myPreviewActor; }
+ void ClearSelected();
+
+ void AvoidSimultaneousSelection( StdMeshersGUI_SubShapeSelectorWdg* other);
+
+public slots:
+
+ void ActivateSelection( bool );
+ void deactivateSelection() { ActivateSelection( false ); }
+
+signals:
+ void selectionChanged(); // in the list
+ void shapeSelected(); // globally
+ /*!
+ * \brief Emitted when selection is activated
+ *
+ * Useful to deactivate one Object Reference param widget when an other
+ * one is activated
+ */
+ void selectionActivated();