Input / Output
- class motion3d.M3DIOStatus
-
Members:
kSuccess
kFileNotFound
kFileOpenError
kFileLockError
kFilePermissionsError
kUnsupportedFileType
kNoTransformType
kInvalidTransformType
kNoTransforms
kInvalidBinarySize
kInvalidTransform
kMoreTransforms
kLessTransforms
kInvalidFrame
kInvalidType
kInvalidStamps
kInvalidPoses
kInvalidSize
- property name
- class motion3d.MotionData
-
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: motion3d.MotionData, frame_id: str = ‘’) -> None
motion3d::MotionData::MotionData()__init__(self: motion3d.MotionData, type: motion3d::TransformType, transforms: motion3d.TransformContainer, frame_id: str = ‘’) -> None
motion3d::MotionData::MotionData()__init__(self: motion3d.MotionData, type: motion3d::TransformType, transforms: motion3d.TransformContainer, origin: motion3d::TransformInterface, frame_id: str = ‘’) -> None
motion3d::MotionData::MotionData()__init__(self: motion3d.MotionData, data: motion3d.MotionData) -> None
- __repr__(self: motion3d.MotionData) str
- getFrameId(self: motion3d.MotionData) str
- getOrigin(self: motion3d.MotionData) motion3d::TransformInterface
- getTransformType(self: motion3d.MotionData) motion3d::TransformType
- getTransforms(self: motion3d.MotionData) motion3d.TransformContainer
- setFrameId(self: motion3d.MotionData, frame_id: str) None
- setOrigin(self: motion3d.MotionData, origin: motion3d::TransformInterface) None
- setTransformType(self: motion3d.MotionData, type: motion3d::TransformType) None
- setTransforms(self: motion3d.MotionData, transforms: motion3d.TransformContainer) None
- class motion3d.M3DReader
-
- __init__(*args, **kwargs)
- static read(*args, **kwargs)
Overloaded function.
read(file_name: str, unsafe: bool = False, offset: int = 0) -> Tuple[Optional[motion3d.MotionData], motion3d.M3DIOStatus]
read(file_name: str, motion: motion3d.MotionData, unsafe: bool = False, offset: int = 0) -> motion3d.M3DIOStatus
- class motion3d.M3DWriter
-
- __init__(*args, **kwargs)
- static write(file_name: str, motion: motion3d.MotionData, file_type: motion3d.M3DFileType, precision: int = 16) motion3d.M3DIOStatus
- static writeASCII(file_name: str, motion: motion3d.MotionData, precision: int = 16) motion3d.M3DIOStatus
- static writeBinary(file_name: str, motion: motion3d.MotionData) motion3d.M3DIOStatus