Interface IPhotography
- Namespace
- VisioForge.Core.Types.X.Photography
- Assembly
- VisioForge.Core.dll
Interface IPhotography - used to get and set camera settings.
public interface IPhotographyMethods
GetAperture(out uint)
Gets the aperture.
bool GetAperture(out uint aperture)Parameters
apertureuint-
The aperture.
Returns
- bool
-
trueif successful,falseotherwise.
GetColorToneMode(out PhotographyColorToneMode)
Gets the color tone mode.
bool GetColorToneMode(out PhotographyColorToneMode mode)Parameters
modePhotographyColorToneMode-
The mode.
Returns
- bool
-
trueif successful,falseotherwise.
GetEVCompensation(out float)
Get the ev compensation value.
bool GetEVCompensation(out float ev_comp)Parameters
ev_compfloat-
The ev comp.
Returns
- bool
-
trueif successful,falseotherwise.
GetExposureMode(out PhotographyExposureMode)
Gets the exposure mode.
bool GetExposureMode(out PhotographyExposureMode exposureMode)Parameters
exposureModePhotographyExposureMode-
The exposure mode.
Returns
- bool
-
trueif successful,falseotherwise.
GetExposureTime(out uint)
Get the fixed exposure time (in ms).
bool GetExposureTime(out uint exposureTime)Parameters
exposureTimeuint-
The exposure.
Returns
- bool
-
trueif successful,falseotherwise.
GetFlashMode(out PhotographyFlashMode)
Gets the flash mode.
bool GetFlashMode(out PhotographyFlashMode flash_mode)Parameters
flash_modePhotographyFlashMode-
The flash mode.
Returns
- bool
-
trueif successful,falseotherwise.
GetFlickerMode(out PhotographyFlickerReductionMode)
Gets the flicker mode.
bool GetFlickerMode(out PhotographyFlickerReductionMode mode)Parameters
modePhotographyFlickerReductionMode-
The mode.
Returns
- bool
-
trueif successful,falseotherwise.
GetFocusMode(out PhotographyFocusMode)
Gets the focus mode.
bool GetFocusMode(out PhotographyFocusMode mode)Parameters
modePhotographyFocusMode-
The mode.
Returns
- bool
-
trueif successful,falseotherwise.
GetISO(out uint)
Get the ISO value (light sensivity).
bool GetISO(out uint iso_speed)Parameters
iso_speeduint-
The iso speed.
Returns
- bool
-
trueif successful,falseotherwise.
GetNoiseReduction(out PhotographyNoiseReduction)
Gets the noise reduction.
bool GetNoiseReduction(out PhotographyNoiseReduction noise_reduction)Parameters
noise_reductionPhotographyNoiseReduction-
The noise reduction.
Returns
- bool
-
trueif successful,falseotherwise.
GetSceneMode(out PhotographySceneMode)
Gets the scene mode.
bool GetSceneMode(out PhotographySceneMode scene_mode)Parameters
scene_modePhotographySceneMode-
The scene mode.
Returns
- bool
-
trueif successful,falseotherwise.
GetWhiteBalanceMode(out PhotographyWhiteBalanceMode)
Gets the white balance mode.
bool GetWhiteBalanceMode(out PhotographyWhiteBalanceMode wb_mode)Parameters
wb_modePhotographyWhiteBalanceMode-
The wb mode.
Returns
- bool
-
trueif successful,falseotherwise.
GetZoom(out float)
Gets the zoom.
bool GetZoom(out float zoom)Parameters
zoomfloat-
The zoom.
Returns
- bool
-
trueif successful,falseotherwise.
PrepareForCapture()
Start preparations for capture. Preparations can take indeterminate amount of time and func callback is called after preparations are done. Image capture will begin after callback returns.
bool PrepareForCapture()Returns
- bool
-
trueif successful,falseotherwise.
SetAperture(uint)
Sets the aperture.
bool SetAperture(uint aperture)Parameters
apertureuint-
The aperture.
Returns
- bool
-
trueif successful,falseotherwise.
SetAutoFocus(bool)
Sets the automatic focus.
void SetAutoFocus(bool on)Parameters
onbool-
if set to
true[on].
SetColorToneMode(PhotographyColorToneMode)
Sets the color tone mode.
bool SetColorToneMode(PhotographyColorToneMode tone_mode)Parameters
tone_modePhotographyColorToneMode-
The tone mode.
Returns
- bool
-
trueif successful,falseotherwise.
SetEVCompensation(float)
Sets the ev compensation.
bool SetEVCompensation(float ev_comp)Parameters
ev_compfloat-
The ev comp.
Returns
- bool
-
trueif successful,falseotherwise.
SetExposureMode(PhotographyExposureMode)
Sets the exposure mode.
bool SetExposureMode(PhotographyExposureMode value)Parameters
valuePhotographyExposureMode-
The value.
Returns
- bool
-
trueif successful,falseotherwise.
SetExposureTime(uint)
Set the fixed exposure time (in ms).
bool SetExposureTime(uint exposure)Parameters
exposureuint-
The exposure.
Returns
- bool
-
trueif successful,falseotherwise.
SetFlashMode(PhotographyFlashMode)
Sets the flash mode.
bool SetFlashMode(PhotographyFlashMode flash_mode)Parameters
flash_modePhotographyFlashMode-
The flash mode.
Returns
- bool
-
trueif successful,falseotherwise.
SetFlickerMode(PhotographyFlickerReductionMode)
Sets the flicker mode.
bool SetFlickerMode(PhotographyFlickerReductionMode mode)Parameters
modePhotographyFlickerReductionMode-
The mode.
Returns
- bool
-
trueif successful,falseotherwise.
SetFocusMode(PhotographyFocusMode)
Sets the focus mode.
bool SetFocusMode(PhotographyFocusMode mode)Parameters
modePhotographyFocusMode-
The mode.
Returns
- bool
-
trueif successful,falseotherwise.
SetISO(uint)
Sets the ISO.
bool SetISO(uint iso_speed)Parameters
iso_speeduint-
The iso speed.
Returns
- bool
-
trueif successful,falseotherwise.
SetNoiseReduction(PhotographyNoiseReduction)
Sets the noise reduction.
bool SetNoiseReduction(PhotographyNoiseReduction noise_reduction)Parameters
noise_reductionPhotographyNoiseReduction-
The noise reduction.
Returns
- bool
-
trueif successful,falseotherwise.
SetSceneMode(PhotographySceneMode)
Sets the scene mode.
bool SetSceneMode(PhotographySceneMode scene_mode)Parameters
scene_modePhotographySceneMode-
The scene mode.
Returns
- bool
-
trueif successful,falseotherwise.
SetWhiteBalanceMode(PhotographyWhiteBalanceMode)
Sets the white balance mode.
bool SetWhiteBalanceMode(PhotographyWhiteBalanceMode wb_mode)Parameters
wb_modePhotographyWhiteBalanceMode-
The wb mode.
Returns
- bool
-
trueif successful,falseotherwise.
SetZoom(float)
Sets the zoom.
bool SetZoom(float zoom)Parameters
zoomfloat-
The zoom.
Returns
- bool
-
trueif successful,falseotherwise.