NAME

gazeblock -- create unit to ..

PROTOTYPE

unitptr gazeblock( int xborder, int yborder, int xout, int yout, float xpd, float ypd, int anglerange, unitptr uHost)

ARGUMENTS

int xborder
- not documented in source --
int yborder
- not documented in source --
int xout
- not documented in source --
int yout
- not documented in source --
float xpd
- not documented in source --
float ypd
- not documented in source --
int anglerange
- not documented in source --
unitptr uHost
host unit

RETURN VALUE:

A pointer to the created unit or NULL in the case of an error.

INTERFACE OF CREATED UNIT:

X_in[]:
(packed input field 0)
Y_in[]:
(packed input field 1)
Z_in[]:
(packed input field 2)
in_3[]:
(packed input field 3)
CTL_in[]:
(control field)
X_out[]:
(packed output field 0)
Y_out[]:
(packed output field 1)
Z_out[]:
(packed output field 2)
out_3[]:
(packed output field 3)

EXECUTION OF CREATED UNIT:

INITIALIZATION:

DESCRIPTION:

This Unit is a gaze blocker for an active camera with physical restrictions in movement range. After resetting the unit is summing the relative movements in angeles for X and Y direction to an absolute angel change to the reset value and creates a Map of " NOT TO LOOK HERE " values. E.G. You have reached a critical X Position, the Map has high to lower entries from the problem side to the other....

CONTROL MODES:

EXAMPLES:

STATUS:

Preliminary.

SEE ALSO:

FILE

nst_gazeblock.c