30 lines
862 B
Python
30 lines
862 B
Python
"""Definition of Annotation DTO."""
|
|
|
|
from .type_checking_base_model import TypeCheckingBaseModel
|
|
from .angle_enum import AngleEnum
|
|
from .colour_enum import ColourEnum
|
|
from .contact_enum import ContactEnum
|
|
from .depth_enum import DepthEnum
|
|
from .distance_enum import DistanceEnum
|
|
from .lighting_enum import LightingEnum
|
|
from .point_of_view_enum import PointOfViewEnum
|
|
|
|
|
|
class Annotation(TypeCheckingBaseModel):
|
|
"""Data Transfer Object representing an Annotation."""
|
|
|
|
angle: AngleEnum
|
|
angle_uncertainty: bool
|
|
colour: ColourEnum
|
|
colour_uncertainty: bool
|
|
contact: ContactEnum
|
|
contact_uncertainty: bool
|
|
depth: DepthEnum
|
|
depth_uncertainty: bool
|
|
distance: DistanceEnum
|
|
distance_uncertainty: bool
|
|
lighting: LightingEnum
|
|
lighting_uncertainty: bool
|
|
point_of_view: PointOfViewEnum
|
|
point_of_view_uncertainty: bool
|