Skip to main content

Module biological_ontology

Module biological_ontology 

Source
Expand description

Taxonomic Semantic Spine, 3D Dissection Callout Pins & Specimen Loupe Dissection State (biological_ontology.rs).

Integrates standard biological ontologies:

  • Plant Ontology (PO:): Plant anatomical structures, tissues, and developmental stages.
  • Uberon (UBERON:): Comparative vertebrate anatomical structures and organs.
  • Gene Ontology (GO:): Cellular components and molecular functions.
  • Australian Plant Census (APC): Authoritative Australian taxonomic nomenclature.

Features:

  • Canonical catalog of >= 24 rigorous educational pins spanning all 5 scales.
  • Zero-heap ray-sphere picking (query_closest_anatomical_pin_zero_heap) for 3D Specimen Loupe interaction.
  • Interactive 3D Specimen Loupe dissection state (LoupeDissectionState).
  • Streaming .q42 semantic graph encoding (emit_anatomical_ontology_nquins_to_writer).

Structs§

AnatomicalCalloutPin
3D Educational Callout Pin anchored to a specific anatomical or histological structure.
LoupeDissectionState
Dynamic anatomical dissection, tissue peel, and phenological state in the 3D Specimen Loupe.

Enums§

AnatomicalOntologyStandard
Standardized biological and anatomical ontology namespaces.

Constants§

CANONICAL_ANATOMICAL_PINS
Canonical catalog of 32 educational callout pins spanning all 5 scales of biological organization.

Functions§

build_anatomical_ontology_lexicon
Builds an in-memory string lexicon for all canonical anatomical pins ready for Q42 volume authoring.
build_anatomical_ontology_nquins
Builds the globally object-sorted 48-byte NQuin list for all canonical anatomical callout pins and their biological ontology bindings (PO:, UBERON:, GO:, APC:).
emit_anatomical_ontology_nquins_to_writer
Encodes all canonical anatomical callout pins and their biological ontology bindings into a streaming Q42 volume writer, ensuring all Quin blocks are globally object-sorted.
find_pin_by_id
Finds a canonical pin by its static string identifier.
find_pins_by_scale
Returns an iterator over all canonical pins belonging to a given biological scale (1..=5).
query_closest_anatomical_pin_zero_heap
Queries the closest anatomical pin to a picking ray in zero heap allocations.