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(distortion_handler_picker, 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
distortion_handler_picker (DistortionHandlerPicker) –
update_picker (bool) –
- Returns
distortion_handler_picker (DistortionHandlerPicker):
- Return type
- find_or_create_distortion_model_handler(distortion_handler_picker, 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
distortion_handler_picker (DistortionHandlerPicker) –
- 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_image_center_algo(name)¶
Returns the image center algorithm by name
- get_camera_image_center_algos()¶
Returns an array with the names of the available image center algorithms
- 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) –
- Return type
- get_lens_file(picker) LensFile ¶
Facilitator around the picker to get the desired lens file.
- Parameters
picker (LensFilePicker) –
- Return type
- get_overlay_material(overlay_name) MaterialInterface ¶
Returns the overlay material associated with the input overlay name
- Parameters
overlay_name (Name) –
- Return type
- get_overlay_material_names()¶
Returns a list of all overlays known to the subsystem This includes the default overlays listed in the camera calibration settings as well as any of overlays that have been registered with this subsystem
- 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) –