OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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 occ::handle< AIS_InteractiveContext > &theContext, const occ::handle< V3d_View > &theView)
     Constructor.
     ~ViewerTest_AutoUpdater ()
     Destructor to automatically update view.
    bool parseRedrawMode (const TCollection_AsciiString &theArg)
     Parse redraw mode argument.
    void Invalidate ()
     Disable autoupdate.
    void Update ()
     Finally update view.

    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 occ::handle< AIS_InteractiveContext > & theContext,
    const occ::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()

    bool 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: