OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Aspect_ScrollDelta Struct Reference

    Parameters for mouse scroll action. More...

    #include <Aspect_ScrollDelta.hxx>

    Public Member Functions

    bool HasPoint () const
     Return true if action has point defined.
    void ResetPoint ()
     Reset at point.
     Aspect_ScrollDelta ()
     Empty constructor.
     Aspect_ScrollDelta (const NCollection_Vec2< int > &thePnt, double theValue, Aspect_VKeyFlags theFlags=Aspect_VKeyFlags_NONE)
     Constructor.
     Aspect_ScrollDelta (double theValue, Aspect_VKeyFlags theFlags=Aspect_VKeyFlags_NONE)
     Constructor with undefined point.

    Data Fields

    NCollection_Vec2< int > Point
     scale position
    double Delta
     delta in pixels
    Aspect_VKeyFlags Flags
     key flags

    Detailed Description

    Parameters for mouse scroll action.

    Constructor & Destructor Documentation

    ◆ Aspect_ScrollDelta() [1/3]

    Aspect_ScrollDelta::Aspect_ScrollDelta ( )
    inline

    Empty constructor.

    ◆ Aspect_ScrollDelta() [2/3]

    Aspect_ScrollDelta::Aspect_ScrollDelta ( const NCollection_Vec2< int > & thePnt,
    double theValue,
    Aspect_VKeyFlags theFlags = Aspect_VKeyFlags_NONE )
    inline

    Constructor.

    ◆ Aspect_ScrollDelta() [3/3]

    Aspect_ScrollDelta::Aspect_ScrollDelta ( double theValue,
    Aspect_VKeyFlags theFlags = Aspect_VKeyFlags_NONE )
    inline

    Constructor with undefined point.

    Member Function Documentation

    ◆ HasPoint()

    bool Aspect_ScrollDelta::HasPoint ( ) const
    inline

    Return true if action has point defined.

    ◆ ResetPoint()

    void Aspect_ScrollDelta::ResetPoint ( )
    inline

    Reset at point.

    Field Documentation

    ◆ Delta

    double Aspect_ScrollDelta::Delta

    delta in pixels

    ◆ Flags

    Aspect_VKeyFlags Aspect_ScrollDelta::Flags

    key flags

    ◆ Point

    NCollection_Vec2<int> Aspect_ScrollDelta::Point

    scale position


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