Package gda.images.camera
Class ScannableSampleMovementService
java.lang.Object
gda.factory.FindableBase
gda.images.camera.SampleMovementServiceBase
gda.images.camera.ScannableSampleMovementService
- All Implemented Interfaces:
Findable,SampleMovementService,org.springframework.beans.factory.InitializingBean
@ServiceInterface(SampleMovementService.class)
public class ScannableSampleMovementService
extends SampleMovementServiceBase
Implementation of
SampleMovementService that uses scannables.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected doublegetOmega()protected double[]Returns the current position of the sample.voidsetOmegaScannable(Scannable omega) protected voidsetPosition(double[] position) Sets the current position of the sample.voidsetSampleXyz(Scannable sampleXyz) Methods inherited from class gda.images.camera.SampleMovementServiceBase
doRotation, moveSampleByMicrons, moveSampleByMicronsAlongBeamlineAxes, moveSampleByMicronsAlongStandardAxes, setAxisOrientationMatrix, setOmegaDirectionMethods inherited from class gda.factory.FindableBase
equals, getName, hashCode, setName
-
Constructor Details
-
ScannableSampleMovementService
public ScannableSampleMovementService()
-
-
Method Details
-
setSampleXyz
-
setOmegaScannable
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classSampleMovementServiceBase- Throws:
Exception
-
getOmega
- Specified by:
getOmegain classSampleMovementServiceBase- Throws:
DeviceException
-
getPosition
Description copied from class:SampleMovementServiceBaseReturns the current position of the sample.- Specified by:
getPositionin classSampleMovementServiceBase- Returns:
- a 3-element double array
- Throws:
DeviceException
-
setPosition
Description copied from class:SampleMovementServiceBaseSets the current position of the sample.- Specified by:
setPositionin classSampleMovementServiceBase- Parameters:
position- a 3-element double array- Throws:
DeviceException
-