medimage 发表于 2015-12-4 20:57:22

DCMTK简介一 - Config程序库

本帖最后由 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:包含了大量的宏定义。***如果需要查找某个宏的定义,可到这个文件中查找***

江西丁工 发表于 2016-4-24 09:38:49

谢谢LZ

ultrasound 发表于 2016-5-13 01:01:04

先看看先。。。

devstd 发表于 2016-5-16 01:23:02

goooood 顶起

江西魏工 发表于 2016-5-17 03:46:39

学习学习一下

medstd 发表于 2016-5-20 09:07:49

厉害

medtech 发表于 2016-5-21 03:09:06

先看看在说

biomed 发表于 2016-5-21 07:44:03

留个脚印
页: [1]
查看完整版本: DCMTK简介一 - Config程序库