Package boofcv.alg.geo.bundle.cameras
Class BundleZoomState
java.lang.Object
boofcv.alg.geo.bundle.cameras.BundleZoomState
- All Implemented Interfaces:
BundleCameraState
Camera state for storing the zoom value
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the provided camera state is identical to this camera state.setTo
(BundleZoomState src) Set's the classes state to the value contained in this maptoMap()
Convert's the values into a map format where each class's field has a corresponding key with the same name and primitive value or primitive array.
-
Field Details
-
zoom
public double zoomValue of zoom for the lens
-
-
Constructor Details
-
BundleZoomState
public BundleZoomState(double zoom) -
BundleZoomState
public BundleZoomState()
-
-
Method Details
-
setTo
-
setTo
Description copied from interface:BundleCameraState
Set's the classes state to the value contained in this map- Specified by:
setTo
in interfaceBundleCameraState
-
toMap
Description copied from interface:BundleCameraState
Convert's the values into a map format where each class's field has a corresponding key with the same name and primitive value or primitive array. This is used for serialization to YAML.- Specified by:
toMap
in interfaceBundleCameraState
-
isIdentical
Description copied from interface:BundleCameraState
Returns true if the provided camera state is identical to this camera state. If they are different types then it should return false.- Specified by:
isIdentical
in interfaceBundleCameraState
-