Source code for skbot.ignition.sdformat.generic_sdf.shapes

import warnings

from .base import ElementBase, should_warn_unsupported


class Polyline(ElementBase):
    def __init__(self, *, sdf_version: str) -> None:
        if should_warn_unsupported():
            warnings.warn("`Polyline` has not been implemented yet.")
        super().__init__(sdf_version=sdf_version)


[docs]class Plane(ElementBase):
[docs] def __init__(self, *, sdf_version: str) -> None: if should_warn_unsupported(): warnings.warn("`Plane` has not been implemented yet.") super().__init__(sdf_version=sdf_version)
[docs]class Mesh(ElementBase):
[docs] def __init__(self, *, sdf_version: str) -> None: if should_warn_unsupported(): warnings.warn("`Mesh` has not been implemented yet.") super().__init__(sdf_version=sdf_version)
[docs]class Image(ElementBase):
[docs] def __init__(self, *, sdf_version: str) -> None: if should_warn_unsupported(): warnings.warn("`Image` has not been implemented yet.") super().__init__(sdf_version=sdf_version)
[docs]class Heightmap(ElementBase):
[docs] def __init__(self, *, sdf_version: str) -> None: if should_warn_unsupported(): warnings.warn("`Heightmap` has not been implemented yet.") super().__init__(sdf_version=sdf_version)
[docs]class Ellipsoid(ElementBase):
[docs] def __init__(self, *, sdf_version: str) -> None: if should_warn_unsupported(): warnings.warn("`Ellipsoid` has not been implemented yet.") super().__init__(sdf_version=sdf_version)
[docs]class Cylinder(ElementBase):
[docs] def __init__(self, *, sdf_version: str) -> None: if should_warn_unsupported(): warnings.warn("`Cylinder` has not been implemented yet.") super().__init__(sdf_version=sdf_version)
[docs]class Capsule(ElementBase):
[docs] def __init__(self, *, sdf_version: str) -> None: if should_warn_unsupported(): warnings.warn("`Capsule` has not been implemented yet.") super().__init__(sdf_version=sdf_version)
[docs]class Box(ElementBase):
[docs] def __init__(self, *, sdf_version: str) -> None: if should_warn_unsupported(): warnings.warn("`Box` has not been implemented yet.") super().__init__(sdf_version=sdf_version)
class Sphere(ElementBase): def __init__(self, *, sdf_version: str) -> None: if should_warn_unsupported(): warnings.warn("`Sphere` has not been implemented yet.") super().__init__(sdf_version=sdf_version)