医站点医维基

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 854|回复: 7

[DCMTK] DCMTK简介一 - Config程序库

[复制链接]

336

主题

410

回帖

2806

积分

管理员

积分
2806

热心会员推广达人优秀版主荣誉管理论坛元老

发表于 2015-12-4 20:57:22 | 显示全部楼层 |阅读模式
本帖最后由 medimage 于 2015-12-4 21:35 编辑

一、Config程序库
-config目录下的文档:
--config.txt:
指出你编辑的任何.h .c .cc文件首先必须包含该目录下的头文件#include "osconfig.h"
--dirstruc.txt:
给出了dcmtk项目的项目目录结构,这个用cmake会自动生成
--envvars.txt:
这个文件比较重要,它指出了一些运行时环境变量,这些变量可能会影响dcmtk的工具和库的使用,这些变量包括:
---DCMDICTPATH:影响dcmdata
    On Win32 platforms, a built-in dictionary is used by default. If
    the DCMDICTPATH environment variable is set, the applications will
    attempt to load _additional_ DICOM data dictionaries specified in
    the DCMDICTPATH environment variable instead. The DCMDICTPATH
    environment variable has the same format as the shell PATH variable
    in that a semicolon (";") separates entries. The data dictionary
    code will attempt to load each file specified in the DCMDICTPATH
    environment variable.
    See also: documentation in dcmdata/docs/datadict.txt
---TCP_BUFFER_LENGTH:影响dcmnet
    By default, DCMTK uses a TCP send and receive buffer
    length of 32K. If the environment variable TCP_BUFFER_LENGTH is set,
    it specified an override for the TCP buffer length. The value is
    specified in bytes, not in Kbytes.
---TCP_NODELAY:影响dcmnet
    If this environment variable contains a non-zero number,
    the Nagle algorithm will not be disabled for TCP transport
    connections. Also see documentation for macro
    DONT_DISABLE_NAGLE_ALGORITHM in config/docs/macros.txt
---TMPDIR:影响dcmnet
    Affects the implementation of the tempnam() emulation on
    platforms where tempnam() is not defined. See tempnam(3S) main page
    for a description.
--macros.txt:
这个文件也特别重要,它给出了很多编译时的宏,这些宏可能会影响dcmtk的工具和库的使用。大部分的宏可以用来激活一些实验性的或很少需要的特性,另外有一些是用来取消某些功能。要尽量谨慎使用。详细见文档。
--modules.txt:
这个文件讲述如何自己配置各个模块,不需要掌握。
-config的include目录下的文件
--osconfig.h:这个文件是必须包含在所有.h .c文件中的
其中指出在win32环境下包含"dcmtk/config/cfwin32.h"文件
--cfwin32.h:包含了大量的宏定义。***如果需要查找某个宏的定义,可到这个文件中查找***
回复

使用道具 举报

15

主题

428

回帖

1137

积分

版主

积分
1137

热心会员推广达人优秀版主荣誉管理论坛元老

发表于 2016-4-24 09:38:49 | 显示全部楼层
谢谢LZ
回复

使用道具 举报

21

主题

420

回帖

1127

积分

版主

积分
1127

热心会员推广达人优秀版主荣誉管理论坛元老

发表于 2016-5-13 01:01:04 | 显示全部楼层
先看看先。。。
回复

使用道具 举报

60

主题

416

回帖

1235

积分

版主

积分
1235

热心会员推广达人优秀版主荣誉管理论坛元老

发表于 2016-5-16 01:23:02 | 显示全部楼层
goooood 顶起
回复

使用道具 举报

135

主题

407

回帖

1461

积分

版主

积分
1461

热心会员推广达人优秀版主荣誉管理论坛元老

发表于 2016-5-17 03:46:39 | 显示全部楼层
学习学习一下
回复

使用道具 举报

119

主题

457

回帖

1524

积分

版主

积分
1524

热心会员推广达人优秀版主荣誉管理论坛元老

发表于 2016-5-20 09:07:49 | 显示全部楼层
厉害
回复

使用道具 举报

62

主题

417

回帖

1353

积分

版主

积分
1353

热心会员推广达人优秀版主荣誉管理论坛元老

发表于 2016-5-21 03:09:06 | 显示全部楼层
先看看在说
回复

使用道具 举报

110

主题

429

回帖

1428

积分

金牌会员

积分
1428

热心会员推广达人优秀版主荣誉管理论坛元老

发表于 2016-5-21 07:44:03 | 显示全部楼层
留个脚印
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|关于我们|医维基|网站地图|Archiver|手机版|医疗之家 ( 沪ICP备2023001278号-1 )  

GMT+8, 2024-5-2 20:09 , Processed in 0.132578 second(s), 28 queries .

Designed by Medical BBS

快速回复 返回顶部 返回列表