VirtualHandCursorModel Class Reference

#include <VirtualHandCursorModel.h>

Inherits CursorTransformationModel.

Collaboration diagram for VirtualHandCursorModel:

List of all members.


Public Member Functions

virtual std::string getName ()
virtual TransformationData generateCursorTransformation (TransformationData userTransformation, User *user)

Private Member Functions

 VirtualHandCursorModel ()

Friends

class VirtualHandCursorModelFactory

Constructor & Destructor Documentation

VirtualHandCursorModel::VirtualHandCursorModel (  )  [private]


Member Function Documentation

TransformationData VirtualHandCursorModel::generateCursorTransformation ( TransformationData  userTransformation,
User user 
) [virtual]

The method calculates the transformation of the cursor in world coordinates. It therefore gets the hand-transformation from the User (which is equal to the hand sensor if available) and adds it to the passed user-transformation, which is the transformation of the User's feet in world coordinates.

Parameters:
userTransformation the transformation of the User
user the user to calculate the cursor-transformation for
Returns:
the transformation of the user's cursor

Implements CursorTransformationModel.

std::string VirtualHandCursorModel::getName (  )  [virtual]

The method returns the name of the CursorTransformationModel, which identical to the name of the class: "VirtualHandCursorModel". This name has to be equal with the name which is checked in the CursorTransformationModelFactory.

Returns:
name of the model

Implements CursorTransformationModel.


Friends And Related Function Documentation

friend class VirtualHandCursorModelFactory [friend]


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

Generated on Wed Oct 20 16:12:02 2010 for inVRs by doxygen 1.5.8