Open CASCADE Technology
6.9.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. More... | |
~ViewerTest_AutoUpdater () | |
Destructor to automatically update view. More... | |
Standard_Boolean | parseRedrawMode (const TCollection_AsciiString &theArg) |
Parse redraw mode argument. More... | |
void | Invalidate () |
Disable autoupdate. More... | |
void | Update () |
Finally update view. More... | |
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.