Public Member Functions | |
| TSetVisibility (int theIsVisible) | |
| void | operator() (SMESH::TPlaneData &thePlaneData) |
Data Fields | |
| int | myIsVisible |
Definition at line 194 of file SMESHGUI_ClippingDlg.cxx.
| TSetVisibility.TSetVisibility | ( | int | theIsVisible | ) |
Definition at line 195 of file SMESHGUI_ClippingDlg.cxx.
: myIsVisible(theIsVisible){}
| void TSetVisibility.operator() | ( | SMESH::TPlaneData & | thePlaneData | ) |
Definition at line 196 of file SMESHGUI_ClippingDlg.cxx.
References SMESH.TPlaneData.ActorList, and SMESH.TPlaneData.Plane.
{
bool anIsEmpty = thePlaneData.ActorList.empty();
thePlaneData.Plane.GetPointer()->myActor->SetVisibility(myIsVisible && !anIsEmpty);
}
Definition at line 200 of file SMESHGUI_ClippingDlg.cxx.