Modified();
}
-void SMESH_ActorDef::SetShrink(){
+void SMESH_ActorDef::SetShrink() {
if(!myIsShrinkable) return;
myBaseActor->SetShrink();
my3DExtActor->SetPlaneCollection( myPlaneCollection );
my3DExtActor->SetUnstructuredGrid(myVisualObj->GetUnstructuredGrid());
- Modified();
+ if(IsShrunk())
+ SetShrink();
+ else
+ Modified();
}
void
VTKViewer_PolyDataMapper *myMapper;
TVisualObjPtr myVisualObj;
- vtkPlaneCollection* myPlaneCollection;
+ vtkSmartPointer<vtkPlaneCollection> myPlaneCollection;
+
vtkProperty *myProperty;
EReperesent myRepresentation;