public class ArCamera
Virtual AR camera parameters.
Constructor and Description |
---|
ArCamera(float fov,
float aspectRatio,
float roll,
float pitch,
float yaw,
float height)
Deprecated.
Virtual AR camera parameters.
|
Modifier and Type | Method and Description |
---|---|
float |
component1()
Deprecated.
Vertical field of view expressed in radians
|
float |
component2()
Deprecated.
Aspect ratio
|
float |
component3()
Deprecated.
Roll of the camera in radians.
|
float |
component4()
Deprecated.
Pitch of the camera in radians.
|
float |
component5()
Deprecated.
Yaw of the camera in radians.
|
float |
component6()
Deprecated.
Height above the road surface in meters
|
ArCamera |
copy(float fov,
float aspectRatio,
float roll,
float pitch,
float yaw,
float height)
Deprecated.
Virtual AR camera parameters.
|
boolean |
equals(java.lang.Object p)
Deprecated.
|
float |
getAspectRatio()
Deprecated.
Aspect ratio
|
float |
getFov()
Deprecated.
Vertical field of view expressed in radians
|
float |
getHeight()
Deprecated.
Height above the road surface in meters
|
float |
getPitch()
Deprecated.
Pitch of the camera in radians.
|
float |
getRoll()
Deprecated.
Roll of the camera in radians.
|
float |
getYaw()
Deprecated.
Yaw of the camera in radians.
|
int |
hashCode()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public ArCamera(float fov, float aspectRatio, float roll, float pitch, float yaw, float height)
Virtual AR camera parameters.
fov
- Vertical field of view expressed in radiansaspectRatio
- Aspect ratioroll
- Roll of the camera in radians.Expresses rotation around Y axis (goes from the right to the left of the vehicle).Device pointing straight to the road will have roll = pi/2 radians (90 degrees).pitch
- Pitch of the camera in radians.Expresses rotation around Z axis (goes from the bottom to the top of the vehicle).Device pointing straight to the road will have pitch = 0 radians.yaw
- Yaw of the camera in radians.Expresses rotation around X axis (goes from the end to the front of the vehicle).Device pointing straight to the road will have yaw = 0 radians.height
- Height above the road surface in meterspublic float getFov()
Vertical field of view expressed in radians
public float getAspectRatio()
Aspect ratio
public float getRoll()
Roll of the camera in radians.
Expresses rotation around Y axis (goes from the right to the left of the vehicle).Device pointing straight to the road will have roll = pi/2 radians (90 degrees).
public float getPitch()
Pitch of the camera in radians.
Expresses rotation around Z axis (goes from the bottom to the top of the vehicle).Device pointing straight to the road will have pitch = 0 radians.
public float getYaw()
Yaw of the camera in radians.
Expresses rotation around X axis (goes from the end to the front of the vehicle).Device pointing straight to the road will have yaw = 0 radians.
public float getHeight()
Height above the road surface in meters
public float component1()
Vertical field of view expressed in radians
public float component2()
Aspect ratio
public float component3()
Roll of the camera in radians.
Expresses rotation around Y axis (goes from the right to the left of the vehicle).Device pointing straight to the road will have roll = pi/2 radians (90 degrees).
public float component4()
Pitch of the camera in radians.
Expresses rotation around Z axis (goes from the bottom to the top of the vehicle).Device pointing straight to the road will have pitch = 0 radians.
public float component5()
Yaw of the camera in radians.
Expresses rotation around X axis (goes from the end to the front of the vehicle).Device pointing straight to the road will have yaw = 0 radians.
public float component6()
Height above the road surface in meters
public ArCamera copy(float fov, float aspectRatio, float roll, float pitch, float yaw, float height)
Virtual AR camera parameters.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)