view CodeAnalysis/CustomMethods.json @ 207:968dbd6982bb

renamed variables to highlight that they are Python dictionaries
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jul 2024 12:38:31 +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 *"
    }
  ]
}