Skip to content

Class: Shape

A shape

  • NOTE: this is an abstract class and should not be instantiated directly

URI: microscopemetrics_schema:Shape

classDiagram class Shape Shape <|-- Point Shape <|-- Line Shape <|-- Rectangle Shape <|-- Ellipse Shape <|-- Polygon Shape <|-- Mask Shape : c Shape : fill_color Shape --|> Color : fill_color Shape : label Shape : stroke_color Shape --|> Color : stroke_color Shape : stroke_width Shape : t Shape : z

Inheritance

Slots

Name Cardinality and Range Description Inheritance
label 0..1
String
The label of the shape direct
z 0..1
Float
The z coordinate of the shape direct
c 0..1
Integer
The c coordinate of the shape direct
t 0..1
Integer
The t coordinate of the shape direct
fill_color 0..1
Color
The fill color of the shape direct
stroke_color 0..1
Color
The stroke color of the shape direct
stroke_width 0..1
Integer
The stroke width of the shape direct

Usages

used by used in type used
Roi shapes range Shape

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema

Mappings

Mapping Type Mapped Value
self microscopemetrics_schema:Shape
native microscopemetrics_schema:Shape

LinkML Source

Direct

name: Shape
description: A shape
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema
abstract: true
attributes:
  label:
    name: label
    description: The label of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    range: string
    required: false
  z:
    name: z
    description: The z coordinate of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    range: float
    required: false
  c:
    name: c
    description: The c coordinate of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    range: integer
    required: false
  t:
    name: t
    description: The t coordinate of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    range: integer
    required: false
  fill_color:
    name: fill_color
    description: The fill color of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    rank: 1000
    range: Color
    required: false
  stroke_color:
    name: stroke_color
    description: The stroke color of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    rank: 1000
    range: Color
    required: false
  stroke_width:
    name: stroke_width
    description: The stroke width of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    rank: 1000
    ifabsent: int(1)
    range: integer
    required: false

Induced

name: Shape
description: A shape
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema
abstract: true
attributes:
  label:
    name: label
    description: The label of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    alias: label
    owner: Shape
    domain_of:
    - Roi
    - Shape
    range: string
    required: false
  z:
    name: z
    description: The z coordinate of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    alias: z
    owner: Shape
    domain_of:
    - Image5D
    - Shape
    range: float
    required: false
  c:
    name: c
    description: The c coordinate of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    alias: c
    owner: Shape
    domain_of:
    - Image5D
    - Shape
    range: integer
    required: false
  t:
    name: t
    description: The t coordinate of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    alias: t
    owner: Shape
    domain_of:
    - Image5D
    - Shape
    range: integer
    required: false
  fill_color:
    name: fill_color
    description: The fill color of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    rank: 1000
    alias: fill_color
    owner: Shape
    domain_of:
    - Shape
    range: Color
    required: false
  stroke_color:
    name: stroke_color
    description: The stroke color of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    rank: 1000
    alias: stroke_color
    owner: Shape
    domain_of:
    - Shape
    range: Color
    required: false
  stroke_width:
    name: stroke_width
    description: The stroke width of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    rank: 1000
    ifabsent: int(1)
    alias: stroke_width
    owner: Shape
    domain_of:
    - Shape
    range: integer
    required: false