OpenCOVER
Public Member Functions | Public Attributes | List of all members
opencover::VRAvatar Class Reference

#include <VRAvatar.h>

Collaboration diagram for opencover::VRAvatar:
Collaboration graph
[legend]

Public Member Functions

 VRAvatar ()
 
 VRAvatar (coVRPartner *partner)
 create an Avatar for a remote partner that hold his informations More...
 
bool init (const std::string &hostAdress)
 initalize avatar if not initialized. Return true if sth. is done More...
 
virtual ~VRAvatar ()
 
void show ()
 
void hide ()
 

Public Attributes

bool initialized = false
 
coVRPartnerm_partner
 
osg::MatrixTransform * handTransform
 
osg::Node * handNode
 
osg::MatrixTransform * headTransform
 
osg::Node * brilleNode
 
osg::MatrixTransform * feetTransform
 
osg::Node * schuheNode
 
osg::Node * hostIconNode
 
osg::ref_ptr< osg::Group > avatarNodes
 

Constructor & Destructor Documentation

◆ VRAvatar() [1/2]

opencover::VRAvatar::VRAvatar ( )

create an Avatar that only holds the local tramsfom matrices Used to collect the date to send it to the partners

◆ VRAvatar() [2/2]

opencover::VRAvatar::VRAvatar ( coVRPartner partner)

create an Avatar for a remote partner that hold his informations

◆ ~VRAvatar()

virtual opencover::VRAvatar::~VRAvatar ( )
virtual

Member Function Documentation

◆ hide()

void opencover::VRAvatar::hide ( )

◆ init()

bool opencover::VRAvatar::init ( const std::string &  hostAdress)

initalize avatar if not initialized. Return true if sth. is done

◆ show()

void opencover::VRAvatar::show ( )

Member Data Documentation

◆ avatarNodes

osg::ref_ptr<osg::Group> opencover::VRAvatar::avatarNodes

◆ brilleNode

osg::Node* opencover::VRAvatar::brilleNode

◆ feetTransform

osg::MatrixTransform* opencover::VRAvatar::feetTransform

◆ handNode

osg::Node* opencover::VRAvatar::handNode

◆ handTransform

osg::MatrixTransform* opencover::VRAvatar::handTransform

◆ headTransform

osg::MatrixTransform* opencover::VRAvatar::headTransform

◆ hostIconNode

osg::Node* opencover::VRAvatar::hostIconNode

◆ initialized

bool opencover::VRAvatar::initialized = false

◆ m_partner

coVRPartner* opencover::VRAvatar::m_partner

◆ schuheNode

osg::Node* opencover::VRAvatar::schuheNode

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