#include <vrpn_Analog.h>
Class diagram for vrpn_Clipping_Analog_Server:

Public Members | |||
![]() | ![]() | vrpn_Clipping_Analog_Server (const char *name, vrpn_Connection *c) | |
![]() | ![]() | int | setClipValues (int channel, double min, double lowzero, double highzero, double max) |
![]() | ![]() | Set the clipping values for the specified channel. min maps to -1, values between lowzero and highzero map to 0, max maps to 1. Values less than min map to -1, values larger than max map to 1. Default for each channel is -1,0,0,1 It is possible to compress the range to [0..1] by setting the minimum equal to the lowzero. Returns 0 on success, -1 on failure. | |
![]() | ![]() | int | setChannelValue (int channel, double value) |
![]() | ![]() | This method should be used to set the value of a channel. It will be scaled and clipped as described in setClipValues. It returns 0 on success and -1 on failure. | |
Protected Members | |||
![]() | ![]() | clipvals_struct | clipvals [vrpn_CHANNEL_MAX] |
| vrpn_Clipping_Analog_Server::vrpn_Clipping_Analog_Server (const char * name, vrpn_Connection * c) |
| int vrpn_Clipping_Analog_Server::setClipValues (int channel, double min, double lowzero, double highzero, double max) |
Set the clipping values for the specified channel. min maps to -1, values between lowzero and highzero map to 0, max maps to 1. Values less than min map to -1, values larger than max map to 1. Default for each channel is -1,0,0,1 It is possible to compress the range to [0..1] by setting the minimum equal to the lowzero. Returns 0 on success, -1 on failure.
| int vrpn_Clipping_Analog_Server::setChannelValue (int channel, double value) |
This method should be used to set the value of a channel. It will be scaled and clipped as described in setClipValues. It returns 0 on success and -1 on failure.
clipvals_struct vrpn_Clipping_Analog_Server::clipvals[vrpn_CHANNEL_MAX] [protected]
|
1.0.0 written by Dimitri van Heesch,
© 1997-1999