Interface MonoPhotoSurfaceRenderer
public interface MonoPhotoSurfaceRenderer
-
Method Summary
Modifier and TypeMethodDescriptionGet current reconvergence modevoid
release()
Destructor releases resourcesvoid
Force request rendering might be required to actualize setting or mode change on the screen when video source is on pausevoid
setAnimate(boolean animate)
Enable rotation animationvoid
setAnimateHorizontalAmplitude(float val)
Set horizontal (lef to right) movement amplitude valid range is [0..2]void
setAnimateHorizontalPhase(float val)
Set starting phase in Rad for horizontal movement valid range is [0..1]void
setAnimatePerspectiveAmplitude(float val)
Set forward to back movement amplitude valid range is [0..2]void
setAnimatePerspectivePhase(float val)
Set starting phase in Rad for front-to-back movement valid range is [0..1]void
setAnimateStepSize(float val)
Set animation speed valid range is [0..1]void
setAnimateVerticalAmplitude(float val)
Set vertical (top to bottom) movement amplitude valid range is [0..2]void
setAnimateVerticalPhase(float val)
Set starting phase in Rad for vertical movement valid range is [0..1]void
setConvergence(float con)
Manually set photo convergence (3d focus) overriding auto value if it existsvoid
setGainMultiplier(float multiplier)
Sets rendering gain (3d depth).void
setHorizontalShift(float horizontalShift)
Set horizontal view shiftvoid
setPerspective(float perspective)
Set perspective zoom ratiovoid
setReconvergenceMode(ReconvergenceMode reconvergenceMode)
Set reconvergence mode to be usedvoid
setVerticalShift(float verticalShift)
Set vertical view shift
-
Method Details
-
getCurrentReconvergenceMode
ReconvergenceMode getCurrentReconvergenceMode()Get current reconvergence mode- See Also:
ReconvergenceMode
-
setReconvergenceMode
Set reconvergence mode to be used- See Also:
ReconvergenceMode
-
setPerspective
void setPerspective(float perspective)Set perspective zoom ratio -
setHorizontalShift
void setHorizontalShift(float horizontalShift)Set horizontal view shift -
setVerticalShift
void setVerticalShift(float verticalShift)Set vertical view shift -
requestRender
void requestRender()Force request rendering might be required to actualize setting or mode change on the screen when video source is on pause -
release
void release()Destructor releases resources -
setGainMultiplier
void setGainMultiplier(float multiplier)Sets rendering gain (3d depth). valid range is [0..2]- Parameters:
multiplier
-
-
setConvergence
void setConvergence(float con)Manually set photo convergence (3d focus) overriding auto value if it exists- Parameters:
con
-
-
setAnimate
void setAnimate(boolean animate)Enable rotation animation- Parameters:
animate
-
-
setAnimateHorizontalAmplitude
void setAnimateHorizontalAmplitude(float val)Set horizontal (lef to right) movement amplitude valid range is [0..2]- Parameters:
val
-
-
setAnimateVerticalAmplitude
void setAnimateVerticalAmplitude(float val)Set vertical (top to bottom) movement amplitude valid range is [0..2]- Parameters:
val
-
-
setAnimatePerspectiveAmplitude
void setAnimatePerspectiveAmplitude(float val)Set forward to back movement amplitude valid range is [0..2]- Parameters:
val
-
-
setAnimateHorizontalPhase
void setAnimateHorizontalPhase(float val)Set starting phase in Rad for horizontal movement valid range is [0..1]- Parameters:
val
-
-
setAnimateVerticalPhase
void setAnimateVerticalPhase(float val)Set starting phase in Rad for vertical movement valid range is [0..1]- Parameters:
val
-
-
setAnimatePerspectivePhase
void setAnimatePerspectivePhase(float val)Set starting phase in Rad for front-to-back movement valid range is [0..1]- Parameters:
val
-
-
setAnimateStepSize
void setAnimateStepSize(float val)Set animation speed valid range is [0..1]- Parameters:
val
-
-