{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pineal",
  "title": "Pineal",
  "description": "The pineal gland and its neighbours deep in the brain: the epithalamus, thalami, midbrain tectum and deep veins. 15 selectable structures and 3 named views. Model licensed CC BY-SA 2.1 JP.",
  "registryDependencies": [
    "@organui/organ-viewer"
  ],
  "files": [
    {
      "path": "registry/base-nova/pineal/pineal.tsx",
      "content": "import {\n  OrganViewer,\n  type OrganModel,\n  type OrganViewerProps,\n} from \"@/components/organ-viewer\"\n\n// Built in this repository by scripts/models/build.ts from BodyParts3D 4.3.\n// The GLB is served from organui.com; see attribution.source.\nconst framed = [\n  \"pineal-gland\",\n  \"habenula\",\n  \"posterior-commissure\",\n  \"left-thalamus\",\n  \"right-thalamus\",\n  \"superior-colliculi\",\n  \"inferior-colliculi\",\n]\n\nexport const pinealModel: OrganModel = {\n  name: \"Pineal gland\",\n  src: \"https://organui.com/models/pineal.glb\",\n  bytes: 1107736,\n  defaultView: \"Posterior\",\n  views: [\n    {\n      name: \"Posterior\",\n      direction: [0, 0.4, -1],\n      structureIds: framed,\n    },\n    {\n      name: \"Left lateral\",\n      direction: [1, 0, 0],\n      structureIds: framed,\n    },\n    {\n      name: \"Superior\",\n      direction: [0, 1, 0],\n      structureIds: framed,\n    },\n  ],\n  hiddenIds: [\"corpus-callosum\"],\n  structures: [\n    {\n      id: \"pineal-gland\",\n      label: \"Pineal gland\",\n      group: \"Pineal gland\",\n      color: \"#d68a6e\",\n      description:\n        \"A pine-cone-shaped gland the size of a grain of rice, deep in the middle of the brain. It releases melatonin at night, timed by signals from the eyes about light and dark.\",\n    },\n    {\n      id: \"habenula\",\n      label: \"Habenula\",\n      group: \"Epithalamus\",\n      color: \"#c9a27a\",\n      description:\n        \"A small pair of nuclei at the base of the pineal stalk. It links the forebrain to the midbrain and takes part in reward and aversion.\",\n    },\n    {\n      id: \"left-stria-medullaris\",\n      label: \"Left stria medullaris\",\n      group: \"Epithalamus\",\n      color: \"#b88e68\",\n      description:\n        \"A band of fibres along the top of the left thalamus that carries signals forward to the habenula.\",\n    },\n    {\n      id: \"right-stria-medullaris\",\n      label: \"Right stria medullaris\",\n      group: \"Epithalamus\",\n      color: \"#a87d5d\",\n      description:\n        \"The matching band of fibres along the top of the right thalamus.\",\n    },\n    {\n      id: \"posterior-commissure\",\n      label: \"Posterior commissure\",\n      group: \"Epithalamus\",\n      color: \"#e2b25c\",\n      description:\n        \"A bundle of fibres crossing the midline just below the pineal stalk. It joins the two sides of the pupil reflex, so light in one eye narrows both pupils.\",\n    },\n    {\n      id: \"left-thalamus\",\n      label: \"Left thalamus\",\n      group: \"Thalamus\",\n      color: \"#9b8d83\",\n      description:\n        \"The relay station for sensation and movement on the left side. The pineal gland lies behind the two thalami, above the midbrain.\",\n    },\n    {\n      id: \"right-thalamus\",\n      label: \"Right thalamus\",\n      group: \"Thalamus\",\n      color: \"#aa9c91\",\n      description:\n        \"The matching relay station on the right side, joined to the left one across the third ventricle.\",\n    },\n    {\n      id: \"superior-colliculi\",\n      label: \"Superior colliculi\",\n      group: \"Midbrain tectum\",\n      color: \"#c7a577\",\n      description:\n        \"The upper pair of bumps on the back of the midbrain, directly under the pineal gland. They steer the eyes and head toward what you see.\",\n    },\n    {\n      id: \"inferior-colliculi\",\n      label: \"Inferior colliculi\",\n      group: \"Midbrain tectum\",\n      color: \"#d6b486\",\n      description:\n        \"The lower pair of bumps, relay stations on the hearing pathway. A pineal tumour can press on the tectum and limit upward gaze.\",\n    },\n    {\n      id: \"third-ventricle\",\n      label: \"Third ventricle\",\n      group: \"Ventricles\",\n      color: \"#6f9ca3\",\n      description:\n        \"The narrow fluid space between the thalami. The pineal stalk forms part of its back wall.\",\n    },\n    {\n      id: \"cerebral-aqueduct\",\n      label: \"Cerebral aqueduct\",\n      group: \"Ventricles\",\n      color: \"#628e98\",\n      description:\n        \"The channel through the midbrain that drains the third ventricle. A pineal mass can squeeze it and back fluid up into the brain.\",\n    },\n    {\n      id: \"right-internal-cerebral-vein\",\n      label: \"Right internal cerebral vein\",\n      group: \"Veins\",\n      color: \"#6d8db0\",\n      description:\n        \"Runs back over the roof of the third ventricle and joins its partner above the pineal gland. The model includes the right one only.\",\n    },\n    {\n      id: \"great-cerebral-vein\",\n      label: \"Great cerebral vein\",\n      group: \"Veins\",\n      color: \"#7f9fbf\",\n      description:\n        \"The short vein of Galen, formed just behind and above the pineal gland, that drains the deep brain into the straight sinus.\",\n    },\n    {\n      id: \"straight-sinus\",\n      label: \"Straight sinus\",\n      group: \"Veins\",\n      color: \"#5f7fa6\",\n      description:\n        \"A venous channel in the dura that carries blood from the great cerebral vein back toward the base of the skull.\",\n    },\n    {\n      id: \"corpus-callosum\",\n      label: \"Corpus callosum\",\n      group: \"Cerebrum\",\n      color: \"#e4dccb\",\n      description:\n        \"The thick band of fibres joining the two hemispheres. Its back end, the splenium, arches over the pineal gland.\",\n    },\n  ],\n  attribution: {\n    credit:\n      \"BodyParts3D / Anatomography, © The Database Center for Life Science. CC BY-SA 2.1 Japan. Adapted by OrganUI.\",\n    license: \"CC BY-SA 2.1 JP\",\n    licenseUrl: \"https://creativecommons.org/licenses/by-sa/2.1/jp/deed.en\",\n    source:\n      \"https://github.com/organui/organui/blob/master/apps/web/public/models/pineal.ATTRIBUTION.md\",\n  },\n}\n\nexport type PinealProps = Omit<OrganViewerProps, \"model\">\n\nexport function Pineal(props: PinealProps) {\n  return <OrganViewer model={pinealModel} {...props} />\n}\n",
      "type": "registry:component"
    }
  ],
  "docs": "Pineal docs: https://organui.com/docs/components/pineal. The model is licensed CC BY-SA 2.1 JP (https://creativecommons.org/licenses/by-sa/2.1/jp/deed.en); keep the viewer's credit visible.",
  "categories": [
    "organ",
    "endocrine"
  ],
  "type": "registry:component"
}