VR to acc floats -
VRModules				                  vr to acc floats (6)


NAME
     vr to acc floats - extract the rotational and translational components
	from a vr device event stream, accumulate them into internal variables
	and then put the values of these internal variables out to scalar
	floating point output ports.


SUMMARY
     Name	   VR to acc 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
		   Reset	   boolean	  off		 off	   on


DESCRIPTION

	VR to acc floats provides a means to seperate the rotational and
	translations components of a VR device event stream into 
	scalar components, accumulate them (ie, integrate over time),
	then output them as floats for use 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
	Reset - a toggle which will reset all internal variables to zero.

OUTPUT

	Six floating point values; X,Y,Z Translation and X,Y,Z Rotation.

EXAMPLE
	spaceball
	    |
	vr to acc 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
