Click or drag to resize

ClickAndTeachViewModel Methods

The ClickAndTeachViewModel type exposes the following members.

Methods
 NameDescription
Public methodAddWarningToNotificationPanel 
Public methodCheckMatricesOnEquality Checks all elements of the two given matrices on equality; i.e. matrixA[i,j] == matrixB[i,j] for all i, j.
Public methodCreateRoiImage Creates an image from the given ROI. In multi head scenarios a combined image from several cameras will be created if necessary.
Public methodGetCenterPointWorldFromTileRectangle Calculates from the given rectangle corners the center point. Not quite clear any longer under which conditions this is not just the geometric center. But to be on the safe side we get the TileRectangleResult in the same way here when called by ImageProcessing.FindPositions() as in the normal operation.
Public methodGetJobDefinition Retrieves the active job.
Public methodGetJobDefinitionOfJobElementHolder Searches the JobDefinition the given JobElementHolder object belongs to.
Public methodGetJobDefinitionService Retrieves Rayguide's JobDefinitionService.
Public methodStatic memberGetOrCreateInstance 
Public methodLoadSettings Loads the Click and Teach settings and puts them into the panel's fields.
Public methodOnClickAndTeachSelectionModeChanged 
Protected methodOnPropertyChanged Raises this object's PropertyChanged event.
(Inherited from BindableBase)
Protected methodRaisePropertyChanged Raises this object's PropertyChanged event.
(Inherited from BindableBase)
Public methodSaveSettings Saves the Click and Teach settings. Since ClickAndTeachView.OnRootUnloaded() is not called when closing RAYGUIDE, the settings are saved each time a change in the panel's settings fields are done. This happens also when loading the settings, but the values are not there at this time; therefore saving will be disabled in this case with flag _areSettingsLoading.
Protected methodSetProperty``1(UMP, UMP, String) Checks if a property already matches a desired value. Sets the property and notifies listeners only when necessary.
(Inherited from BindableBase)
Protected methodSetProperty``1(UMP, UMP, Action, String) Checks if a property already matches a desired value. Sets the property and notifies listeners only when necessary.
(Inherited from BindableBase)
Public methodShowDeviceSettingsUI 
Public methodStartStopPollingTimer Starts the polling timer.
Public methodUpdateCopyContainerWorkspaceMarking Shows a blue rectangle in the workspace as defined in the arg.
Top
See Also