unreal.CameraCalibrationSubsystem
¶
- class unreal.CameraCalibrationSubsystem(outer=None, name='None')¶
Bases:
unreal.EngineSubsystem
Camera Calibration subsystem
C++ Source:
Plugin: CameraCalibrationCore
Module: CameraCalibrationCore
File: CameraCalibrationSubsystem.h
- find_distortion_model_handler(update_picker=True) -> (LensDistortionModelHandlerBase, distortion_handler_picker=DistortionHandlerPicker)¶
Return the handler associated with the input distortion source, if one exists If bUpdatePicker is true, the input picker reference will be updated so that its properties match those of the found handler
- Parameters
update_picker (bool) –
- Returns
distortion_handler_picker (DistortionHandlerPicker):
- Return type
- find_or_create_distortion_model_handler(lens_model_class) -> (LensDistortionModelHandlerBase, distortion_handler_picker=DistortionHandlerPicker)¶
Return the handler associated with the input distortion source, if one exists that also matches the input model. If none exist, create a new handler and return it.
- Parameters
- Returns
distortion_handler_picker (DistortionHandlerPicker):
- Return type
- get_camera_calibration_step(name)¶
Returns the camera calibration step by name
- get_camera_calibration_steps()¶
Returns an array with the names of the available camera calibration steps
- get_camera_nodal_offset_algo(name)¶
Returns the nodal offset algorithm by name
- get_camera_nodal_offset_algos()¶
Returns an array with the names of the available nodal offset algorithms
- get_distortion_model_handlers(component)¶
Return all handlers associated with the input camera component
- Parameters
component (CineCameraComponent) –
- Returns
- Return type
- get_lens_file(picker) → LensFile¶
Facilitator around the picker to get the desired lens file.
- Parameters
picker (LensFilePicker) –
- Returns
- Return type
- get_registered_lens_model(model_name)¶
Return the ULensModel subclass that was registered with the input model name
- set_default_lens_file(new_default_lens_file) → None¶
Get the default lens file.
- Parameters
new_default_lens_file (LensFile) –
- unregister_distortion_model_handler(component, handler) → None¶
Disassociate the input handler from the input camera component in the subsystem’s handler map
- Parameters
component (CineCameraComponent) –
handler (LensDistortionModelHandlerBase) –