2D location events.  
 More...
#include <Inventor/events/SoLocation2Event.h>
 | 
|   | SoLocation2Event () | 
|   | Constructor.  
  | 
|   | 
| virtual  | ~SoLocation2Event () | 
|   | 
|   | SoEvent () | 
|   | Constructor and destructor.  
  | 
|   | 
| virtual  | ~SoEvent () | 
|   | Constructor and destructor.  
  | 
|   | 
| virtual SoType  | getTypeId () const | 
|   | Return the type id for this event instance.  
  | 
|   | 
| bool  | isOfType (SoType type) const | 
|   | This returns TRUE if the event is an instance of or derived from an event of the passed type.  
  | 
|   | 
| void  | setTime (SbTime t) | 
|   | Set the time at which the event occurred.  
  | 
|   | 
| SbTime  | getTime () const | 
|   | Get the time at which the event occurred.  
  | 
|   | 
| void  | setPosition (const SbVec2s &p) | 
|   | Set the window pixel location of the cursor when the event occurred.  
  | 
|   | 
| const SbVec2s &  | getPosition () const | 
|   | Get position in pixel coodinates.  
  | 
|   | 
| const SbVec2s &  | getPosition (const SbViewportRegion &vpRgn) const | 
|   | Get position relative to the specified viewport bounds.  
  | 
|   | 
| const SbVec2f &  | getNormalizedPosition (const SbViewportRegion &vpRgn) const | 
|   | Get the normalized location of the cursor when the event occurred, relative to the specified viewport region.  
  | 
|   | 
| void  | setShiftDown (bool isDown) | 
|   | Set whether the modifier keys were down when the event occurred.  
  | 
|   | 
| void  | setCtrlDown (bool isDown) | 
|   | Set whether the modifier keys were down when the event occurred.  
  | 
|   | 
| void  | setAltDown (bool isDown) | 
|   | Set whether the modifier keys were down when the event occurred.  
  | 
|   | 
| bool  | wasShiftDown () const | 
|   | Get whether the modifier keys were down when the event occurred.  
  | 
|   | 
| bool  | wasCtrlDown () const | 
|   | Get whether the modifier keys were down when the event occurred.  
  | 
|   | 
| bool  | wasAltDown () const | 
|   | Get whether the modifier keys were down when the event occurred.  
  | 
|   | 
| void  | setMouseButtonMask (int mask) | 
|   | Get which mouse buttons are currently pressed (as bit mask)  
  | 
|   | 
| int  | getMouseButtonMask () const | 
|   | Set which mouse buttons are currently pressed.  
  | 
|   | 
◆ SoLocation2Event()
      
        
          | SoLocation2Event::SoLocation2Event  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ~SoLocation2Event()
  
  
      
        
          | virtual SoLocation2Event::~SoLocation2Event  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ initClass()
  
  
      
        
          | static void SoLocation2Event::initClass  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
The documentation for this class was generated from the following file:
- /home/jenkins/workspaces/mevislab/4.2.0_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/events/SoLocation2Event.h