Module:
sdynpy.fileio.sdynpy_psvSource: GitHub
Signature¶
class sdynpy.fileio.sdynpy_psv.Alignments(obj: 'Any') -> 'None'Wrapper around the COM alignments info object.
Attributes¶
| Name | Summary |
|---|---|
alignments_2d | 2D alignments. |
alignments_3d | 3D alignments. |
alignments_camera | Camera alignments. |
name | Info-object name. |
type | Info-object type identifier. |
alignments_2d¶
2D alignments.
alignments_3d¶
3D alignments.
alignments_camera¶
Camera alignments.
name¶
Info-object name.
type¶
Info-object type identifier.
Methods¶
| Name | Summary |
|---|---|
__init__ | Initialize self. See help(type(self)) for accurate signature. |
get_video_rect | Gets the video rectangle defining the video coordinate system. |
__init__¶
Source: GitHub
def sdynpy.fileio.sdynpy_psv.Alignments.__init__(self, obj: 'Any') -> 'None'Initialize self. See help(type(self)) for accurate signature.
get_video_rect¶
Source: GitHub
def sdynpy.fileio.sdynpy_psv.Alignments.get_video_rect(self) -> 'tuple[float, float, float, float]'Gets the video rectangle defining the video coordinate system.
Returns¶
left : float The left side of the video rectangle
top : float The top side of the video rectangle
right : float The right side of the video rectangle
bottom : float The bottom side of the video rectangle