comparison Sources/Autogenerated/orthanc.pyi @ 194:0c5da632f34d java-code-model

added description of classes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Jul 2024 18:47:12 +0200
parents 66cd20e970d8
children d7a6e75558ee
comparison
equal deleted inserted replaced
193:66cd20e970d8 194:0c5da632f34d
2101 """ 2101 """
2102 ... 2102 ...
2103 2103
2104 2104
2105 class DicomInstance: 2105 class DicomInstance:
2106 """
2107 DICOM instance managed by the Orthanc core
2108 """
2106 ... 2109 ...
2107 2110
2108 # This function returns the Application Entity Title (AET) of the DICOM modality from which a DICOM instance originates 2111 # This function returns the Application Entity Title (AET) of the DICOM modality from which a DICOM instance originates
2109 def GetInstanceRemoteAet(self) -> str: 2112 def GetInstanceRemoteAet(self) -> str:
2110 """ 2113 """
2257 Returns: 2260 Returns:
2258 bytes: The DICOM data. 2261 bytes: The DICOM data.
2259 """ 2262 """
2260 ... 2263 ...
2261 class DicomWebNode: 2264 class DicomWebNode:
2265 """
2266 Node visited by DICOMweb conversion
2267 """
2262 ... 2268 ...
2263 2269
2264 2270
2265 class FindAnswers: 2271 class FindAnswers:
2272 """
2273 Answers to a DICOM C-FIND query
2274 """
2266 ... 2275 ...
2267 2276
2268 # This function adds one answer (encoded as a DICOM file) to the set of answers corresponding to some C-Find SCP request that is not related to modality worklists 2277 # This function adds one answer (encoded as a DICOM file) to the set of answers corresponding to some C-Find SCP request that is not related to modality worklists
2269 def FindAddAnswer(self, dicom: bytes) -> None: 2278 def FindAddAnswer(self, dicom: bytes) -> None:
2270 """ 2279 """
2280 This function marks as incomplete the set of answers corresponding to some C-Find SCP request that is not related to modality worklists. This must be used if canceling the handling of a request when too many answers are to be returned. 2289 This function marks as incomplete the set of answers corresponding to some C-Find SCP request that is not related to modality worklists. This must be used if canceling the handling of a request when too many answers are to be returned.
2281 """ 2290 """
2282 ... 2291 ...
2283 2292
2284 class FindMatcher: 2293 class FindMatcher:
2294 """
2295 Matcher for DICOM C-FIND query
2296 """
2285 ... 2297 ...
2286 2298
2287 # This function checks whether one DICOM instance matches C-Find matcher that was previously allocated using OrthancPluginCreateFindMatcher() 2299 # This function checks whether one DICOM instance matches C-Find matcher that was previously allocated using OrthancPluginCreateFindMatcher()
2288 def FindMatcherIsMatch(self, dicom: bytes) -> int: 2300 def FindMatcherIsMatch(self, dicom: bytes) -> int:
2289 """ 2301 """
2296 int: 1 if the DICOM instance matches the query, 0 otherwise. 2308 int: 1 if the DICOM instance matches the query, 0 otherwise.
2297 """ 2309 """
2298 ... 2310 ...
2299 2311
2300 class FindQuery: 2312 class FindQuery:
2313 """
2314 DICOM C-FIND query
2315 """
2301 ... 2316 ...
2302 2317
2303 # This function returns the number of tags that are contained in the given C-Find query 2318 # This function returns the number of tags that are contained in the given C-Find query
2304 def GetFindQuerySize(self) -> int: 2319 def GetFindQuerySize(self) -> int:
2305 """ 2320 """
2357 Returns: 2372 Returns:
2358 int: The value of the group. 2373 int: The value of the group.
2359 """ 2374 """
2360 ... 2375 ...
2361 class Image: 2376 class Image:
2377 """
2378 2D image managed by the Orthanc core
2379 """
2362 ... 2380 ...
2363 2381
2364 # This function returns the type of memory layout for the pixels of the given image 2382 # This function returns the type of memory layout for the pixels of the given image
2365 def GetImagePixelFormat(self) -> PixelFormat: 2383 def GetImagePixelFormat(self) -> PixelFormat:
2366 """ 2384 """
2433 Returns: 2451 Returns:
2434 bytes: The pixel data. 2452 bytes: The pixel data.
2435 """ 2453 """
2436 ... 2454 ...
2437 class Job: 2455 class Job:
2456 """
2457 Orthanc job
2458 """
2438 ... 2459 ...
2439 2460
2440 # This function adds the given job to the pending jobs of Orthanc 2461 # This function adds the given job to the pending jobs of Orthanc
2441 def SubmitJob(self, priority: int) -> str: 2462 def SubmitJob(self, priority: int) -> str:
2442 """ 2463 """
2449 str: ID of the newly-submitted job. This string must be freed by OrthancPluginFreeString(). 2470 str: ID of the newly-submitted job. This string must be freed by OrthancPluginFreeString().
2450 """ 2471 """
2451 ... 2472 ...
2452 2473
2453 class Peers: 2474 class Peers:
2475 """
2476 Orthanc peer
2477 """
2454 ... 2478 ...
2455 2479
2456 # This function returns the number of Orthanc peers 2480 # This function returns the number of Orthanc peers
2457 def GetPeersCount(self) -> int: 2481 def GetPeersCount(self) -> int:
2458 """ 2482 """
2503 str: The value of the user property, or NULL if it is not defined. 2527 str: The value of the user property, or NULL if it is not defined.
2504 """ 2528 """
2505 ... 2529 ...
2506 2530
2507 class RestOutput: 2531 class RestOutput:
2532 """
2533 Output for a call to the REST API of Orthanc
2534 """
2508 ... 2535 ...
2509 2536
2510 # This function answers to a REST request with the content of a memory buffer 2537 # This function answers to a REST request with the content of a memory buffer
2511 def AnswerBuffer(self, answer: bytes, mime_type: str) -> None: 2538 def AnswerBuffer(self, answer: bytes, mime_type: str) -> None:
2512 """ 2539 """
2640 log (int): Whether to also write the detailed error to the Orthanc logs. 2667 log (int): Whether to also write the detailed error to the Orthanc logs.
2641 """ 2668 """
2642 ... 2669 ...
2643 2670
2644 class ServerChunkedRequestReader: 2671 class ServerChunkedRequestReader:
2672 """
2673 Read for a chunked HTTP request
2674 """
2645 ... 2675 ...
2646 2676
2647 2677
2648 class StorageArea: 2678 class StorageArea:
2679 """
2680 Storage area plugin
2681 """
2649 ... 2682 ...
2650 2683
2651 # This function creates a new file inside the storage area that is currently used by Orthanc 2684 # This function creates a new file inside the storage area that is currently used by Orthanc
2652 def StorageAreaCreate(self, uuid: str, content: bytes, size: int, type: ContentType) -> None: 2685 def StorageAreaCreate(self, uuid: str, content: bytes, size: int, type: ContentType) -> None:
2653 """ 2686 """
2692 level (ResourceType): The type of the resources of interest. 2725 level (ResourceType): The type of the resources of interest.
2693 """ 2726 """
2694 ... 2727 ...
2695 2728
2696 class WorklistAnswers: 2729 class WorklistAnswers:
2730 """
2731 Answers to a DICOM C-FIND worklist query
2732 """
2697 ... 2733 ...
2698 2734
2699 # This function adds one worklist (encoded as a DICOM file) to the set of answers corresponding to some C-Find SCP request against modality worklists 2735 # This function adds one worklist (encoded as a DICOM file) to the set of answers corresponding to some C-Find SCP request against modality worklists
2700 def WorklistAddAnswer(self, query: WorklistQuery, dicom: bytes) -> None: 2736 def WorklistAddAnswer(self, query: WorklistQuery, dicom: bytes) -> None:
2701 """ 2737 """
2712 This function marks as incomplete the set of answers corresponding to some C-Find SCP request against modality worklists. This must be used if canceling the handling of a request when too many answers are to be returned. 2748 This function marks as incomplete the set of answers corresponding to some C-Find SCP request against modality worklists. This must be used if canceling the handling of a request when too many answers are to be returned.
2713 """ 2749 """
2714 ... 2750 ...
2715 2751
2716 class WorklistQuery: 2752 class WorklistQuery:
2753 """
2754 DICOM C-FIND worklist query
2755 """
2717 ... 2756 ...
2718 2757
2719 # This function checks whether one worklist (encoded as a DICOM file) matches the C-Find SCP query against modality worklists 2758 # This function checks whether one worklist (encoded as a DICOM file) matches the C-Find SCP query against modality worklists
2720 def WorklistIsMatch(self, dicom: bytes) -> int: 2759 def WorklistIsMatch(self, dicom: bytes) -> int:
2721 """ 2760 """