Package gda.images.camera
Class MxOpticalCameraNoZoom
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.images.camera.CameraBase
gda.images.camera.MxOpticalCameraBase
gda.images.camera.MxOpticalCameraNoZoom
- All Implemented Interfaces:
Device,Configurable,Findable,Camera,ImageScaleProvider,gda.observable.IObservable
-
Field Summary
Fields inherited from class gda.images.camera.CameraBase
cameraName, cameraZoomIndexStatus, imageFile, UNSET_ARRAY_INDEXFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.images.camera.Camera
FOCUS_SET, IMAGE_UPDATED, ZOOM_SET -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.doublegetZoom()double[]voidselectZoomAt(int index) Sets the zoom level via an index, based on array values (seeCamera.getZoomLevels()):voidsetMicronsPerPixelFileName(String micronsPerPixelFileName) protected voidupdateCameraToIndexedSettings(int verifiedIndex) Invoked (indirectly) byCameraBase.setZoom(double)for indexed zoom levels,Methods inherited from class gda.images.camera.MxOpticalCameraBase
applyCameraZoomSettings, captureImage, closeConnection, createConnection, findNearestZoomLevel, getFocus, getFocusLevels, getImage, getMicronsPerXPixel, getMicronsPerYPixel, getVideoReceiver, getZoomSimilarityTolerance, hasZoomAxis, listZoomSettings, resetConnection, setFocus, setVideoReceiverMethods inherited from class gda.images.camera.CameraBase
areSimilar, getCameraName, getImageFileName, getZoomIndex, setImageFile, setZoom, setZoomIndexMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Method Details
-
setMicronsPerPixelFileName
-
configure
public void configure()Description copied from class:ConfigurableBaseDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classConfigurableBase
-
getZoom
public double getZoom()- Returns:
- double - current zoom level
-
getZoomLevels
public double[] getZoomLevels()- Returns:
- double[] - the possible zoom levels
-
selectZoomAt
public void selectZoomAt(int index) Description copied from interface:CameraSets the zoom level via an index, based on array values (seeCamera.getZoomLevels()):- Specified by:
selectZoomAtin interfaceCamera- Overrides:
selectZoomAtin classCameraBase- Parameters:
index- array index of new zoom level, ignored if out of range
-
updateCameraToIndexedSettings
protected void updateCameraToIndexedSettings(int verifiedIndex) Description copied from class:CameraBaseInvoked (indirectly) byCameraBase.setZoom(double)for indexed zoom levels,- Specified by:
updateCameraToIndexedSettingsin classCameraBase- Parameters:
verifiedIndex- settings index; already verified to lie within range
-