ProcUnit Class

The processes related to the processing unit


Overview
The ProcUnit is a class for Processing Unit.
They are automatically created when processing item is added to Measurement Flow.
Each Processing unit has its own data, such as setting data or measurement data.
The manipulation of these data is possible by calling the methods of ProcUnit class.
And also there are some methods to call the codes of processing unit.

Method to call the ProcItem function
Name
Explanation
refProcUnit::CameraSetting
Sets camera setting
refProcUnit::GetUnitData
Gets processing unit data
refProcUnit::LoadProc
Performs processing when loading the scene data
refProcUnit::MeasureDispG
Draws figures
refProcUnit::MeasureDispI
Displays image data
refProcUnit::MeasureDispT
Displays text in the detailed result display area
refProcUnit::MeasureEnd
Performs processing at the end of measurement
refProcUnit::MeasureInit
Performs processing at the beginning of measurement
refProcUnit::MeasureOut
Performs measurement result output
refProcUnit::MeasureProc
Performs measurement processing
refProcUnit::RenumProc
Performs processing when updating the processing unit reference number
refProcUnit::SaveProc
Performs processing when saving the scene data
refProcUnit::SetUnitData
Sets processing unit data
refProcUnit::SetupDisp
Performs image display of the UI screen
refProcUnit::ThroughProc
Performs image input/generation processing for the through-image display
refProcUnit::TransformAngle
Performs angle transformation
refProcUnit::TransformArea
Performs area transformation
refProcUnit::TransformDist
Performs dist transformation
refProcUnit::TransformLine
Performs line transformation
refProcUnit::TransformXY
Performs coordinates transformation

Methods for Processing unit data manipulation
Name
Explanation
refProcUnit::ClearMeasureData
Clears measurement result
refProcUnit::GetUnitItemIdent
Gets identification name of the processing item
refProcUnit::GetUnitJudge
Gets the judgement value of the processing unit
refProcUnit::GetUnitTitle
Gets title name of a processing unit
refProcUnit::SetUnitJudge
Sets judge value of a processing unit
refProcUnit::SetUnitTitle
Sets title name of a processing unit

Methods to manipulate Setup Data, Measure Data and Control Data
Name
Explanation
refProcUnit::GetMeasureData
Gets the pointer to the memory space where the measurement data of a processing item is stored
refProcUnit::GetSetupData
Gets the pointer to the memory space where the setting data of a processing item is stored

Methods to manipulate Figure Data
Name
Explanation
refProcUnit::AddFigureData
Adds a figure
refProcUnit::GetFigureData
Gets the figure data
refProcUnit::GetFigureType
Gets the format of the figure data
refProcUnit::SetFigureData
Sets the figure data
refProcUnit::SetFigureType
Sets the format of the figure data

Methods to manipulate Model Data
Name
Explanation
refProcUnit::GetModelData
Gets the pointer to the memory space where the model data is stored
refProcUnit::ModelDataAlloc
Performs registration of model data
refProcUnit::ModelDataFree
Performs deletion of model data

Methods to manipulate Image Data
Name
Explanation
refProcUnit::GetCameraImage
Gets the pointer to the memory space where the image data of the current target camera image is stored
refProcUnit::GetImageData
Gets the pointer to the memory space where the image data is stored
refProcUnit::GetImageFormat
Gets the type of the image data
refProcUnit::GetImageSize
Gets the size of the image data
refProcUnit::GetMeasureImage
Gets the pointer to the memory space where the image data of the current target image is stored
refProcUnit::ImageDataAlloc
Allocates image data space
refProcUnit::ImageDataFree
Removes image data space
refProcUnit::SetMeasureImage
Registers image data of the current target image

Methods to manipulate Inner unit
Name
Explanation
refProcUnit::AssignInnerUnit
Registers inner processing unit
refProcUnit::CheckInnerUnit
Gets information on whether the inner processing unit is registered or not
refProcUnit::CopyInnerUnit
Copies inner processing unit
refProcUnit::DeleteInnerUnit
Removes registered unit of an inner processing unit
refProcUnit::GetInnerUnit
Gets the pointer to the inner processing unit

Methods to manipulate Temporary work memory
Name
Explanation
refProcUnit::TmpDataAlloc
Allocates temporary work data space
refProcUnit::TmpDataFree
Gets the pointer to the temporary work data space

Methods for data save and load
Name
Explanation
refProcUnit::LoadData
Load processing unit data
refProcUnit::LoadSetupData
Performs processing when loading setting data of processing units
refProcUnit::SaveData
Save processing unit data

Methods for text message
Name
Explanation
refProcUnit::GetText
Gets message string

Others
Name
Explanation
refProcUnit::ExecuteImageLogging
Execute image logging
refProcUnit::GetControlData
Gets processing unit control data storage space address
refProcUnit::GetElapsedTime
Gets the elapsed time
refProcUnit::GetIoModuleIdent
Gets I/O module ident name
refProcUnit::GetIoModule
Gets I/O module instance
refProcUnit::GetItemKind
Gets category number of the processing item of the relevant processing unit
refProcUnit::GetMeasureID
Gets measure ID
refProcUnit::GetMemoryInfo
Gets memory information
refProcUnit::GetNextUnitNo
Gets processing unit number that is processed next
refProcUnit::GetPrevUnitNo
Gets the previous processing unit number
refProcUnit::GetProcUnit
Gets instance of the processing unit
refProcUnit::GetSystemData
Gets system data
refProcUnit::GetTotalJudge
Gets the overall judgement result
refProcUnit::GetUnitInfo
Gets information of a processing unit
refProcUnit::GetUnitNo
Gets unit number
refProcUnit::SetCalibUnit
Sets calibration processing unit
refProcUnit::SetMeasureProcMask
Sets measure processing mask
refProcUnit::SetNextUnitNo
Sets processing unit number that is processed next
refProcUnit::SetTmpData
Sets size of temporary data storage area
refProcUnit::WaitForNoPassing
Sets wait for no passing