Relacs Plot Library  0.9.8
Public Member Functions | Friends | List of all members
Plot::MouseEvent Class Reference

#include <plot.h>

Public Member Functions

 MouseEvent (void)
 
 MouseEvent (int mode)
 
 MouseEvent (const MouseEvent &me)
 
int xPixel (void) const
 
int yPixel (void) const
 
double xPos (void) const
 
double yPos (void) const
 
double xPos (int i) const
 
double yPos (int i) const
 
Coordinates xCoor (void) const
 
Coordinates yCoor (void) const
 
bool left (void) const
 
bool right (void) const
 
bool mid (void) const
 
bool leftOnly (void) const
 
bool rightOnly (void) const
 
bool midOnly (void) const
 
bool shift (void) const
 
bool control (void) const
 
bool alt (void) const
 
bool shiftOnly (void) const
 
bool controlOnly (void) const
 
bool altOnly (void) const
 
bool noKeys (void) const
 
bool pressed (void) const
 
bool released (void) const
 
bool moved (void) const
 
bool doubleClicked (void) const
 
bool pressedOnly (void) const
 
bool releasedOnly (void) const
 
bool movedOnly (void) const
 
bool doubleClickedOnly (void) const
 
void clearMouseButtons (void)
 
bool init (void) const
 
void setInit (void)
 
void clear (void)
 
bool valid (void) const
 
bool used (void) const
 
void setUsed (void)
 

Friends

class Plot
 

Detailed Description

Handling a mouse event for the Plot class.

Author
Jan Benda

Constructor & Destructor Documentation

MouseEvent ( void  )

References Plot::AutoScale, and Plot::MaxAxis.

MouseEvent ( int  mode)

References Plot::AutoScale, and Plot::MaxAxis.

MouseEvent ( const MouseEvent me)

References Plot::MaxAxis.

Member Function Documentation

int xPixel ( void  ) const
inline
int yPixel ( void  ) const
inline
double xPos ( void  ) const
inline
double yPos ( void  ) const
inline
double xPos ( int  i) const
inline
double yPos ( int  i) const
inline
Coordinates xCoor ( void  ) const
inline
Coordinates yCoor ( void  ) const
inline
bool left ( void  ) const
inline
bool right ( void  ) const
inline
bool mid ( void  ) const
inline

Referenced by Plot::mouseMenu().

bool leftOnly ( void  ) const
inline
bool rightOnly ( void  ) const
inline
bool midOnly ( void  ) const
inline
bool shift ( void  ) const
inline
bool control ( void  ) const
inline
bool alt ( void  ) const
inline

Referenced by Plot::mouseAnalyse().

bool shiftOnly ( void  ) const
inline
bool controlOnly ( void  ) const
inline
bool altOnly ( void  ) const
inline
bool noKeys ( void  ) const
inline
bool pressed ( void  ) const
inline
bool released ( void  ) const
inline
bool moved ( void  ) const
inline
bool doubleClicked ( void  ) const
inline

Referenced by Plot::mouseAnalyse().

bool pressedOnly ( void  ) const
inline
bool releasedOnly ( void  ) const
inline
bool movedOnly ( void  ) const
inline

Referenced by Plot::mouseEvent().

bool doubleClickedOnly ( void  ) const
inline
void clearMouseButtons ( void  )
inline

Referenced by Plot::mouseAnalyse().

bool init ( void  ) const
inline

Referenced by Plot::mouseAnalyse().

void setInit ( void  )
inline

Referenced by Plot::mouseSelect().

void clear ( void  )
bool valid ( void  ) const
inline
bool used ( void  ) const
inline

Referenced by Plot::mouseEvent().

void setUsed ( void  )
inline

Friends And Related Function Documentation

friend class Plot
friend

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