Open CASCADE Technology  7.1.0.beta
Public Types | Public Member Functions

ViewerTest_AutoUpdater Class Reference

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...

Detailed Description

Auxiliary tool to control view updates.

Member Enumeration Documentation

Enumeration to control auto-update.


Constructor & Destructor Documentation

ViewerTest_AutoUpdater::ViewerTest_AutoUpdater ( const Handle< AIS_InteractiveContext > &  theContext,
const Handle< V3d_View > &  theView 


ViewerTest_AutoUpdater::~ViewerTest_AutoUpdater ( )

Destructor to automatically update view.

Member Function Documentation

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.

The documentation for this class was generated from the following file: