Unigine::Cigi::ICigiSensorControl Class
Header: | #include <CigiClientInterface.h> |
Inherits: | ICigiHostPacket |
This class represents the CIGI Sensor Control packet interface.
CIGI plugin must be loaded.
ICigiSensorControl Class
Members
int getViewID()
Returns the view ID specified in the packet.Return value
View ID.int getSensorID()
Returns the sensor ID specified in the packet.Return value
Sensor ID.int getSensorEnabled()
Returns the value of the Sensor On/Off parameter specified in the packet.Return value
Sensor On/Off parameter: 1 if the sensor is on; otherwise, 0.int getPolarity()
Returns the value of the Polarity parameter specified in the packet.Return value
Polarity parameter. Determines whether the sensor shows white hot or black hot. The following values are supported:- 0 - White hot
- 1 - Red hot
int getDropoutEnabled()
Returns the value of the Line-by-Line Dropout Enable parameter specified in the packet.Return value
Line-by-Line Dropout Enable parameter: 1 if line-by-line dropout is enabled; otherwise, 0. This effect is meant to simulate the horizontal stripes caused by a transient loss of video information.
int getAutomaticGain()
Returns the value of the Automatic Gain parameter specified in the packet.Return value
Automatic Gain parameter: 1 if the sensor automatically adjusts the gain value to optimize the brightness and contrast of the sensor display; otherwise, 0.int getTrackColor()
Returns the value of the Track White/Black parameter specified in the packet.Return value
Track White/Black parameter: 1 - if the sensor tracks black; 0 - if the sensor tracks white.int getTrackMode()
Returns the value of the Track Mode parameter specified in the packet.Return value
Track Mode parameter. Determines which track mode the sensor will use. The following values are supported:- 0 - Off
- 1 - Force Correlate. Tracking behavior shall be similar to that found in a Maverick missile.
- 2 - Scene. Tracking behavior shall be similar to that found in a FLIR (Forward Looking Infrared).
- 3 - Target. Contrast tracking shall be used to lock to a specific target area.
- 4 - Ship. Contrast tracking shall be used, with adjustment of the tracking point so that the weapon strikes close to the water line.
- 5-7 - Defined by IG
int getResponse()
Returns the value of the Response Type parameter specified in the packet.Return value
Response Type parameter: 1 - Extended (gate and target position), the IG will return a Sensor Extended Response packet; 0 - Normal (gate position), the IG will return a Sensor Response packet.The IG shall return one of the two sensor response packets every frame as long as the following two criteria are met:
- Sensor On/Off is set to On (1).
- Track Mode is not set to Off (0).
float getGain()
Returns the value of the Gain parameter specified in the packet.Return value
Gain parameter value in the [0.0; 1.0] range. Determines the contrast of the sensor display.float getLevel()
Returns the value of the Level parameter specified in the packet.Return value
Level parameter value in the [0.0; 1.0] range. Determines the brightness of the sensor display.float getCoupling()
Returns the value of the AC Coupling parameter specified in the packet.Return value
AC Coupling parameter value. Determines the AC coupling decay constant for the sensor display.float getNoise()
Returns the value of the Noise parameter specified in the packet.Return value
Noise parameter value in the [0.0; 1.0] range. Determines the amount of detector noise for the sensor.Last update: 2017-10-20
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)