view CodeAnalysis/CustomMethods.json @ 222:850b56948b9c default tip

back to mainline
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Jul 2024 09:40:21 +0200
parents 66cd20e970d8
children
line wrap: on
line source

{
  "OrthancPluginFindQuery" : [
    {
      "short_name" : "GetFindQueryTagGroup",
      "implementation" : "GetFindQueryTagGroup",
      "documentation" : {
        "description" : [ "This function returns the group of one DICOM tag in the given C-Find query." ],
        "args" : {
          "index" : "The index of the tag of interest."
        },
        "return" : "The value of the group."
      },
      "args" : [
        {
          "sdk_name" : "index",
          "sdk_type" : "uint32_t"
        }
      ],
      "return_sdk_type" : "uint16_t"
    },

    {
      "short_name" : "GetFindQueryTagElement",
      "implementation" : "GetFindQueryTagElement",
      "documentation" : {
        "description" : [ "This function returns the element of one DICOM tag in the given C-Find query." ],
        "args" : {
          "index" : "The index of the tag of interest."
        },
        "return" : "The value of the element."
      },
      "args" : [
        {
          "sdk_name" : "index",
          "sdk_type" : "uint32_t"
        }
      ],
      "return_sdk_type" : "uint16_t"
    }
  ],

  "OrthancPluginDicomInstance" : [
    {
      "short_name" : "GetInstanceData",
      "implementation" : "GetInstanceData",
      "documentation" : {
        "description" : [ "Get the content of the DICOM instance." ],
        "return" : "The DICOM data."
      },
      "args" : [
      ],
      "return_sdk_type" : "OrthancPluginMemoryBuffer *"
    }
  ],

  "OrthancPluginImage" : [
    {
      "short_name" : "GetImageBuffer",
      "implementation" : "GetImageBuffer",
      "documentation" : {
        "description" : [ "This function returns a pointer to the memory buffer that contains the pixels of the image." ],
        "return" : "The pixel data."
      },
      "args" : [
      ],
      "return_sdk_type" : "OrthancPluginMemoryBuffer *"
    }
  ]
}