Package com.banuba.sdk.types
Class FullImageData.Orientation
- java.lang.Object
-
- com.banuba.sdk.types.FullImageData.Orientation
-
- Enclosing class:
- FullImageData
public static class FullImageData.Orientation extends java.lang.Object
Describes various information related to image orientation.
-
-
Constructor Summary
Constructors Constructor Description Orientation()
A default constructor.Orientation(CameraOrientation cameraOrientation)
A parametrized constructor for creating Orientation instance with camera orientation only.Orientation(CameraOrientation cameraOrientation, boolean requireMirroring, int faceOrientation)
A parametrized constructor for creating Orientation instance with all requared data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CameraOrientation
getCameraOrientation()
int
getFaceOrientation()
boolean
isRequireMirroring()
-
-
-
Constructor Detail
-
Orientation
public Orientation(CameraOrientation cameraOrientation, boolean requireMirroring, int faceOrientation)
A parametrized constructor for creating Orientation instance with all requared data.- Parameters:
cameraOrientation
- is an enum value of camera orientation. It is present camera orientation in degrees (@see CameraOrientation).requireMirroring
-true
to mirror during renderingfaceOrientation
- in degrees
-
Orientation
public Orientation(CameraOrientation cameraOrientation)
A parametrized constructor for creating Orientation instance with camera orientation only.
-
Orientation
public Orientation()
A default constructor.
-
-
Method Detail
-
getCameraOrientation
public CameraOrientation getCameraOrientation()
- Returns:
- Returns camera orientation as enum value which present camera orientation in degrees (@see CameraOrientation).
-
isRequireMirroring
public boolean isRequireMirroring()
- Returns:
- Returns true if mirroring is requered and false in another way.
-
getFaceOrientation
public int getFaceOrientation()
- Returns:
- Returns the face orientation in degrees.
-
-