Camera |
The CameraEmulator type exposes the following members.
| Name | Description | |
|---|---|---|
| CheckDriverAndShowNotification | (Inherited from BasePluginCamera) | |
| CheckOnCameraDriver | (Inherited from BasePluginCamera) | |
| Connect |
Tries to connect with the camera whose ID is stored in property
CameraID. Called by RAYGUIDE's DeviceControllerService, e.g. at
program start.
(Overrides BaseDeviceControllerConnect) | |
| ConvertPixelLengthToWorldLength |
Converts a distance, given in pixel coordinates, into the same
distance in world coordinates. The downscale factor is taken into
account.
(Inherited from BasePluginCamera) | |
| ConvertPixelPosToWorldPos |
Inversion method of ConvertWorldPosToPixelPos().
(Inherited from BasePluginCamera) | |
| ConvertScanFieldPixelToWorld |
converts scan field pixel point to the scan field or world coordinates (µm)
pixel coordinate system:
left top 0/0
right bottom w/h
(Inherited from BasePluginCamera) | |
| ConvertScanFieldWorldToPixel |
converts scan field or world coordinates to pixel
(Inherited from BasePluginCamera) | |
| ConvertWorldLengthToPixelLength |
Converts a distance, given in world coordinates, into the same
distance in pixel coordinates. The downscale factor is taken into
account.
(Inherited from BasePluginCamera) | |
| ConvertWorldPosToPixelPos |
Converts a point in world coordinates into pixel coordinates. The
current size in world coordinates and the current pixel size of the
scan field is taken into account. The origin in world coordinates
is expected to be in the middle of the field.
Attention: Field and process transformations are not considered.
(Inherited from BasePluginCamera) | |
| Disconnect |
Disconnects the camera. Called by RAYGUIDE's
DeviceControllerService, e.g. at program end.
(Overrides BaseDeviceControllerDisconnect) | |
| Dispose | (Inherited from BasePlugin) | |
| Dispose(Boolean) |
Stops the streaming and disconnects the camera.
(Inherited from BasePluginCamera) | |
| DisposeUI |
Disposes the given setting view.
(Inherited from BaseDeviceController) | |
| DoDisposeUI | (Inherited from BasePlugin) | |
| DoShowUI |
Opens the camera's configuration dialog. Called by RAYGUIDE's
dialog service.
(Overrides BasePluginDoShowUI(String)) | |
| DoShowUICallback |
Callback method to get modified data out of the camera settings
dialog.
(Overrides BasePluginDoShowUICallback(PluginSettingsView)) | |
| GetBigPictureSize | Returns the size of a camera emulator's big picture the tiles are taken from. | |
| GetDeviceStatusRepresentation | (Inherited from BasePluginCamera) | |
| GetFieldSizePixel |
Size of one camera image
(Inherited from BasePluginCamera) | |
| GetLastScanHeadPositionFieldRectPixel | (Inherited from BasePluginCamera) | |
| GetScanFieldSizePixel |
Gets the field size in pixels with respect to the downscale factor
the user has set.
(Inherited from BasePluginCamera) | |
| HandleExternalDeviceRequestAsync |
Handles a chained request for a given list of features.
(Overrides BaseDeviceControllerHandleExternalDeviceRequestAsync(IListTupleChainableFeatureType, ExpandoObject, CancellationToken)) | |
| Initialize |
Retrieves the scan head from the device list whose short label
matches the serialized ScanHeadID property.
(Overrides BasePluginInitialize) | |
| InitializeCalibrationDataSet |
Initializes the calibration data set based on the scan head's
configuration file. If there are no entries in the dictionary, two
entries are created with the top and bottom z-values. Otherwise
the min and max focus levels are read from the dictionary's min
and max levels.
The remaining data must be filled later with the calibration data.
(Inherited from BasePluginCamera) | |
| InvokeConnected |
Invokes Connected event.
(Inherited from BaseDeviceController) | |
| InvokeDeviceUIRequested |
Callback method to show the nested scan head settings dialog.
(Inherited from BaseCamera) | |
| InvokeDisconnected |
Invokes Disconnected event.
(Inherited from BaseDeviceController) | |
| InvokeInitialized |
Invokes Initialized event.
(Inherited from BaseDeviceController) | |
| InvokeStatusChanged |
Invokes StatusChanged event.
(Inherited from BaseDeviceController) | |
| LoadBigPicture | Loads the big picture the taken images are got from. | |
| LoadCalibration |
Loads the properties building the calibration data.
(Inherited from BasePluginCamera) | |
| LoadFlatFieldCorrectionFiles |
Loads the bright and dark images for flat field correction.
(Inherited from BasePluginCamera) | |
| OnDevicesChanged | (Inherited from BaseDeviceController) | |
| ResetBigPicture | Loads the built-in big picture overwriting any which may be currently in use. | |
| SaveCalibration |
Saves the properties building the calibration data.
(Inherited from BasePluginCamera) | |
| SetCurrentParameterValuesOnCamera |
Sets the camera parameters in the hardware according to the current
parameters in this camera object.
(Inherited from BasePluginCamera) | |
| SetExposureTimeOnCamera | (Overrides BasePluginCameraSetExposureTimeOnCamera(Double)) | |
| SetGainOnCamera | (Overrides BasePluginCameraSetGainOnCamera(Double)) | |
| SetIsAutoBrightnessOnCamera | (Overrides BasePluginCameraSetIsAutoBrightnessOnCamera(Boolean)) | |
| SetIsAutoExposureOnCamera | (Overrides BasePluginCameraSetIsAutoExposureOnCamera(Boolean)) | |
| SetIsAutoGainOnCamera | (Overrides BasePluginCameraSetIsAutoGainOnCamera(Boolean)) | |
| SetIsCombinePixelsOnCamera | (Overrides BasePluginCameraSetIsCombinePixelsOnCamera(Boolean, Boolean)) | |
| ShowUI |
Shows the specific UI embedded in the plugin instance.
(Inherited from BaseDeviceController) | |
| ShowUICallback |
Invokes the callback that can be used when the ShowUI method is done.
(Inherited from BaseDeviceController) | |
| ShowUICancelCallback |
Invokes the callback that can be used when the ShowUI method is done and the user pressed the cancel button
(Inherited from BasePlugin) | |
| StartStreaming |
Starts the video stream. The emulator just sets the streaming flag.
(Overrides BasePluginCameraStartStreaming) | |
| StopStreaming |
Stops the image stream. The emulator just sets the streaming flag
to false.
(Overrides BasePluginCameraStopStreaming) | |
| StoreCurrentCameraSettings |
Stores all current camera settings in the temporary properties.
This is needed to allow the cancel button in the settings dialog
to work: When the dialog is opened all current settings are stored
here. The user can now change all parameters as he wants it, and
they can be used immediately internally e. g. for the calibration
process (using the possibly changed StandardMeasure e. g.). If the
dialog is canceled afterwards all parameters can be restored
from temporary values.
(Inherited from BasePluginCamera) | |
| TakePicture |
Takes a picture with the camera and downscales it if demanded.
The default color (red) is used for the cross hairs.
(Inherited from BasePluginCamera) | |
| ToString | (Inherited from BasePlugin) | |
| UpdateFieldSizeProperties | (Inherited from BasePluginCamera) |