This commit is contained in:
san 2005-02-02 13:51:36 +00:00
parent 4a31c0f62c
commit 3da89ab053
2 changed files with 7 additions and 1 deletions

View File

@ -44,7 +44,8 @@ enum SMESHGUI_FilterType
SMESHGUI_VolumeFilter = 3,
SMESHGUI_AllElementsFilter = 4,
SMESHGUI_QuadFilter = 5,
SMESHGUI_TriaFilter = 6
SMESHGUI_TriaFilter = 6,
SMESHGUI_LastFilter
};
/*

View File

@ -469,6 +469,11 @@ namespace SMESH{
theStyle->RemoveFilter(theId);
}
void RemoveFilters(VTKViewer_InteractorStyleSALOME* theStyle){
for ( int id = SMESHGUI_NodeFilter; theStyle && id < SMESHGUI_LastFilter; id++ )
theStyle->RemoveFilter( id );
}
bool IsValid(SALOME_Actor* theActor, int theCellId,
VTKViewer_InteractorStyleSALOME* theStyle)
{