OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | List of all members
vrui::vruiButtons Class Referenceabstract

#include <vruiButtons.h>

Inheritance diagram for vrui::vruiButtons:
Inheritance graph
[legend]

Public Types

enum  Button {
  NO_BUTTON = 0x0000, ACTION_BUTTON = 1<<coInteraction::ButtonAction, DRIVE_BUTTON = 1<<coInteraction::ButtonDrive, XFORM_BUTTON = 1<<coInteraction::ButtonXform,
  FORWARD_BUTTON = 1<<coInteraction::ButtonForward, BACKWARD_BUTTON = 1<<coInteraction::ButtonBack
}
 

Public Member Functions

 vruiButtons ()
 
virtual ~vruiButtons ()
 
virtual unsigned int wasPressed (unsigned int buttonMask=ALL_BUTTONS) const =0
 
virtual unsigned int wasReleased (unsigned int buttonMask=ALL_BUTTONS) const =0
 
virtual unsigned int getStatus () const =0
 
virtual unsigned int getOldStatus () const =0
 
virtual int getWheelCount (size_t idx=0) const =0
 

Member Enumeration Documentation

Enumerator
NO_BUTTON 
ACTION_BUTTON 
DRIVE_BUTTON 
XFORM_BUTTON 
FORWARD_BUTTON 
BACKWARD_BUTTON 

Constructor & Destructor Documentation

vrui::vruiButtons::vruiButtons ( )
inline
virtual vrui::vruiButtons::~vruiButtons ( )
virtual

Member Function Documentation

virtual unsigned int vrui::vruiButtons::getOldStatus ( ) const
pure virtual

Implemented in opencover::VRVruiButtons.

virtual unsigned int vrui::vruiButtons::getStatus ( ) const
pure virtual

Implemented in opencover::VRVruiButtons.

virtual int vrui::vruiButtons::getWheelCount ( size_t  idx = 0) const
pure virtual

Implemented in opencover::VRVruiButtons.

virtual unsigned int vrui::vruiButtons::wasPressed ( unsigned int  buttonMask = ALL_BUTTONS) const
pure virtual

Implemented in opencover::VRVruiButtons.

virtual unsigned int vrui::vruiButtons::wasReleased ( unsigned int  buttonMask = ALL_BUTTONS) const
pure virtual

Implemented in opencover::VRVruiButtons.


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