QuercusVL Programming Manual
SpeedDetector mySpeedDetector;
mySpeedDetector = detector;
// assignment operator
ProcessSpeedDetector(mySpeedDetector);
}
Example in C
if(Detector_get_Type(hDetector) == DT_SPEED)
{
ProcessSpeedDetector(hDetector);
}
3.13.1. Properties
●
CalculateMetrics
C++:
bool get_CalculateMetrics()
C:
int VL_SpeedDetector_get_CalculateMetrics (int h)
Returns true if the detector is enabled to calculate the metrics.
In C, the parameter “h” is a handler of detector (SpeedDetector).
●
Distance
C++:
int get_Distance()
C:
int VL_SpeedDetector_get_Distance (int h)
Returns the distance from the camera to the detector; in millimetres.
In C, the parameter “h” is a handler of detector (SpeedDetector).
●
Length
C++:
int get_Length()
C:
int VL_SpeedDetector_get_Length(int h)
Returns the length of the detector; in millimetres.
In C, the parameter “h” is a handler of detector (SpeedDetector).
3.14. RedLightDetector Class
Logic representation of a detector of
red light
type.
This class derives from Detector class, so all its methods and properties are inherited.
It has implemented the assignment operator to use a generic detector as a
red light
detector.
Quercus Technologies
45