myPlaneDlg = 0;
setPlanesVisible(myShowPlanes->checkState() == Qt::Checked);
+
+ updateAllPrsActors();
if (myViewWindow)
myViewWindow->Repaint();
bool isChecked = (myPlanesList->item(row, col)->checkState() == Qt::Checked);
if (col == 1) { // activate column clicked
if (isAutoApply())
+ {
//aPlane.plane->setActive(isChecked);
aPlane->setActive(isChecked);
+ updateAllPrsActors();
+ }
else {
myIsApplied = false;
return;
} else { // Detach
aMgr.DetachClippingPlane(aPrs, thePlaneNum);
}
+ aPrs->UpdateActors();
/* PlaneDef aPlane = myPlanes.at(thePlaneNum);
_PTR(Study) aStudy = VISU::GetCStudy( VISU::GetAppStudy( myModule ) );
_PTR(StudyBuilder) aBuilder = aStudy->NewBuilder();
}
+//*************************************************************************
+void VisuGUI_ClippingPanel::updateAllPrsActors()
+{
+ for( int i = 0, n = myPresentations.size(); i < n; i++ )
+ if( VISU::Prs3d_i* aPrs = getPrs( myPresentations.at( i ) ) )
+ aPrs->UpdateActors();
+}
+
+
//*************************************************************************
void VisuGUI_ClippingPanel::onHelp()
{
QStringList getPrsList(_PTR(Study) theStudy, _PTR(SObject) theObject);
VISU::Prs3d_i* getPrs(QString theEntry);
+ void updateAllPrsActors();
+
QListWidget* myPrsList;
QTableWidget* myPlanesList;