⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dvpscf.h

📁 转化为DIB位图再显示出来的dicom文件C++代码
💻 H
📖 第 1 页 / 共 4 页
字号:
  unsigned short getMessagePort();  /** Indicates whether client processes are allowed to keep their notification   *  message port open during the lifetime of the process.   *  Value is taken from the section GENERAL/APPLICATION/KEEPMESSAGEPORTOPEN   *  in the config file.   *  @return message port open flag, default: false   */  OFBool getMessagePortKeepOpen();  /** returns the AETitle with which this application should identify itself.   *  The AETitle is taken from the section GENERAL/NETWORK in the   *  config file. If absent, a default value is returned.   *  @return AETitle for this application. Never returns NULL.   */  const char *getNetworkAETitle();  /** returns the AUTOCREATECONFIGFILE entry for the query/retrieve server   *  from the section GENERAL/QUERY_RETRIEVE in the config file.   *  @return entry if present in the config file, OFFalse otherwise.   */  OFBool getQueryRetrieveAutoCreateConfigFile();  /** returns the AETitle with which the Q/R server should identify itself.   *  The AETitle is taken from the section GENERAL/QUERY_RETRIEVE in the   *  config file. If absent, a default value is returned.   *  @return AETitle for the Q/R server. Never returns NULL.   */  const char *getQueryRetrieveAETitle();  /** returns the PORT entry for the Q/R server   *  from the section GENERAL/QUERY_RETRIEVE in the config file.   *  @return entry if present and parsable in the config file, 0 otherwise.   */  unsigned short getQueryRetrievePort();  /** returns the MAXPDU entry for the Q/R server   *  from the section GENERAL/QUERY_RETRIEVE in the config file.   *  @return entry if present and parsable in the config file, 0 otherwise.   */  unsigned long getQueryRetrieveMaxPDU();  /** returns the TIMEOUT entry for the the Q/R server   *  from the section GENERAL/QUERY_RETRIEVE in the config file.   *  @return entry if present and parsable in the config file, -1 otherwise.   */  Sint32 getQueryRetrieveTimeout();  /** returns the MaxAssociations entry for the Q/R server   *  from the section GENERAL/QUERY_RETRIEVE in the config file.   *  @return entry if present and parsable in the config file, 0 otherwise.   */  unsigned long getQueryRetrieveMaxAssociations();  /** returns the database folder to be used for sending/receiving/browsing.   *  Value is taken from the section GENERAL/DATABASE/DIRECTORY   *  in the config file. If absent, a default value is returned.   *  @return database folder path. Never returns NULL.   */  const char *getDatabaseFolder();  /** returns the spool folder to be used for print jobs.   *  Value is taken from the section GENERAL/PRINT/DIRECTORY   *  in the config file. If absent, a default value is returned.   *  @return spool folder path. Never returns NULL.   */  const char *getSpoolFolder();  /** returns the DETAILEDLOG entry   *  from the section GENERAL/PRINT in the config file.   *  @return entry if present in the config file, OFFalse otherwise.   */  OFBool getDetailedLog();  /** returns the BINARYLOG entry   *  from the section GENERAL/PRINT in the config file.   *  @return entry if present in the config file, OFFalse otherwise.   */  OFBool getBinaryLog();  /** returns the filename (path) of the DICOM Store SCU application used   *  for sending images, as configured in section   *  GENERAL/NETWORK/SENDER in the config file.   *  @return send application path name or NULL if absent.   */  const char *getSenderName();  /** returns the filename (path) of the DICOM Store SCP application used   *  for receiving images, as configured in section   *  GENERAL/NETWORK/RECEIVER in the config file.   *  @return receive application path name or NULL if absent.   */  const char *getReceiverName();  /** returns the filename (path) of the DICOM Query/Retrieve SCP application,   *  as configured in section GENERAL/QUERY_RETRIEVE/SERVER in the config file.   *  @return send application path name or NULL if absent.   */  const char *getQueryRetrieveServerName();  /** returns the filename (path) of the DICOM Print SCU application used   *  for printing images, as configured in section   *  GENERAL/PRINT/SPOOLER in the config file.   *  @return receive application path name or NULL if absent.   */  const char *getSpoolerName();  /** returns the filename (path) of the DICOM Print SCU application used   *  for printing images, as configured in section   *  GENERAL/PRINT/Server in the config file.   *  @return receive application path name or NULL if absent.   */  const char *getPrintServerName();  /** returns the filename (path) of the application used   *  for dumping DICOM objects, as configured in section   *  GENERAL/DATABASE/DUMP in the config file.   *  @return dump application path name or NULL if absent.   */  const char *getDumpToolName();  /** returns the filename (path) of the application used   *  for dumping DICOM objects, as configured in section   *  GENERAL/DATABASE/CHECK in the config file.   *  @return check application path name or NULL if absent.   */  const char *getCheckToolName();  /** returns the sleep delay for the print spooler in seconds,   *  as configured in section GENERAL/PRINT/SLEEP in the config file.   *  @return sleep delay, 0 if absent.   */  unsigned long getSpoolerSleep();  /** returns the DELETEPRINTJOBS entry for the print spooler   *  from the section GENERAL/PRINT in the config file.   *  @return entry if present in the config file, OFFalse otherwise.   */  OFBool getSpoolerDeletePrintJobs();  /** returns the ALWAYSDELETETERMINATEJOBS entry for the print spooler   *  from the section GENERAL/PRINT in the config file.   *  @return entry if present in the config file, OFFalse otherwise.   */  OFBool getSpoolerAlwaysDeleteTerminateJobs();  /** returns the filename (path) of the monitor characteristics file   *  used to implement that Barten transform, as configured in section   *  GENERAL/MONITOR/CHARACTERISTICS in the config file.   *  @return monitor characteristics path name or NULL if absent.   */  const char *getMonitorCharacteristicsFile();  /** returns the width (in mm) of one pixel on the current monitor   *  @return pixel width, 0 if unknown   */  double getMonitorPixelWidth();  /** returns the height (in mm) of one pixel on the current monitor   *  @return pixel height, 0 if unknown   */  double getMonitorPixelHeight();  /** returns the maximum horizontal preview image resolution, from   *  GENERAL/MONITOR/PREVIEW in the config file. Default: 0.   *  @return maximum horizontal preview resolution   */  Uint32 getMaxPreviewResolutionX();  /** returns the maximum vertical preview image resolution, from   *  GENERAL/MONITOR/PREVIEW in the config file. Default: 0.   *  @return maximum vertical preview resolution   */  Uint32 getMaxPreviewResolutionY();  /** returns the value of configuration file entry key=value   *  in the section GENERAL/GUI of the config file.   *  Specified key must be upper case.   *  If the entry is absent, NULL is returned.   *  @param key the entry key   *  @return entry value or NULL.   */  const char *getGUIConfigEntry(const char *key);  /** returns the value of configuration file entry key=value   *  in the section GENERAL/GUI of the config file.   *  Specified key must be upper case.   *  If the entry is absent or cannot be parsed, the default dfl   *  is returned.   *  @param key the entry key   *  @param dfl the default to be used if the value is absent or incorrect   *  @return entry value or default.   */  OFBool getGUIConfigEntryBool(const char *key, OFBool dfl);  /** returns the folder to be used for Print Presentation LUTs.   *  Value is taken from the section GENERAL/LUT/DIRECTORY   *  in the config file. If absent, a default value is returned.   *  @return LUT folder path. Never returns NULL.   */  const char *getLUTFolder();  /** returns the folder to be used for Structured Reporting "templates".   *  Value is taken from the section GENERAL/REPORT/DIRECTORY   *  in the config file. If absent, a default value is returned.   *  @return report folder path. Never returns NULL.   */  const char *getReportFolder();  /* Presentation Look Up Tables (LUTs) */  /** returns the number of Presentation LUTs in the configuration file.   *  @return number of LUTs   */  Uint32 getNumberOfLUTs();  /** returns the identifier of the Presentation LUT   *  with the given index. The identifier is unique within the configuration file   *  @param idx index, must be < getNumberOfLUTs()   *  @return identifier if found, NULL otherwise.   */  const char *getLUTID(Uint32 idx);  /** returns the DESCRIPTION entry for the LUT with the given   *  ID from the configuration file.   *  @param lutID LUT ID, must be one of the identifiers returned by getLUTID().   *  @return entry if present in the config file, NULL otherwise.   */  const char *getLUTDescription(const char *lutID);  /** returns the FILENAME entry for the LUT with the given   *  ID from the configuration file.   *  @param lutID LUT ID, must be one of the identifiers returned by getLUTID().   *  @return entry if present in the config file, NULL otherwise.   */  const char *getLUTFilename(const char *lutID);  /* Structured Reporting (SR) "templates" */  /** returns the number of SR "templates" in the configuration file.   *  @return number of SR "templates"   */  Uint32 getNumberOfReports();  /** returns the identifier of the SR "template"   *  with the given index. The identifier is unique within the configuration file   *  @param idx index, must be < getNumberOfReports()   *  @return identifier if found, NULL otherwise.   */  const char *getReportID(Uint32 idx);  /** returns the DESCRIPTION entry for the SR "template" with the given   *  ID from the configuration file.   *  @param reportID SR "template" ID, must be one of the identifiers returned by   *    getReportID().   *  @return entry if present in the config file, NULL otherwise.   */  const char *getReportDescription(const char *reportID);  /** returns the FILENAME entry for the SR "template" with the given   *  ID from the configuration file.   *  @param reportID SR "template" ID, must be one of the identifiers returned by   *    getReportID().   *  @return entry if present in the config file, NULL otherwise.   */  const char *getReportFilename(const char *reportID);  /* general print settings */  /** returns the minimum horizontal bitmap resolution for print, from   *  GENERAL/PRINT/MINPRINTRESOLUTION in the config file. Default: 0.   *  @return minimum horizontal bitmap resolution   */  Uint32 getMinPrintResolutionX();  /** returns the minimum vertical bitmap resolution for print, from   *  GENERAL/PRINT/MINPRINTRESOLUTION in the config file. Default: 0.   *  @return minimum vertical bitmap resolution   */  Uint32 getMinPrintResolutionY();  /** returns the maximum horizontal bitmap resolution for print, from   *  GENERAL/PRINT/MAXPRINTRESOLUTION in the config file. Default: 0.   *  @return maximum horizontal bitmap resolution   */  Uint32 getMaxPrintResolutionX();  /** returns the maximum vertical bitmap resolution for print, from   *  GENERAL/PRINT/MAXPRINTRESOLUTION in the config file. Default: 0.   *  @return maximum vertical bitmap resolution   */  Uint32 getMaxPrintResolutionY();  /** returns the default illumination for print, from   *  GENERAL/PRINT/DEFAULTILLUMINATION in the config file. Default: 2000.   *  @return default illumination for print   */  Uint16 getDefaultPrintIllumination();  /** returns the default reflection for print, from   *  GENERAL/PRINT/DEFAULTREFLECTION in the config file. Default: 10.   *  @return default reflection for print   */  Uint16 getDefaultPrintReflection();  /* VOI settings */  /** returns the number of VOI Presets defined for the given modality   *  @param modality Modality, e.g. "CT", "MR", "DX" etc.   *  @return number of VOI Presets   */  Uint32 getNumberOfVOIPresets(const char *modality);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -