Open CASCADE Technology  7.7.0
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

◆ RedrawMode

Enumeration to control auto-update.

Enumerator
RedrawMode_Auto 
RedrawMode_Forced 
RedrawMode_Suppressed 

Constructor & Destructor Documentation

◆ ViewerTest_AutoUpdater()

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

Constructor.

◆ ~ViewerTest_AutoUpdater()

ViewerTest_AutoUpdater::~ViewerTest_AutoUpdater ( )

Destructor to automatically update view.

Member Function Documentation

◆ Invalidate()

void ViewerTest_AutoUpdater::Invalidate ( )

Disable autoupdate.

◆ parseRedrawMode()

Standard_Boolean ViewerTest_AutoUpdater::parseRedrawMode ( const TCollection_AsciiString theArg)

Parse redraw mode argument.

◆ Update()

void ViewerTest_AutoUpdater::Update ( )

Finally update view.


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