Package com.viam.component.camera.v1
Class Camera.ExtrinsicParameters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Camera.ExtrinsicParameters,Camera.ExtrinsicParameters.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Camera.ExtrinsicParameters,Camera.ExtrinsicParameters.Builder>
com.viam.component.camera.v1.Camera.ExtrinsicParameters.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Camera.ExtrinsicParametersOrBuilder,Cloneable
- Enclosing class:
Camera.ExtrinsicParameters
public static final class Camera.ExtrinsicParameters.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Camera.ExtrinsicParameters,Camera.ExtrinsicParameters.Builder>
implements Camera.ExtrinsicParametersOrBuilder
ExtrinsicParameters define the position of the camera relative to a reference frame (the world or another sensor).Protobuf type
viam.component.camera.v1.ExtrinsicParameters-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionThe orientation from the reference frame to the camera.The translation from the reference frame to the camera.The orientation from the reference frame to the camera.The translation from the reference frame to the camera.booleanThe orientation from the reference frame to the camera.booleanThe translation from the reference frame to the camera.The orientation from the reference frame to the camera.mergeTranslation(Common.Vector3 value) The translation from the reference frame to the camera.setOrientation(Common.Orientation value) The orientation from the reference frame to the camera.setOrientation(Common.Orientation.Builder builderForValue) The orientation from the reference frame to the camera.setTranslation(Common.Vector3 value) The translation from the reference frame to the camera.setTranslation(Common.Vector3.Builder builderForValue) The translation from the reference frame to the camera.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasTranslation
public boolean hasTranslation()The translation from the reference frame to the camera.
.viam.common.v1.Vector3 translation = 1 [json_name = "translation"];- Specified by:
hasTranslationin interfaceCamera.ExtrinsicParametersOrBuilder- Returns:
- Whether the translation field is set.
-
getTranslation
The translation from the reference frame to the camera.
.viam.common.v1.Vector3 translation = 1 [json_name = "translation"];- Specified by:
getTranslationin interfaceCamera.ExtrinsicParametersOrBuilder- Returns:
- The translation.
-
setTranslation
The translation from the reference frame to the camera.
.viam.common.v1.Vector3 translation = 1 [json_name = "translation"]; -
setTranslation
The translation from the reference frame to the camera.
.viam.common.v1.Vector3 translation = 1 [json_name = "translation"]; -
mergeTranslation
The translation from the reference frame to the camera.
.viam.common.v1.Vector3 translation = 1 [json_name = "translation"]; -
clearTranslation
The translation from the reference frame to the camera.
.viam.common.v1.Vector3 translation = 1 [json_name = "translation"]; -
hasOrientation
public boolean hasOrientation()The orientation from the reference frame to the camera.
.viam.common.v1.Orientation orientation = 2 [json_name = "orientation"];- Specified by:
hasOrientationin interfaceCamera.ExtrinsicParametersOrBuilder- Returns:
- Whether the orientation field is set.
-
getOrientation
The orientation from the reference frame to the camera.
.viam.common.v1.Orientation orientation = 2 [json_name = "orientation"];- Specified by:
getOrientationin interfaceCamera.ExtrinsicParametersOrBuilder- Returns:
- The orientation.
-
setOrientation
The orientation from the reference frame to the camera.
.viam.common.v1.Orientation orientation = 2 [json_name = "orientation"]; -
setOrientation
public Camera.ExtrinsicParameters.Builder setOrientation(Common.Orientation.Builder builderForValue) The orientation from the reference frame to the camera.
.viam.common.v1.Orientation orientation = 2 [json_name = "orientation"]; -
mergeOrientation
The orientation from the reference frame to the camera.
.viam.common.v1.Orientation orientation = 2 [json_name = "orientation"]; -
clearOrientation
The orientation from the reference frame to the camera.
.viam.common.v1.Orientation orientation = 2 [json_name = "orientation"];
-