VR to floats -
VRModules				                    vr to floats (6)


NAME
     vr to floats - extract the rotational and translational components
	from a vr device event stream, and put these values to scalar
	floating point output ports.


SUMMARY
     Name	   VR to floats

     Type	   filter

     Inputs	   field float 1D 1-space uniform
		   (VR device event field)

     Outputs	   six floating point values


     Parameters	   _N_a_m_e		   _T_y_p_e		  _D_e_f_a_u_l_t	 _M_i_n	   _M_a_x
		no parameters

DESCRIPTION

	VR to floats provides a means to seperate the rotational and
	translations components of a VR device event stream into 
	scalar components, output them as "floats" and use them
	elsewhere in an AVS network.

INPUTS
     	field float 1D 1-space uniform - VR device event field.  A set
	of C-language macros is used internal to the code for this 
	module to encode the device event information into an AVS
	field.  This field is not readily processible (unfortunately)
	by "normal" AVS modules.  This is the case because both
	floating point and boolean values are encoded into the field data.


PARAMETERS
	none

OUTPUT

	Six floating point values; X,Y,Z Translation and X,Y,Z Rotation.	
EXAMPLE
	spaceball
	    |
	vr to floats

RELATED	MODULES
	VR Transform Camera, VR Transform Object, VR to acc floats,
	VR to floats, dummy device, VR print field.



VRModules					  Lawrence Berkeley Laboratory
