Class libCalibGeom::Camera¶
Class representing a single camera.
The class describes a single camera with its specific camera/lens model and extrinsic (position and orientation) parameters.
Constructors and destructors¶
Camera()¶
Camera
Default constructor.
Returns:
void |
Camera()¶
Camera()¶
CameraCameraModelType type,const ImageSize imageSize,const std::string & name = ""
Constructs a camera with a specific model type.
Parameters:
type | The type of camera model (enum). |
imageSize | The resolution of the camera. |
name | Optional name for the camera. |
Returns:
void |
Camera()¶
Camerastd::string model,const ImageSize imageSize,const std::string & name = ""
Constructs a camera with a specific model type by string name.
Parameters:
model | The name of the camera model (e.g. "Brown-Conrady"). |
imageSize | The resolution of the camera. |
name | Optional name for the camera. |
Returns:
void |
Camera()¶
Camera
Constructs a camera taking ownership of an existing model pointer.
Parameters:
_model | Unique pointer to the camera model. |
Returns:
void |
Public member functions¶
operator=()¶
Camera &operator=
Assignment operator.
Parameters:
c | The Camera to assign from. |
Returns:
Camera & | Reference to this camera. |
toString()¶
std::stringtoString
Returns a string with a summary of all camera parameters.
Returns:
std::string |
Public data members¶
name¶
std::stringname
An identifying name.
model¶
std::unique_ptr< CameraModelBase >model
The camera's model. Holds intrinsic parameters.
extrinsics¶
Extrinsicsextrinsics
The camera's extrinsic roto-translation parameters and their states (fixed/free/disabled). The extrinsics converts coordinates from the 0'th to this camera.