GoGoCursorModelFactory Class Reference

#include <GoGoCursorModel.h>

Inherits CursorTransformationModelFactory.

Collaboration diagram for GoGoCursorModelFactory:

List of all members.


Public Member Functions

virtual CursorTransformationModelcreate (std::string className, void *args=NULL)

Member Function Documentation

CursorTransformationModel * GoGoCursorModelFactory::create ( std::string  className,
void *  args = NULL 
) [virtual]

The method creates a GoGoCursorModel if the passed className is equal to "GoGoCursorModel". If specified in userConfigFile, args contains the Distance-Threshold and/or k.

Parameters:
args arguments form the userConfigFile containing distanceThreshold (default 20), k (default 0,5) and/or the distance between the user's head and his shoulders (default 10)
Returns:
a new VirtualHandCursorModel if the passed name matches, NULL otherwise


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

Generated on Wed Oct 20 16:11:56 2010 for inVRs by doxygen 1.5.8