Photomechanics API
|
Provides methods to shoot photos directly from table through sync cable. More...
Public Member Functions | |
Task< Boolean > | GetIsShootingPhotos () |
Get info on whether turn table is currently shooting photos. More... | |
Task | SetPhotoShootingStartAngle (Double degrees) |
Set shooting starting angle. The first photo will be triggered when given value reached. More... | |
Task | SetPhotoShootingDegreesPerPhoto (Double degrees) |
Set degrees interval between photos. More... | |
Task< Int32 > | ShootPhotos (Int32 numberOfPhotos) |
Start rotation with photo triggering. More... | |
Provides methods to shoot photos directly from table through sync cable.
WIP, currently not implemented.
Task< Boolean > IEmbeddedPhotoShootingProvider.GetIsShootingPhotos | ( | ) |
Get info on whether turn table is currently shooting photos.
TurntableOperationFailedException | Thrown when turn table returns fail result of operation. |
Task IEmbeddedPhotoShootingProvider.SetPhotoShootingStartAngle | ( | Double | degrees | ) |
Set shooting starting angle. The first photo will be triggered when given value reached.
degrees | Starting angle in degrees. |
TurntableOperationFailedException | Thrown when turn table returns fail result of operation. |
Task IEmbeddedPhotoShootingProvider.SetPhotoShootingDegreesPerPhoto | ( | Double | degrees | ) |
Set degrees interval between photos.
The photo is triggered when steps count minus start step is a multiple of given value.
degrees | Starting angle in degrees. |
TurntableOperationFailedException | Thrown when turn table returns fail result of operation. |
Task< Int32 > IEmbeddedPhotoShootingProvider.ShootPhotos | ( | Int32 | numberOfPhotos | ) |
Start rotation with photo triggering.
numberOfPhotos | Non-zero number of photos. Negative value for counter-clockwise rotation. |
TurntableOperationFailedException | Thrown when turn table returns fail result of operation. Either common reasons (turn table is already rotating or in manual mode) or necessary parameters were not provided (start angle, degrees per photo). |
Return value is actually received from turn table immediately after the photo shooting start. For the sake of simplicity, it is returned from API only after the command is fully executed. If value is needed early, then this method must be rewritten to return object like MftCommandBase.