SoMouseWheelEvent Class Reference

The SoMouseWheelEvent class is a temporary replacement for SoMouseWheelEvent from Coin, for until freecad stops using Coin version that doesn't have one (coin v 4.0.0a doesn't have SoMouseWheelEvent). More...

#include <SoMouseWheelEvent.h>

Public Member Functions

int getDelta () const
 returns wheel position change. More...
 
void setDelta (int delta)
 
 SoMouseWheelEvent ()
 
 SoMouseWheelEvent (int delta)
 
 ~SoMouseWheelEvent ()
 

Static Public Member Functions

static void initClass ()
 

Detailed Description

The SoMouseWheelEvent class is a temporary replacement for SoMouseWheelEvent from Coin, for until freecad stops using Coin version that doesn't have one (coin v 4.0.0a doesn't have SoMouseWheelEvent).

Constructor & Destructor Documentation

◆ SoMouseWheelEvent() [1/2]

SoMouseWheelEvent::SoMouseWheelEvent ( )

◆ SoMouseWheelEvent() [2/2]

SoMouseWheelEvent::SoMouseWheelEvent ( int  delta)

◆ ~SoMouseWheelEvent()

SoMouseWheelEvent::~SoMouseWheelEvent ( )

Member Function Documentation

◆ getDelta()

int SoMouseWheelEvent::getDelta ( ) const

returns wheel position change.

One click is usually 120 units, smaller values come from high-resolution devices like touchpads

◆ initClass()

static void SoMouseWheelEvent::initClass ( void  )
static

Referenced by Gui::SoFCDB::init().

◆ setDelta()

void SoMouseWheelEvent::setDelta ( int  delta)

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