- if ( myPred->GetElementType() == SMESH::NODE ) return SMESHGUI_NodeFilter;
- else if ( myPred->GetElementType() == SMESH::EDGE ) return SMESHGUI_EdgeFilter;
- else if ( myPred->GetElementType() == SMESH::FACE ) return SMESHGUI_FaceFilter;
- else if ( myPred->GetElementType() == SMESH::VOLUME ) return SMESHGUI_VolumeFilter;
- else if ( myPred->GetElementType() == SMESH::ALL ) return SMESHGUI_AllElementsFilter;
- else return SMESHGUI_UnknownFilter;
+ if ( myPred->GetElementType() == SMESH::NODE ) return SMESH::NodeFilter;
+ else if ( myPred->GetElementType() == SMESH::EDGE ) return SMESH::EdgeFilter;
+ else if ( myPred->GetElementType() == SMESH::FACE ) return SMESH::FaceFilter;
+ else if ( myPred->GetElementType() == SMESH::VOLUME ) return SMESH::VolumeFilter;
+ else if ( myPred->GetElementType() == SMESH::ALL ) return SMESH::AllElementsFilter;
+ else return SMESH::UnknownFilter;