//
// See http://www.salome-platform.org/
//
-/***************************************************************************
-** Class: OCCViewer_ViewPort3D
-** Descr: Visualisation canvas with CasCade 3D view
-** Module: OCCViewer
-** Created: UI team, 05.09.00
-****************************************************************************/
#include "OCCViewer_ViewPort3d.h"
}
}
+/*!
+ Set animation mode
+ \param theDegenerated - degenerated mode
+*/
void OCCViewer_ViewPort3d::setAnimationMode(bool theDegenerated)
{
if ( !activeView().IsNull() )
if ( !myDegenerated )
activeView()->SetDegenerateModeOff();
activeView()->ZFitAll(1.);
+ activeView()->SetZSize(0.);
+ activeView()->Update();
}
}
Standard_Real margin = 0.01;
activeView()->FitAll( margin, withZ, upd );
+ activeView()->SetZSize(0.);
}
/*!