MmeasRestoreMarker()函数

Synopsis

Restore a marker from disk.

Format

MIL_ID MmeasRestoreMarker(FileName, SystemId, ControlFlag, MarkerIdPtr)

char *FileName; Marker file name
MIL_ID SystemId; System identifier
long ControlFlag; Control flag
MIL_ID *MarkerIdPtr; Storage location for marker identifier

继续阅读MmeasRestoreMarker()函数

MmeasInquire()函数

Synopsis

Inquire about a marker, result, or context buffer.

Format

long MmeasInquire(MeasId, ParamToInquire, FirstValuePtr, SecondValuePtr)

MIL_ID MeasId; Identifier of a marker, measurement result, or measurement context buffer
long InquireType; Parameter to inquire
void *FirstValuePtr; Storage location for first value
void *SecondValuePtr; Storage location for second value

继续阅读MmeasInquire()函数

MmeasGetResult()函数

Synopsis

Get the results of measurements taken.

Format

void MmeasGetResult(MarkerOrMeasResultId, ResultType, FirstResultPtr, SecondResultPtr)

MIL_ID MarkerOrMeasResultId; Marker buffer identifier or measurement result buffer identifier
long ResultType; Type of measurement for which to get results
void *FirstResultPtr; Storage location for the first result
void *SecondResultPtr; Storage location for the second result (if any)

继续阅读MmeasGetResult()函数

MmeasFindMarker()函数

Synopsis

Find a marker in an image and take its measurements.

Format

void MmeasFindMarker(ContextId, ImageBufId, MarkerId, MeasurementList)

MIL_ID ContextId; Measurement context identifier
MIL_ID ImageBufId; Image buffer identifier
MIL_ID MarkerId; Marker identifier
long MeasurementList; List of measurements to take

继续阅读MmeasFindMarker()函数

MmeasCalculate()函数

Synopsis

Calculate measurements, using two markers.

Format

void MmeasCalculate(ContextId, Marker1Id, Marker2Id, MeasResultId, MeasurementList)

MIL_ID ContextId; Measurement context identifier
MIL_ID Marker1Id; Identifier of first marker
MIL_ID Marker2Id; Identifier of second marker
MIL_ID MeasResultId; Measurement result buffer identifier
long MeasurementList; List of measurements to calculate

继续阅读MmeasCalculate()函数

MmeasAllocResult()函数

Synopsis

Allocate a measurement result buffer.

Format

MIL_ID MmeasAllocResult(SystemId, ResultType, MeasResultIdPtr)

MIL_ID SystemId; System identifier
long ResultType; Type of result buffer
MIL_ID *MeasResultIdPtr; Storage location for measurement result buffer identifier

继续阅读MmeasAllocResult()函数