view CodeAnalysis/CustomMethods.json @ 227:9574f06d8588 default tip

todo
author Alain Mazy <am@orthanc.team>
date Tue, 24 Sep 2024 08:54:11 +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 *"
    }
  ]
}