Input / Output

class motion3d.M3DIOStatus

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.M3DFileType

motion3d::M3DFileType

Members:

kASCII

kBinary

property name
class motion3d.MotionData

motion3d::MotionData

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: motion3d.MotionData, frame_id: str = ‘’) -> None

motion3d::MotionData::MotionData()

  1. __init__(self: motion3d.MotionData, type: motion3d::TransformType, transforms: motion3d.TransformContainer, frame_id: str = ‘’) -> None

motion3d::MotionData::MotionData()

  1. __init__(self: motion3d.MotionData, type: motion3d::TransformType, transforms: motion3d.TransformContainer, origin: motion3d::TransformInterface, frame_id: str = ‘’) -> None

motion3d::MotionData::MotionData()

  1. __init__(self: motion3d.MotionData, data: motion3d.MotionData) -> None

motion3d::MotionData::MotionData()

__repr__(self: motion3d.MotionData) str

motion3d::MotionData::desc()

getFrameId(self: motion3d.MotionData) str

motion3d::MotionData::getFrameId()

getOrigin(self: motion3d.MotionData) motion3d::TransformInterface

motion3d::MotionData::getOrigin()

getTransformType(self: motion3d.MotionData) motion3d::TransformType

motion3d::MotionData::getTransformType()

getTransforms(self: motion3d.MotionData) motion3d.TransformContainer

motion3d::MotionData::getTransforms()

setFrameId(self: motion3d.MotionData, frame_id: str) None

motion3d::MotionData::setFrameId()

setOrigin(self: motion3d.MotionData, origin: motion3d::TransformInterface) None

motion3d::MotionData::setOrigin()

setTransformType(self: motion3d.MotionData, type: motion3d::TransformType) None

motion3d::MotionData::setTransformType()

setTransforms(self: motion3d.MotionData, transforms: motion3d.TransformContainer) None

motion3d::MotionData::setTransforms()

class motion3d.M3DReader

motion3d::M3DReader

__init__(*args, **kwargs)
static read(*args, **kwargs)

Overloaded function.

  1. read(file_name: str, unsafe: bool = False, offset: int = 0) -> Tuple[Optional[motion3d.MotionData], motion3d.M3DIOStatus]

motion3d::M3DReader::read()

  1. read(file_name: str, motion: motion3d.MotionData, unsafe: bool = False, offset: int = 0) -> motion3d.M3DIOStatus

motion3d::M3DReader::read()

class motion3d.M3DWriter

motion3d::M3DWriter

__init__(*args, **kwargs)
static write(file_name: str, motion: motion3d.MotionData, file_type: motion3d.M3DFileType, precision: int = 16) motion3d.M3DIOStatus

motion3d::M3DWriter::write()

static writeASCII(file_name: str, motion: motion3d.MotionData, precision: int = 16) motion3d.M3DIOStatus

motion3d::M3DWriter::writeASCII()

static writeBinary(file_name: str, motion: motion3d.MotionData) motion3d.M3DIOStatus

motion3d::M3DWriter::writeBinary()