Click |
public class ClickAndTeachViewModel : BindableBase
The ClickAndTeachViewModel type exposes the following members.
| Name | Description | |
|---|---|---|
| ClickAndTeachViewModel | The constructor starts a timer to get informed of changes in the camera's connection state and its other parameters when changed in the camera's settings dialog. |
| Name | Description | |
|---|---|---|
| AlignmentLineP1X | ||
| AlignmentLineP1Y | ||
| AlignmentLineP2X | ||
| AlignmentLineP2Y | ||
| AlignmentLinePosition | ||
| AlignmentLineVisibility | ||
| ApiWorkspaceConfigurationName | ||
| ApplyCommand | ||
| AreCrossHairsChecked | Flag to indicate if the "Cross hair" toggle button is checked. | |
| AreTileOffsetsToRectify | ||
| Brightness | A brightness value between -100 and 100 the live view image will be modified with. | |
| CalculateCommand | ||
| Camera | The currently used camera. | |
| Cameras | The list of cameras shown in the combo box. | |
| CenterX | ||
| CenterY | ||
| ClearCommand | ||
| ClearingMode | Controls what will be done with the workspace's background before taking of pictures starts: clear the background or preserve it. | |
| ClearWorkspaceBackgroundAfterExecution | ||
| CollectedImages | ||
| Contrast | A contrast value between -100 and 100 the live view image will be modified with. | |
| CrossHairsColor | The color of the cross hair. | |
| CrossHairsDownX | ||
| CrossHairsDownY | ||
| CrossHairsLeftX | ||
| CrossHairsLeftY | ||
| CrossHairsRightX | ||
| CrossHairsRightY | ||
| CrossHairsSize | The size of the cross hair as percentage of the camera field width. | |
| CrossHairsStroke | ||
| CrossHairsThickness | The thickness of the cross hair in pixel. | |
| CrossHairsTopX | ||
| CrossHairsTopY | ||
| CrossHairsVisibility | ||
| CrossHairsWithCircle | ||
| EndGrayValueLineThumStroke | ||
| EndThumbPos | The thumb of the gray value progression line's end position. in the live view canvas in pixel coordinates. It is translated by the thumbs half width compared to the end point of the line. | |
| FocalLengthX | ||
| FocalLengthY | ||
| FocusSliderVisibility | ||
| GrayValueLineEndPos | ||
| GrayValueLineEndPosition | The end point of the gray value progression line in pixel coordinates in the live view canvas. | |
| GrayValueLineEndPositionRatio | The end point of the gray value progression line as ratio between 0 and 1 of the camera picture's width and height. | |
| GrayValueLineStartPos | ||
| GrayValueLineStartPosition | The start point of the gray value progression line in pixel coordinates in the live view canvas. | |
| GrayValueLineStartPositionRatio | The start point of the gray value progression line as ratio between 0 and 1 of the camera picture's width and height. | |
| GrayValueLineThumbSize | ||
| GrayValueProgressionBackground | ||
| GrayValueProgressionHeight | ||
| GrayValueProgressionIconStroke | ||
| GrayValueProgressionLineVisibility | ||
| GrayValueProgressionVisibility | ||
| HidePointerWhileTakePicture | ||
| Instance | ||
| IsAlignmentLine | Flag to indicate if the alignment line toggle button is checked. | |
| IsAutoJumpDelay | ||
| IsAutoZoom | Flag to indicate if the auto zoom feature is on or off. | |
| IsCalibrationInProgress | Flag to indicate if a calibration process is in progress currently. | |
| IsClickAndTeachEnabled | Enables and disables the complete panel. It is enabled only if there is a license available. | |
| IsCrossHairsEnabled | ||
| IsDistortionToRectify | ||
| IsFocusSliderEnabled | Flag to indicate if the focus slider is enabled. | |
| IsGrayValueProgression | Flag to indicate if the gray value progression is active or not. | |
| IsIPCopyContainerJobRunning | True if an image processing job is running inside a copy container. | |
| IsLiveImageChecked | Flag to indicate if the "Live view" toggle button is checked. | |
| IsLiveImageEnabled | Flag to indicate if the "Live view" toggle button is enabled. Disabled if the camera is not connected. | |
| IsLoadLastUsedTilesEnabled | Flag to indicate if the "Load last tiled image" button is enabled. Disabled if the file as stored in the settings is not there. | |
| IsNormalMode | ||
| IsPreviewChecked | Flag to indicate if the "Preview" toggle button is checked. | |
| IsPreviewEnabled | Flag to indicate if the "Preview" toggle button is enabled. | |
| IsPreviewEndless | Flag to indicate if the preview will be done endless or only once. | |
| IsRectify | Flag to indicate if equalization is active. | |
| IsResetCameraFieldSizeEnabled | Flag to indicate if the "Tile" toggle button is enabled. Disabled if the camera is not connected. | |
| IsSaveLiveEnabled | Flag to indicate if the "Save live image" button is enabled. Disabled if the camera is not connected. | |
| IsSaveTilesEnabled | Flag to indicate if the "Save tiled image" button is enabled. Disabled if the camera is not connected. | |
| IsSettingEnabled | ||
| IsTileAllEnabled | Flag to indicate if the "Tile" toggle button is enabled. Disabled if the camera is not connected. | |
| IsTilingChecked | Flag to indicate if the "Tile" toggle button is checked. | |
| IsValidCamera | ||
| IsZoomEnabled | ||
| JumpDelay | The delay we have to wait after the scan head has reached its position before we can take a new picture. | |
| JumpSpeed | The jump speed used when the scan head sets a new position. | |
| K1 | ||
| K2 | ||
| K3 | ||
| LiveViewCanvasHeight | ||
| LiveViewHeight | The current height of the live view panel. May change while resizing the panel. | |
| LiveViewImage | The brush to hold the background image for the live view panel. | |
| LiveViewImageRect | ||
| LiveViewImageZoomFactor | ||
| LiveViewRotation | ||
| LiveViewWidth | The current width of the live view panel. May change while resizing the panel. | |
| LoadLastUsedTilesCommand | ||
| LoadTilesCommand | ||
| MaxZCoordinate | In case of a 3D field the maximal z coordinate. | |
| MinZCoordinate | In case of a 3D field the minimal z coordinate. | |
| OverlappingFactor | A factor to control how strong the tiles will overlap. The standard value is 1.02 which means that there is an overlap of 2 percent. | |
| P1 | ||
| P2 | ||
| PickingMode | The mode the picking is in: Off, Single tile, 3x3 tiles. | |
| PreviewCommand | ||
| PreviewSpeed | The last used preview speed. | |
| ProgressValue | The current value for the tiling progress bar. | |
| RegionOfInterest | ||
| ResetCameraFieldSizeCommand | ||
| ResetCommand | ||
| SaveLiveCommand | ||
| SaveTilesCommand | ||
| SecondCameras | ||
| SecondCamFading | ||
| SecondCamFadingSliderVisibility | ||
| SecondCamLiveViewVisibility | ||
| SecondCamModeIndex | ||
| SecondCamVisibility | ||
| SecondLiveViewCanvasHeight | ||
| SecondLiveViewImage | ||
| SecondLiveViewImageRect | ||
| SecondRegionOfInterest | ||
| SecondSelectedCameraModel | ||
| SelectedCameraModel | used for UI Camera combo box | |
| ShowSettingsControls | ||
| StartGrayValueLineThumStroke | ||
| StartStopTileAllCommand | ||
| StartThumbPos | The thumb of the gray value progression line's start position. in the live view canvas in pixel coordinates. It is translated by the thumbs half width compared to the start point of the line. | |
| TilingCompletedMRE | This event is fired when tiling is completed on all scan heads. | |
| TilingTimeout | Relevant only when using the API: After this time (in milliseconds) a running tiling will be aborted. | |
| WorkspaceProcessTrafo | ||
| WorkspaceRegionColor | ||
| ZCoordinate | The z coordinate to be set when picking in the range from 0 to 1, mapped to the real z range. | |
| ZoomAlwaysOn | ||
| ZoomEnabled | ||
| ZoomToTileCommand |
| Name | Description | |
|---|---|---|
| AddWarningToNotificationPanel | ||
| CheckMatricesOnEquality | Checks all elements of the two given matrices on equality; i.e. matrixA[i,j] == matrixB[i,j] for all i, j. | |
| CreateRoiImage | Creates an image from the given ROI. In multi head scenarios a combined image from several cameras will be created if necessary. | |
| GetCenterPointWorldFromTileRectangle | 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. | |
| GetJobDefinition | Retrieves the active job. | |
| GetJobDefinitionOfJobElementHolder | Searches the JobDefinition the given JobElementHolder object belongs to. | |
| GetJobDefinitionService | Retrieves Rayguide's JobDefinitionService. | |
| GetOrCreateInstance | ||
| LoadSettings | Loads the Click and Teach settings and puts them into the panel's fields. | |
| OnClickAndTeachSelectionModeChanged | ||
| OnPropertyChanged |
Raises this object's PropertyChanged event.
(Inherited from BindableBase) | |
| RaisePropertyChanged |
Raises this object's PropertyChanged event.
(Inherited from BindableBase) | |
| SaveSettings | 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. | |
| SetProperty``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) | |
| SetProperty``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) | |
| ShowDeviceSettingsUI | ||
| StartStopPollingTimer | Starts the polling timer. | |
| UpdateCopyContainerWorkspaceMarking | Shows a blue rectangle in the workspace as defined in the arg. |
| Name | Description | |
|---|---|---|
| PreviewPoint | updates the Preview Point in the Live image viewer | |
| ProcessTransformationChanged | ||
| PropertyChanged |
Occurs when a property value changes.
(Inherited from BindableBase) |
| Name | Description | |
|---|---|---|
| _grayValueProgressionIconStroke |