class CAVERN_perfArticulatedAvatar_c Performer CAVE Articulated Avatar class
| | init (pfDCS* parent, char *avatarServerIP, short avatarServerRemotePort, char* userName, char* headFile, char* bodyFile, char* rightHAndFile, char* upperRightArmFile, char* lowerRightArmFile, char* leftHandFile, char* upperLeftArmFile, char* lowerLeftArmFile) Initialize the performer avatar class |
| | process (int cycles=5) Call this once per performer loop cycle to process incoming avatar messages |
|
| sendSelfAvatarTrackerData () Send your own avatar's info |
|
| exit () Exit your avatar from the collaboration |
|
| setRightHanded () Set your avatar to be right handed |
|
| setLeftHanded () Set your avatar to be left handed |
| | calibrate (float shoulderVertOffsetFromHead, float shoulderHorizOffsetFromHead, float upperArmLength, float lowerArmLength, float armLengthTolerance) Adjust avatar arm parameters |
Performer CAVE Articulated Avatar class. This class manages Performer articulated avatars. Begin by calling init(). Then at each cycle of the performer CAVE loop call sendSelfAvatarTrackerData() and process(). Call exit() to have your avatar exit the space. Most of the networking occurs in the CAVERN_perfBaseArticulatedAvatar_c class. The CAVERN_perfArticulatedAvatar_c class simply adds Performer/CAVE relevent routines to the base (non-graphical) avatar class.
virtual void process(int cycles=5)
void calibrate(float shoulderVertOffsetFromHead, float shoulderHorizOffsetFromHead, float upperArmLength, float lowerArmLength, float armLengthTolerance)
shoulderHorizOffsetFromHead - - horizontal distance between your eyes and your shoulder. Default is 0.75.
upperArmLength - - the length of your upper arm. Default us 1.
lowerArmLength - - the length of your lower arm. Default is 0.75.
armLengthTolerance - - tolerance to allow your lower arm to extend from- or slide into the upper arm. Default is 0.4.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de