Open CASCADE Technology 7.8.0
|
Auxiliary tool to control view updates. More...
#include <ViewerTest_AutoUpdater.hxx>
Public Types | |
enum | RedrawMode { RedrawMode_Auto = -1 , RedrawMode_Forced , RedrawMode_Suppressed } |
Enumeration to control auto-update. More... | |
Public Member Functions | |
ViewerTest_AutoUpdater (const Handle< AIS_InteractiveContext > &theContext, const Handle< V3d_View > &theView) | |
Constructor. | |
~ViewerTest_AutoUpdater () | |
Destructor to automatically update view. | |
Standard_Boolean | parseRedrawMode (const TCollection_AsciiString &theArg) |
Parse redraw mode argument. | |
void | Invalidate () |
Disable autoupdate. | |
void | Update () |
Finally update view. | |
Auxiliary tool to control view updates.
ViewerTest_AutoUpdater::ViewerTest_AutoUpdater | ( | const Handle< AIS_InteractiveContext > & | theContext, |
const Handle< V3d_View > & | theView | ||
) |
Constructor.
ViewerTest_AutoUpdater::~ViewerTest_AutoUpdater | ( | ) |
Destructor to automatically update view.
void ViewerTest_AutoUpdater::Invalidate | ( | ) |
Disable autoupdate.
Standard_Boolean ViewerTest_AutoUpdater::parseRedrawMode | ( | const TCollection_AsciiString & | theArg | ) |
Parse redraw mode argument.
void ViewerTest_AutoUpdater::Update | ( | ) |
Finally update view.