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

#include <BoxSelectionInteractor.h>

Inheritance diagram for opencover::BoxSelectionInteractor:
Inheritance graph
[legend]
Collaboration diagram for opencover::BoxSelectionInteractor:
Collaboration graph
[legend]

Public Member Functions

 BoxSelectionInteractor (vrui::coInteraction::InteractionType type, const char *name, vrui::coInteraction::InteractionPriority priority)
 
 ~BoxSelectionInteractor ()
 
void startInteraction ()
 
void doInteraction ()
 
void registerInteractionRunningCallback (void(*interactionRunning)())
 
void unregisterInteractionRunningCallback ()
 
void stopInteraction ()
 
void registerInteractionFinishedCallback (void(*interactionFinished)())
 
void unregisterInteractionFinishedCallback ()
 
void getBox (float &minX, float &minY, float &minZ, float &maxX, float &maxY, float &maxZ)
 
- Public Member Functions inherited from vrui::coTrackerButtonInteraction
 coTrackerButtonInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium)
 
virtual ~coTrackerButtonInteraction ()
 
- Public Member Functions inherited from vrui::coButtonInteraction
 coButtonInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium)
 
virtual ~coButtonInteraction ()
 
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 ()
 

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
}
 
- Protected Member Functions inherited from vrui::coTrackerButtonInteraction
virtual void update ()
 
- 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
 

Constructor & Destructor Documentation

opencover::BoxSelectionInteractor::BoxSelectionInteractor ( vrui::coInteraction::InteractionType  type,
const char *  name,
vrui::coInteraction::InteractionPriority  priority 
)
opencover::BoxSelectionInteractor::~BoxSelectionInteractor ( )

Member Function Documentation

void opencover::BoxSelectionInteractor::doInteraction ( )
virtual

Reimplemented from vrui::coButtonInteraction.

void opencover::BoxSelectionInteractor::getBox ( float &  minX,
float &  minY,
float &  minZ,
float &  maxX,
float &  maxY,
float &  maxZ 
)
void opencover::BoxSelectionInteractor::registerInteractionFinishedCallback ( void(*)()  interactionFinished)
void opencover::BoxSelectionInteractor::registerInteractionRunningCallback ( void(*)()  interactionRunning)
void opencover::BoxSelectionInteractor::startInteraction ( )
virtual

Reimplemented from vrui::coButtonInteraction.

void opencover::BoxSelectionInteractor::stopInteraction ( )
virtual

Reimplemented from vrui::coButtonInteraction.

void opencover::BoxSelectionInteractor::unregisterInteractionFinishedCallback ( )
void opencover::BoxSelectionInteractor::unregisterInteractionRunningCallback ( )

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