Package com.viam.component.camera.v1
Interface Camera.GetPropertiesResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Camera.GetPropertiesResponse
,Camera.GetPropertiesResponse.Builder
- Enclosing class:
- Camera
public static interface Camera.GetPropertiesResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionParameters for modeling lens distortion in cameras If camera does not provide distortion parameters, leave the field empty Initializing the parameters with 0-values is considered an errorfloat
Optional camera frame rate for image capture timingParameters for doing a perspective of a 3D scene to a 2D plane If camera does not provide intrinsic parameters, leave the field empty Initializing the parameters with 0-values is considered an errorgetMimeTypes
(int index) Supported MIME types by the cameracom.google.protobuf.ByteString
getMimeTypesBytes
(int index) Supported MIME types by the cameraint
Supported MIME types by the cameraSupported MIME types by the cameraboolean
A boolean property determining whether the camera supports the return of pointcloud databoolean
Parameters for modeling lens distortion in cameras If camera does not provide distortion parameters, leave the field empty Initializing the parameters with 0-values is considered an errorboolean
Optional camera frame rate for image capture timingboolean
Parameters for doing a perspective of a 3D scene to a 2D plane If camera does not provide intrinsic parameters, leave the field empty Initializing the parameters with 0-values is considered an errorMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getSupportsPcd
boolean getSupportsPcd()A boolean property determining whether the camera supports the return of pointcloud data
bool supports_pcd = 1 [json_name = "supportsPcd"];
- Returns:
- The supportsPcd.
-
hasIntrinsicParameters
boolean hasIntrinsicParameters()Parameters for doing a perspective of a 3D scene to a 2D plane If camera does not provide intrinsic parameters, leave the field empty Initializing the parameters with 0-values is considered an error
.viam.component.camera.v1.IntrinsicParameters intrinsic_parameters = 2 [json_name = "intrinsicParameters"];
- Returns:
- Whether the intrinsicParameters field is set.
-
getIntrinsicParameters
Camera.IntrinsicParameters getIntrinsicParameters()Parameters for doing a perspective of a 3D scene to a 2D plane If camera does not provide intrinsic parameters, leave the field empty Initializing the parameters with 0-values is considered an error
.viam.component.camera.v1.IntrinsicParameters intrinsic_parameters = 2 [json_name = "intrinsicParameters"];
- Returns:
- The intrinsicParameters.
-
hasDistortionParameters
boolean hasDistortionParameters()Parameters for modeling lens distortion in cameras If camera does not provide distortion parameters, leave the field empty Initializing the parameters with 0-values is considered an error
.viam.component.camera.v1.DistortionParameters distortion_parameters = 3 [json_name = "distortionParameters"];
- Returns:
- Whether the distortionParameters field is set.
-
getDistortionParameters
Camera.DistortionParameters getDistortionParameters()Parameters for modeling lens distortion in cameras If camera does not provide distortion parameters, leave the field empty Initializing the parameters with 0-values is considered an error
.viam.component.camera.v1.DistortionParameters distortion_parameters = 3 [json_name = "distortionParameters"];
- Returns:
- The distortionParameters.
-
getMimeTypesList
Supported MIME types by the camera
repeated string mime_types = 4 [json_name = "mimeTypes"];
- Returns:
- A list containing the mimeTypes.
-
getMimeTypesCount
int getMimeTypesCount()Supported MIME types by the camera
repeated string mime_types = 4 [json_name = "mimeTypes"];
- Returns:
- The count of mimeTypes.
-
getMimeTypes
Supported MIME types by the camera
repeated string mime_types = 4 [json_name = "mimeTypes"];
- Parameters:
index
- The index of the element to return.- Returns:
- The mimeTypes at the given index.
-
getMimeTypesBytes
com.google.protobuf.ByteString getMimeTypesBytes(int index) Supported MIME types by the camera
repeated string mime_types = 4 [json_name = "mimeTypes"];
- Parameters:
index
- The index of the element to return.- Returns:
- The mimeTypes at the given index.
-
hasFrameRate
boolean hasFrameRate()Optional camera frame rate for image capture timing
optional float frame_rate = 5 [json_name = "frameRate"];
- Returns:
- Whether the frameRate field is set.
-
getFrameRate
float getFrameRate()Optional camera frame rate for image capture timing
optional float frame_rate = 5 [json_name = "frameRate"];
- Returns:
- The frameRate.
-