OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vrui::coCombinedButtonInteraction Class Reference

#include <coCombinedButtonInteraction.h>

Inheritance diagram for vrui::coCombinedButtonInteraction:
Inheritance graph
[legend]
Collaboration diagram for vrui::coCombinedButtonInteraction:
Collaboration graph
[legend]

Public Member Functions

 coCombinedButtonInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium)
 
virtual ~coCombinedButtonInteraction ()
 
virtual void setHitByMouse (bool)
 
virtual bool isMouse () const
 
virtual vruiMatrixgetHandMatrix () const
 
virtual bool is2D () const
 
- Public Member Functions inherited from vrui::coButtonInteraction
 coButtonInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium)
 
virtual ~coButtonInteraction ()
 
virtual void startInteraction ()
 
virtual void stopInteraction ()
 
virtual void doInteraction ()
 
virtual void cancelInteraction ()
 
virtual void resetState ()
 
bool wasStarted () const
 
bool isRunning () const
 
bool wasStopped () const
 
bool isIdle () const
 
int getWheelCount ()
 
- Public Member Functions inherited from vrui::coInteraction
 coInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium)
 
virtual ~coInteraction ()
 
InteractionState getState () const
 
InteractionType getType () const
 
InteractionPriority getPriority () const
 
int getRemoteLockID () const
 
void setRemoteLockID (int ID)
 
void setRemoteLock (bool)
 
void setRemoteActive (bool)
 
void requestActivation ()
 
virtual void setName (const std::string &name)
 
virtual void removeIcon ()
 
virtual void addIcon ()
 
virtual bool hasPriority ()
 
virtual void cancelPendingActivation ()
 
virtual void doActivation ()
 
virtual void pause ()
 
virtual const std::string & getName () const
 
bool activate ()
 
bool isRegistered ()
 
void setNotifyOnly (bool flag)
 
bool isNotifyOnly ()
 

Protected Member Functions

virtual void update ()
 

Protected Attributes

vruiButtonsmousebutton
 
bool mouse
 
- Protected Attributes inherited from vrui::coButtonInteraction
RunningState runningState
 
InteractionState oldState
 
int wheelCount
 
vruiButtonsbutton
 
- Protected Attributes inherited from vrui::coInteraction
std::string name
 
InteractionState state
 
InteractionType type
 
InteractionPriority priority
 
bool notifyOnly
 
bool hasPriorityFlag
 
bool registered
 
bool remoteLock
 
int remoteLockID
 

Additional Inherited Members

- Public Types inherited from vrui::coButtonInteraction
enum  RunningState { StateStarted = 0, StateRunning, StateStopped, StateNotRunning }
 
- Public Types inherited from vrui::coInteraction
enum  InteractionState {
  Idle = 0, PendingActive, Active, Paused,
  RemoteActive, ActiveNotify, Stopped
}
 
enum  InteractionPriority {
  Low = 0, Navigation, NavigationHigh, Medium,
  High, Menu, Highest
}
 
enum  InteractionType {
  ButtonA = 0, ButtonB, ButtonC, ButtonD,
  ButtonE, Wheel, Joystick, AllButtons,
  NumInteractorTypes
}
 

Constructor & Destructor Documentation

vrui::coCombinedButtonInteraction::coCombinedButtonInteraction ( InteractionType  type,
const std::string &  name,
InteractionPriority  priority = Medium 
)
virtual vrui::coCombinedButtonInteraction::~coCombinedButtonInteraction ( )
virtual

Member Function Documentation

virtual vruiMatrix* vrui::coCombinedButtonInteraction::getHandMatrix ( ) const
virtual
virtual bool vrui::coCombinedButtonInteraction::is2D ( ) const
virtual
virtual bool vrui::coCombinedButtonInteraction::isMouse ( ) const
virtual
virtual void vrui::coCombinedButtonInteraction::setHitByMouse ( bool  )
virtual
virtual void vrui::coCombinedButtonInteraction::update ( )
protectedvirtual

Reimplemented from vrui::coButtonInteraction.

Member Data Documentation

bool vrui::coCombinedButtonInteraction::mouse
protected
vruiButtons* vrui::coCombinedButtonInteraction::mousebutton
protected

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