+ SMESH_Actor* actor = getActor( ind );
+ QString mode = "eNone";
+ if ( actor ) {
+ switch( actor->GetControlMode() ) {
+ case SMESH_Actor::eLength: mode = "eLength"; break;
+ case SMESH_Actor::eLength2D: mode = "eLength2D"; break;
+ case SMESH_Actor::eFreeEdges: mode = "eFreeEdges"; break;
+ case SMESH_Actor::eFreeNodes: mode = "eFreeNodes"; break;
+ case SMESH_Actor::eFreeBorders: mode = "eFreeBorders"; break;
+ case SMESH_Actor::eFreeFaces: mode = "eFreeFaces"; break;
+ case SMESH_Actor::eMultiConnection: mode = "eMultiConnection"; break;
+ case SMESH_Actor::eMultiConnection2D: mode = "eMultiConnection2D"; break;
+ case SMESH_Actor::eArea: mode = "eArea"; break;
+ case SMESH_Actor::eVolume3D: mode = "eVolume3D"; break;
+ case SMESH_Actor::eMaxElementLength2D: mode = "eMaxElementLength2D"; break;
+ case SMESH_Actor::eMaxElementLength3D: mode = "eMaxElementLength3D"; break;
+ case SMESH_Actor::eTaper: mode = "eTaper"; break;
+ case SMESH_Actor::eAspectRatio: mode = "eAspectRatio"; break;
+ case SMESH_Actor::eAspectRatio3D: mode = "eAspectRatio3D"; break;
+ case SMESH_Actor::eMinimumAngle: mode = "eMinimumAngle"; break;
+ case SMESH_Actor::eWarping: mode = "eWarping"; break;
+ case SMESH_Actor::eSkew: mode = "eSkew"; break;
+ case SMESH_Actor::eBareBorderFace: mode = "eBareBorderFace"; break;
+ case SMESH_Actor::eBareBorderVolume: mode = "eBareBorderVolume"; break;
+ case SMESH_Actor::eOverConstrainedFace: mode = "eOverConstrainedFace"; break;
+ case SMESH_Actor::eOverConstrainedVolume: mode = "eOverConstrainedVolume"; break;
+ case SMESH_Actor::eCoincidentNodes: mode = "eCoincidentNodes"; break;
+ case SMESH_Actor::eCoincidentElems1D: mode = "eCoincidentElems1D"; break;
+ case SMESH_Actor::eCoincidentElems2D: mode = "eCoincidentElems2D"; break;
+ case SMESH_Actor::eCoincidentElems3D: mode = "eCoincidentElems3D"; break;
+ default:break;
+ }
+ }
+ return mode;
+}
+
+bool SMESHGUI_Selection::isNumFunctor( int ind ) const
+{
+ bool result = false;