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

#include <coVRCollaboration.h>

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

Public Types

enum  SyncMode { LooseCoupling, MasterSlaveCoupling, TightCoupling }
 

Public Member Functions

void config ()
 
void showCollaborative (bool visible)
 
float getSyncInterval ()
 
SyncMode getSyncMode () const
 
void setSyncMode (const char *mode)
 
bool isMaster ()
 
bool keyEvent (int type, int keySym, int mod)
 
void menuEvent (vrui::coMenuItem *)
 
void updateCollaborativeMenu ()
 
 coVRCollaboration ()
 
virtual ~coVRCollaboration ()
 
void init ()
 
void update ()
 
void manipulate (buttonSpecCell *spec)
 
void SyncXform ()
 
void UnSyncXform ()
 
void SyncScale ()
 
void UnSyncScale ()
 
void remoteTransform (osg::Matrix &mat)
 
void remoteScale (float d)
 
- Public Member Functions inherited from vrui::coMenuListener
virtual ~coMenuListener ()
 
virtual void menuPressEvent (coMenuItem *menuItem)
 
virtual void menuReleaseEvent (coMenuItem *menuItem)
 

Static Public Member Functions

static coVRCollaborationinstance ()
 
static void tightCouplingCallback (void *sceneGraph, buttonSpecCell *spec)
 
static void looseCouplingCallback (void *sceneGraph, buttonSpecCell *spec)
 
static void msCouplingCallback (void *sceneGraph, buttonSpecCell *spec)
 
static void showAvatarCallback (void *sceneGraph, buttonSpecCell *spec)
 

Public Attributes

vrui::coSubMenuItemcollButton
 
int showAvatar
 
SyncMode syncMode
 
vrui::coRowMenucollaborativeMenu
 
vrui::coCheckboxMenuItemLoose
 
vrui::coCheckboxMenuItemTight
 
vrui::coCheckboxMenuItemMasterSlave
 
vrui::coCheckboxMenuItemShowAvatar
 
vrui::coCheckboxMenuItemMaster
 
vrui::coPotiMenuItemSyncInterval
 

Member Enumeration Documentation

Enumerator
LooseCoupling 
MasterSlaveCoupling 
TightCoupling 

Constructor & Destructor Documentation

opencover::coVRCollaboration::coVRCollaboration ( )
virtual opencover::coVRCollaboration::~coVRCollaboration ( )
virtual

Member Function Documentation

void opencover::coVRCollaboration::config ( )
float opencover::coVRCollaboration::getSyncInterval ( )
SyncMode opencover::coVRCollaboration::getSyncMode ( ) const
void opencover::coVRCollaboration::init ( )
static coVRCollaboration* opencover::coVRCollaboration::instance ( )
static
bool opencover::coVRCollaboration::isMaster ( )
bool opencover::coVRCollaboration::keyEvent ( int  type,
int  keySym,
int  mod 
)
static void opencover::coVRCollaboration::looseCouplingCallback ( void *  sceneGraph,
buttonSpecCell spec 
)
static
void opencover::coVRCollaboration::manipulate ( buttonSpecCell spec)
void opencover::coVRCollaboration::menuEvent ( vrui::coMenuItem )
virtual

Reimplemented from vrui::coMenuListener.

static void opencover::coVRCollaboration::msCouplingCallback ( void *  sceneGraph,
buttonSpecCell spec 
)
static
void opencover::coVRCollaboration::remoteScale ( float  d)
void opencover::coVRCollaboration::remoteTransform ( osg::Matrix &  mat)
void opencover::coVRCollaboration::setSyncMode ( const char *  mode)
static void opencover::coVRCollaboration::showAvatarCallback ( void *  sceneGraph,
buttonSpecCell spec 
)
static
void opencover::coVRCollaboration::showCollaborative ( bool  visible)
void opencover::coVRCollaboration::SyncScale ( )
inline
void opencover::coVRCollaboration::SyncXform ( )
inline
static void opencover::coVRCollaboration::tightCouplingCallback ( void *  sceneGraph,
buttonSpecCell spec 
)
static
void opencover::coVRCollaboration::UnSyncScale ( )
inline
void opencover::coVRCollaboration::UnSyncXform ( )
inline
void opencover::coVRCollaboration::update ( )
void opencover::coVRCollaboration::updateCollaborativeMenu ( )

Member Data Documentation

vrui::coRowMenu* opencover::coVRCollaboration::collaborativeMenu
vrui::coSubMenuItem* opencover::coVRCollaboration::collButton
vrui::coCheckboxMenuItem* opencover::coVRCollaboration::Loose
vrui::coCheckboxMenuItem* opencover::coVRCollaboration::Master
vrui::coCheckboxMenuItem* opencover::coVRCollaboration::MasterSlave
int opencover::coVRCollaboration::showAvatar
vrui::coCheckboxMenuItem* opencover::coVRCollaboration::ShowAvatar
vrui::coPotiMenuItem* opencover::coVRCollaboration::SyncInterval
SyncMode opencover::coVRCollaboration::syncMode
vrui::coCheckboxMenuItem* opencover::coVRCollaboration::Tight

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