CAVE Networking Functions & Variables

int *CAVENumUsers

CAVE_USER_ST *CAVEUser[]
	{
	CAVENETID id;
	CAVE_SENSOR_ST sensor[];
	CAVE_CONTROLLER_ST controller;
	void *app_data;
	}

CAVEAddCallback(CAVEID cbtype, CAVECALLBACK function, void *data)
cbtype = CAVE_NETADDUSER_CALLBACK, CAVE_NETDELETEUSER_CALLBACK, or CAVE_NETAPPDATA_CALLBACK

CAVENetSend(void *buffer,size_t size)

CAVENetReceive(void *buffer,size_t size,CAVE_USER_ST **user)

CAVENetGetPosition(CAVE_USER_ST *user,CAVEID posname,float *pos)
CAVENetGetOrientation(CAVE_USER_ST *user,CAVEID orname,float *ori)
CAVENetGetVector(CAVE_USER_ST *user,CAVEID vecname,float *vec)

CAVENetHeadTransform(CAVE_USER_ST *user)
CAVENetWandTransform(CAVE_USER_ST *user)


network.c - trivial networking example


Previous page    Next page

Last modified 19 July 1997.

Dave Pape, pape@evl.uic.edu