# DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/python/mod.rs
# Based on "crates/store/re_sdk_types/definitions/rerun/components/vector3d.fbs".

# You can extend this class by creating a "Vector3DExt" class in "vector3d_ext.py".

from __future__ import annotations

from .. import datatypes
from .._baseclasses import (
    ComponentBatchMixin,
    ComponentMixin,
)

__all__ = ["Vector3D", "Vector3DBatch"]


class Vector3D(datatypes.Vec3D, ComponentMixin):
    """**Component**: A vector in 3D space."""

    _BATCH_TYPE = None
    # You can define your own __init__ function as a member of Vector3DExt in vector3d_ext.py

    # Note: there are no fields here because Vector3D delegates to datatypes.Vec3D


class Vector3DBatch(datatypes.Vec3DBatch, ComponentBatchMixin):
    _COMPONENT_TYPE: str = "rerun.components.Vector3D"


# This is patched in late to avoid circular dependencies.
Vector3D._BATCH_TYPE = Vector3DBatch  # type: ignore[assignment]
