Codebase list gdcm / 8999aee
New upstream version 3.0.7 Gert Wollny 3 years ago
153 changed file(s) with 1409 addition(s) and 944 deletion(s). Raw diff Collapse all Expand all
7272 list(APPEND libpoppler_flags -DLIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM)
7373 endif()
7474 CHECK_CXX_SOURCE_COMPILES(
75 "\#include <poppler/GlobalParams.h>\nint main() { globalParams.reset( new GlobalParams()); return 0;}"
76 LIBPOPPLER_GLOBALPARAMS_HAS_RESET)
77 set(libpoppler_flags)
78 if(LIBPOPPLER_GLOBALPARAMS_HAS_RESET)
79 list(APPEND libpoppler_flags -DLIBPOPPLER_GLOBALPARAMS_HAS_RESET)
80 endif()
81 CHECK_CXX_SOURCE_COMPILES(
7582 "\#include <poppler/PDFDoc.h>\nint main() { PDFDoc d((GooString*)NULL,(GooString*)NULL,(GooString*)NULL); d.getPDFVersion(); return 0;}"
7683 LIBPOPPLER_PDFDOC_HAS_PDFVERSION)
7784 if(LIBPOPPLER_PDFDOC_HAS_PDFVERSION)
100107 LIBPOPPLER_GOOSTRING_HAS_GETCSTRING)
101108 if(LIBPOPPLER_GOOSTRING_HAS_GETCSTRING)
102109 list(APPEND libpoppler_flags -DLIBPOPPLER_GOOSTRING_HAS_GETCSTRING)
110 endif()
111 CHECK_CXX_SOURCE_COMPILES(
112 "\#include <poppler/UnicodeMap.h>\nint main() { Unicode u; char buf[8]; const UnicodeMap *uMap; uMap->mapUnicode(u, buf, sizeof(buf)); return 0; }"
113 LIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE)
114 if(LIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE)
115 list(APPEND libpoppler_flags -DLIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE)
103116 endif()
104117 if(libpoppler_flags)
105118 string(REPLACE ";" " " libpoppler_flags_string "${libpoppler_flags}")
925925 }
926926
927927 // Handle here the general file (not required to be image)
928 if ( explicitts || implicit || deflated )
928 if ( !raw && (explicitts || implicit || deflated) )
929929 {
930930 if( explicitts && implicit ) return 1; // guard
931931 if( explicitts && deflated ) return 1; // guard
12601260 if( ts.IsExplicit() )
12611261 {
12621262 change.SetTransferSyntax( gdcm::TransferSyntax::ExplicitVRLittleEndian );
1263 if( implicit )
1264 change.SetTransferSyntax( gdcm::TransferSyntax::ImplicitVRLittleEndian );
12631265 }
12641266 else
12651267 {
12661268 assert( ts.IsImplicit() );
12671269 change.SetTransferSyntax( gdcm::TransferSyntax::ImplicitVRLittleEndian );
1270 if( explicitts )
1271 change.SetTransferSyntax( gdcm::TransferSyntax::ExplicitVRLittleEndian );
12681272 }
12691273 #endif
12701274 }
257257 return out;
258258 }
259259
260 #ifdef LIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE
261 static std::string getInfoString(Dict *infoDict, const char *key, const UnicodeMap *uMap)
262 #else
260263 static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap *uMap)
264 #endif
261265 {
262266 Object obj;
263267 #ifdef LIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR
508512 std::string creationdate;
509513 std::string moddate;
510514
515 #ifdef LIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE
516 const UnicodeMap *uMap;
517 #else
511518 UnicodeMap *uMap;
519 #endif
512520 #ifdef LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM
513521 globalParams = new GlobalParams(0);
514522 #else
523 #ifdef LIBPOPPLER_GLOBALPARAMS_HAS_RESET
524 globalParams.reset(new GlobalParams());
525 #else
515526 globalParams = new GlobalParams();
527 #endif
516528 #endif
517529 uMap = globalParams->getTextEncoding();
518530
105105 return out;
106106 }
107107
108 #ifdef LIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE
109 static std::string getInfoString(Dict *infoDict, const char *key, const UnicodeMap *uMap, bool & unicode)
110 #else
108111 static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap *uMap, bool & unicode)
112 #endif
109113 {
110114 Object obj;
111115 #ifdef LIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR
332336 GooString *fileName;
333337 PDFDoc *doc;
334338 Object info;
339 #ifdef LIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE
340 const UnicodeMap *uMap;
341 #else
335342 UnicodeMap *uMap;
343 #endif
336344 ownerPW = NULL;
337345 userPW = NULL;
338346 #ifdef LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM
339347 globalParams = new GlobalParams(0);
340348 #else
349 #ifdef LIBPOPPLER_GLOBALPARAMS_HAS_RESET
350 globalParams.reset(new GlobalParams());
351 #else
341352 globalParams = new GlobalParams();
353 #endif
342354 #endif
343355 uMap = globalParams->getTextEncoding();
344356
13911391 gdcm::UIDs uid;
13921392 uid.SetFromUID( ms.GetString() );
13931393
1394 if( uid != gdcm::UIDs::EnhancedMRImageStorage )
1394 if( uid != gdcm::UIDs::uid_1_2_840_10008_5_1_4_1_1_4_1 ) //NOTE: uid_1_2_840_10008_5_1_4_1_1_4_1 = 121, // Enhanced MR Image Storage
13951395 {
13961396 std::cerr << "MediaStorage is not handled " << ms << " [" << uid.GetName() << "]" << std::endl;
13971397 return 1;
1616 #----------------------------------------------------------------------------
1717
1818 project(GDCM
19 VERSION 3.0.5
19 VERSION 3.0.7
2020 LANGUAGES CXX C
2121 )
2222 ## NOTE: the "DESCRIPTION" feature of project() was introduced in cmake 3.10.0
7676 DataSet &subds3 = item3.GetNestedDataSet();
7777
7878 const PrivateTag tseq6(0x7fe1,0x26,"GEMS_Ultrasound_MovieGroup_001");
79 if( !subds3.FindDataElement( tseq6 ) ) return 1;
79 if( !subds3.FindDataElement( tseq6 ) ) return true;
8080 const DataElement& seq6 = subds3.GetDataElement( tseq6 );
8181 SmartPointer<SequenceOfItems> sqi6 = seq6.GetValueAsSQ();
8282 size_t ni6= sqi6->GetNumberOfItems();
9999 }
100100
101101 const PrivateTag tseq3(0x7fe1,0x36,"GEMS_Ultrasound_MovieGroup_001");
102 if( !subds3.FindDataElement( tseq3 ) ) return 1;
102 if( !subds3.FindDataElement( tseq3 ) ) return true;
103103 const DataElement& seq3 = subds3.GetDataElement( tseq3 );
104104
105105 // std::cout << seq3 << std::endl;
118118 Item &item4 = sqi4->GetItem(i4);
119119 DataSet &subds4 = item4.GetNestedDataSet();
120120
121 if( !subds4.FindDataElement( tseq8 ) ) return 1;
121 if( !subds4.FindDataElement( tseq8 ) ) return true;
122122 const DataElement& de8 = subds4.GetDataElement( tseq8 );
123123 Element<VR::UL,VM::VM1> ldimz;
124124 ldimz.SetFromDataElement( de8 );
125125 dimz += ldimz.GetValue();
126 if( !subds4.FindDataElement( tseq4 ) ) return 1;
126 if( !subds4.FindDataElement( tseq4 ) ) return true;
127127 const DataElement& seq4 = subds4.GetDataElement( tseq4 );
128 if( !subds4.FindDataElement( tseq5 ) ) return 1;
128 if( !subds4.FindDataElement( tseq5 ) ) return true;
129129 const DataElement& seq5 = subds4.GetDataElement( tseq5 );
130130
131131 // std::cout << seq4 << std::endl;
1414 DecompressImage
1515 ScanDirectory
1616 ReadFiles
17 SimplePrint
1718 FileAnonymize
1819 )
1920 foreach(example ${examples})
0 /*=========================================================================
1
2 Program: GDCM (Grassroots DICOM). A DICOM library
3
4 Copyright (c) 2006-2011 Mathieu Malaterre
5 All rights reserved.
6 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
7
8 This software is distributed WITHOUT ANY WARRANTY; without even
9 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 PURPOSE. See the above copyright notice for more information.
11
12 =========================================================================*/
13 /*
14 * Compilation:
15 * $ CLASSPATH=gdcm.jar javac ../../gdcm/Examples/Java/SimplePrint.java -d .
16 *
17 * Usage:
18 * $ LD_LIBRARY_PATH=. CLASSPATH=gdcm.jar:. java SimplePrint gdcmData/012345.002.050.dcm
19 */
20 import gdcm.*;
21
22 public class SimplePrint
23 {
24 public static void RecurseDataSet(File f, DataSet ds, String indent)
25 {
26 JavaDataSet cds = new JavaDataSet(ds);
27 while(!cds.IsAtEnd())
28 {
29 DataElement de = cds.GetCurrent();
30 // Compute VR from the toplevel file, and the currently processed dataset:
31 VR vr = DataSetHelper.ComputeVR(f, ds, de.GetTag() );
32
33 if( vr.Compatible( new VR(VR.VRType.SQ) ) )
34 {
35 long uvl = de.GetVL().GetValueLength(); // Test cast is ok
36 System.out.println( indent + de.GetTag().toString() + ":" + uvl ); // why not ?
37 //SequenceOfItems sq = de.GetSequenceOfItems();
38 // GetValueAsSQ handle more cases than GetSequenceOfItems
39 SmartPtrSQ sq = de.GetValueAsSQ();
40 long n = sq.GetNumberOfItems();
41 for( long i = 1; i <= n; i++) // item starts at 1, not 0
42 {
43 Item item = sq.GetItem( i );
44 DataSet nested = item.GetNestedDataSet();
45 RecurseDataSet( f, nested, indent + " " );
46 }
47 }
48 else
49 {
50 System.out.println( indent + de.toString() );
51 }
52 cds.Next();
53 }
54 }
55
56 public static void main(String[] args) throws Exception
57 {
58 String filename = args[0];
59 Reader reader = new Reader();
60 reader.SetFileName( filename );
61 boolean ret = reader.Read();
62 if( !ret )
63 {
64 throw new Exception("Could not read: " + filename );
65 }
66 File f = reader.GetFile();
67 DataSet ds = f.GetDataSet();
68
69 RecurseDataSet( f, ds, "" );
70 }
71 }
77 mark_as_advanced(
88 GDCM_ALWAYS_TRACE_MACRO
99 GDCM_SUPPORT_BROKEN_IMPLEMENTATION
10 GDCM_AUTOLOAD_GDCMJNI
1011 )
1112
1213 #if(WIN32)
4242 return 0;
4343 }
4444
45 #ifdef _MSC_VER
46 static inline std::string ToUtf8(std::wstring const &str) {
47 std::string ret;
48 int len = WideCharToMultiByte(CP_UTF8, 0, str.c_str(), (int)str.length(),
49 nullptr, 0, NULL, NULL);
50 if (len > 0) {
51 ret.resize(len);
52 WideCharToMultiByte(CP_UTF8, 0, str.c_str(), (int)str.length(), &ret[0],
53 len, NULL, NULL);
54 }
55 return ret;
56 }
57 #endif
58
4559 unsigned int Directory::Explore(FilenameType const &name, bool recursive)
4660 {
4761 unsigned int nFiles = 0;
48 std::string fileName;
49 std::string dirName = name;
50 //assert( System::FileIsDirectory( dirName ) );
51 Directories.push_back( dirName );
5262 #ifdef _MSC_VER
53 WIN32_FIND_DATA fileData;
54 if ('/' != dirName[dirName.size()-1]) dirName.push_back('/');
55 assert( '/' == dirName[dirName.size()-1] );
56 const FilenameType firstfile = dirName+"*";
57 HANDLE hFile = FindFirstFile(firstfile.c_str(), &fileData);
63 std::wstring fileName;
64 std::wstring dirName = System::ConvertToUNC(name.c_str());
65 Directories.push_back(ToUtf8(dirName));
66 WIN32_FIND_DATAW fileData;
67 if ('\\' != dirName[dirName.size()-1]) dirName.push_back('\\');
68 assert( '\\' == dirName[dirName.size()-1] );
69 const std::wstring firstfile = dirName+L"*";
70 HANDLE hFile = FindFirstFileW(firstfile.c_str(), &fileData);
5871
5972 for(BOOL b = (hFile != INVALID_HANDLE_VALUE); b;
60 b = FindNextFile(hFile, &fileData))
73 b = FindNextFileW(hFile, &fileData))
6174 {
6275 fileName = fileData.cFileName;
6376 if ( fileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY )
6477 {
6578 // Need to check for . and .. to avoid infinite loop
66 if ( fileName != "." && fileName != ".."
79 if ( fileName != L"." && fileName != L".."
6780 && fileName[0] != '.' // discard any hidden dir
6881 && recursive )
6982 {
70 nFiles += Explore(dirName+fileName,recursive);
83 nFiles += Explore(ToUtf8(dirName + fileName), recursive);
7184 }
7285 }
7386 else
7487 {
7588 if (fileName[0] != '.') // discard "unix like" hidden files such as .git in submodules
7689 {
77 Filenames.push_back(dirName+fileName);
90 Filenames.push_back(ToUtf8(dirName+fileName));
7891 nFiles++;
7992 }
8093 }
88101 }
89102
90103 #else
104 std::string fileName;
105 std::string dirName = name;
106 // assert( System::FileIsDirectory( dirName ) );
107 Directories.push_back(dirName);
91108 // Real POSIX implementation: scandir is a BSD extension only, and doesn't
92109 // work on debian for example
93110
4040 virtual void Print(std::ostream& os) const;
4141
4242 /** Return the StringName associated with the event. */
43 virtual const char * GetEventName(void) const = 0;
43 virtual const char * GetEventName() const = 0;
4444
4545 /** Check if given event matches or derives from this event. */
4646 virtual bool CheckEvent(const Event*) const = 0;
5353 const unsigned int lineNumber,
5454 const char* const func)
5555 {
56 assert(desc != NULL);
57 assert(file != NULL);
58 assert(func != NULL);
56 assert(desc != nullptr);
57 assert(file != nullptr);
58 assert(func != nullptr);
5959 std::ostringstream oswhat;
6060 oswhat << file << ":" << lineNumber << " (" << func << "):\n";
6161 oswhat << desc;
134134 */
135135 }
136136
137 static inline int Mkdir2(const char *utf8)
138 {
139 #ifdef _MSC_VER
140 const std::wstring unc = System::ConvertToUNC(utf8);
141 return _wmkdir(unc.c_str());
142 #else
143 return Mkdir(utf8);
144 #endif
145 }
146
137147 bool System::MakeDirectory(const char *path)
138148 {
139149 if( !path || !*path )
155165 while(ok && (pos = dir.find('/', pos)) != std::string::npos)
156166 {
157167 topdir = dir.substr(0, pos+1);
158 ok = ok && (System::FileIsDirectory(topdir.c_str()) || 0 == Mkdir(topdir.c_str()));
168 ok = ok && (System::FileIsDirectory(topdir.c_str()) || 0 == Mkdir2(topdir.c_str()));
159169 pos++;
160170 }
161171 if( !ok ) return false;
167177 {
168178 topdir = dir;
169179 }
170 if(Mkdir(topdir.c_str()) != 0)
180 if(Mkdir2(topdir.c_str()) != 0)
171181 {
172182 // There is a bug in the Borland Run time library which makes MKDIR
173183 // return EACCES when it should return EEXISTS
188198 // return true if the file exists
189199 bool System::FileExists(const char* filename)
190200 {
191 #ifdef _MSC_VER
192 # define access _access
193 #endif
194201 #ifndef R_OK
195202 # define R_OK 04
196203 #endif
204 #ifdef _MSC_VER
205 const std::wstring unc = System::ConvertToUNC(filename);
206 if (_waccess(unc.c_str(), R_OK) != 0)
207 #else
197208 if ( access(filename, R_OK) != 0 )
209 #endif
198210 {
199211 return false;
200212 }
207219
208220 bool System::FileIsDirectory(const char* name)
209221 {
222 #ifdef _MSC_VER
223 struct _stat64i32 fs;
224 const std::wstring wname = System::ConvertToUNC(name);
225 if (_wstat(wname.c_str(), &fs) == 0)
226 #else
210227 struct stat fs;
211228 if(stat(name, &fs) == 0)
229 #endif
212230 {
213231 #if _WIN32
214232 return ((fs.st_mode & _S_IFDIR) != 0);
365383 #define PATH_MAX 4096
366384 #endif
367385
386 #ifdef _MSC_VER
387 namespace {
388 static inline std::wstring ToUtf16(std::string const &str) {
389 std::wstring ret;
390 int len = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), (int)str.length(),
391 nullptr, 0);
392 if (len > 0) {
393 ret.resize(len);
394 MultiByteToWideChar(CP_UTF8, 0, str.c_str(), (int)str.length(), &ret[0],
395 len);
396 }
397 return ret;
398 }
399 // http://arsenmk.blogspot.com/2015/12/handling-long-paths-on-windows.html
400 static inline bool ComputeFullPath(std::wstring const &in,
401 std::wstring &out) {
402 // consider an input fileName of type PCWSTR (const wchar_t*)
403 const wchar_t *fileName = in.c_str();
404 DWORD requiredBufferLength =
405 GetFullPathNameW(fileName, 0, nullptr, nullptr);
406
407 if (0 == requiredBufferLength) // means failure
408 {
409 return false;
410 }
411
412 out.resize(requiredBufferLength);
413 wchar_t *buffer = &out[0];
414
415 DWORD result =
416 GetFullPathNameW(fileName, requiredBufferLength, buffer, nullptr);
417
418 if (0 == result) {
419 return false;
420 }
421
422 // buffer now contains the full path name of fileName, use it.
423 return true;
424 }
425
426 static inline std::wstring HandleMaxPath(std::wstring const &in) {
427 if (in.size() >= MAX_PATH) {
428 std::wstring out;
429 bool ret = ComputeFullPath(in, out);
430 if (!ret) return in;
431 if (out.size() < 4) return in;
432 if (out[0] == '\\' && out[1] == '\\' && out[2] == '?') {
433 // nothing to do
434 } else if (out[0] == '\\' && out[1] == '\\' && out[2] != '?') {
435 // server path
436 const std::wstring prefix = LR"(\\?\UNC\)";
437 out = prefix + (out.c_str() + 2);
438 } else {
439 // regular C:\ style path:
440 assert(out[1] == ':');
441 const std::wstring prefix = LR"(\\?\)";
442 out = prefix + out.c_str();
443 }
444 return out;
445 }
446 return in;
447 }
448 } // namespace
449 #endif
450
451 std::wstring System::ConvertToUNC(const char *utf8path)
452 {
453 #ifdef _MSC_VER
454 const std::wstring uft16path = ToUtf16(utf8path);
455 const std::wstring uncpath = HandleMaxPath(uft16path);
456 return uncpath;
457 #else
458 (void)utf8path;
459 return std::wstring();
460 #endif
461 }
462
368463 // return size of file; also returns zero if no file exists
369464 size_t System::FileSize(const char* filename)
370465 {
471566 if (dladdr( (void*)&where_am_i, &info ) == 0)
472567 {
473568 size_t len = strlen(info.dli_fname);
474 if( len >= PATH_MAX ) return 0; // throw error ?
569 if( len >= PATH_MAX ) return nullptr; // throw error ?
475570 // else
476571 strcpy(path,info.dli_fname);
477572 return path;
3737 static bool RemoveFile(const char* source);
3838 /// remove a directory named source
3939 static bool DeleteDirectory(const char *source);
40
41 /// When needed convert a PATH into a UNC equivalent. This allow
42 /// transparent support for path longer that MAX_PATH.
43 /// Only on _MSC_VER compiler, return empty string otherwise.
44 static std::wstring ConvertToUNC(const char *utf8path);
4045
4146 /// Return the last error
4247 static const char *GetLastSystemError();
7878 {
7979 if( file < Testing::GetNumberOfMediaStorageDataFiles() ) return gdcmMediaStorageDataFiles[file];
8080 // else return the {0x0, 0x0} sentinel:
81 assert( *gdcmMediaStorageDataFiles[ Testing::GetNumberOfMediaStorageDataFiles() ] == 0 );
81 assert( *gdcmMediaStorageDataFiles[ Testing::GetNumberOfMediaStorageDataFiles() ] == nullptr );
8282 return gdcmMediaStorageDataFiles[ Testing::GetNumberOfMediaStorageDataFiles() ];
8383 }
8484 const char * Testing::GetMediaStorageFromFile(const char *filepath)
118118 {
119119 if( file < Testing::GetNumberOfMD5DataImages() ) return gdcmMD5DataImages[file];
120120 // else return the {0x0, 0x0} sentinel:
121 assert( *gdcmMD5DataImages[ Testing::GetNumberOfMD5DataImages() ] == 0 );
121 assert( *gdcmMD5DataImages[ Testing::GetNumberOfMD5DataImages() ] == nullptr );
122122 return gdcmMD5DataImages[ Testing::GetNumberOfMD5DataImages() ];
123123 }
124124
446446 { 0,"FUJI-ffff-MONO1-J2K.dcm" },
447447 { 0,"JPEGLosslessSeNonZero.dcm" },
448448 { 1,"US-YBR_FULL_422-EVRLE.dcm" },
449 { 0,"Osirix10vs8BitsStored.dcm" },
450 { 0,"Bug_Siemens_PrivateIconNoItem.dcm" },
451 { 0,"HardcopyColor_YBR_RCT_J2K_PC1.dcm" },
452 { 0,"PET-GE-dicomwrite-PixelDataSQUNv2.dcm" },
449453 { 0, nullptr }
450454 };
451455
128128 int memory_level,
129129 size_t buffer_size);
130130
131 ~basic_zip_streambuf(void) override;
132
133 int sync (void) override;
131 ~basic_zip_streambuf() override;
132
133 int sync () override;
134134 int_type overflow (int_type c) override;
135 std::streamsize flush (void);
136 inline
137 ostream_reference get_ostream (void) const;
138 inline
139 int get_zerr (void) const;
140 inline
141 unsigned long get_crc (void) const;
142 inline
143 unsigned long get_in_size (void) const;
144 inline
145 long get_out_size(void) const;
135 std::streamsize flush ();
136 inline
137 ostream_reference get_ostream () const;
138 inline
139 int get_zerr () const;
140 inline
141 unsigned long get_crc () const;
142 inline
143 unsigned long get_in_size () const;
144 inline
145 long get_out_size() const;
146146
147147 private:
148148
188188 size_t read_buffer_size,
189189 size_t input_buffer_size);
190190
191 ~basic_unzip_streambuf(void) override;
192
193 int_type underflow(void) override;
191 ~basic_unzip_streambuf() override;
192
193 int_type underflow() override;
194194
195195 /// returns the compressed input istream
196196 inline
197 istream_reference get_istream (void);
198 inline
199 z_stream& get_zip_stream (void);
200 inline
201 int get_zerr (void) const;
202 inline
203 unsigned long get_crc (void) const;
204 inline
205 long get_out_size (void) const;
206 inline
207 long get_in_size (void) const;
197 istream_reference get_istream ();
198 inline
199 z_stream& get_zip_stream ();
200 inline
201 int get_zerr () const;
202 inline
203 unsigned long get_crc () const;
204 inline
205 long get_out_size () const;
206 inline
207 long get_in_size () const;
208208
209209
210210 private:
211211
212 void put_back_from_zip_stream (void);
212 void put_back_from_zip_stream ();
213213
214214 std::streamsize unzip_from_stream (char_type* buffer,
215215 std::streamsize buffer_size);
216216
217 size_t fill_input_buffer (void);
217 size_t fill_input_buffer ();
218218
219219 istream_reference _istream;
220220 z_stream _zip_stream;
249249 int memory_level = 8,
250250 size_t buffer_size = zstream_default_buffer_size);
251251
252 ~basic_zip_ostream(void) override;
253
254 inline
255 bool is_gzip (void) const;
256 inline
257 basic_zip_ostream<charT, traits>& zflush (void);
258 void finished (void);
252 ~basic_zip_ostream() override;
253
254 inline
255 bool is_gzip () const;
256 inline
257 basic_zip_ostream<charT, traits>& zflush ();
258 void finished ();
259259
260260 // void make_gzip()
261261 // { add_header(); _is_gzip = true; }
262262
263263 private:
264264
265 basic_zip_ostream<charT,traits>& add_header(void);
266 basic_zip_ostream<charT,traits>& add_footer(void);
265 basic_zip_ostream<charT,traits>& add_header();
266 basic_zip_ostream<charT,traits>& add_footer();
267267
268268 bool _is_gzip;
269269 bool _added_footer;
289289 size_t input_buffer_size = zstream_default_buffer_size);
290290
291291 inline
292 bool is_gzip (void) const;
293 inline
294 bool check_crc (void);
295 inline
296 bool check_data_size (void) const;
297 inline
298 long get_gzip_crc (void) const;
299 inline
300 long get_gzip_data_size(void) const;
292 bool is_gzip () const;
293 inline
294 bool check_crc ();
295 inline
296 bool check_data_size () const;
297 inline
298 long get_gzip_crc () const;
299 inline
300 long get_gzip_data_size() const;
301301
302302 protected:
303303
304 int check_header (void);
305 void read_footer (void);
304 int check_header ();
305 void read_footer ();
306306
307307 bool _is_gzip;
308308 long _gzip_crc;
8181 /** Destructor
8282 */
8383 template <class charT, class traits>
84 basic_zip_streambuf<charT, traits>::~basic_zip_streambuf(void)
84 basic_zip_streambuf<charT, traits>::~basic_zip_streambuf()
8585 {
8686 flush();
8787 // _ostream.flush(); CM already done in flush()
9393 * document correctly!
9494 */
9595 template <class charT, class traits>
96 int basic_zip_streambuf<charT, traits>::sync(void)
96 int basic_zip_streambuf<charT, traits>::sync()
9797 {
9898 if(this->pptr() && this->pptr() > this->pbase())
9999 {
140140 * multiple times, will lower the compression ratio.
141141 */
142142 template <class charT, class traits>
143 std::streamsize basic_zip_streambuf<charT, traits>::flush(void)
143 std::streamsize basic_zip_streambuf<charT, traits>::flush()
144144 {
145145 std::streamsize written_byte_size = 0, total_written_byte_size = 0;
146146
188188 */
189189 template <class charT, class traits> inline
190190 typename basic_zip_streambuf<charT, traits>::ostream_reference
191 basic_zip_streambuf<charT, traits>::get_ostream(void) const
191 basic_zip_streambuf<charT, traits>::get_ostream() const
192192 {
193193 return _ostream;
194194 }
196196 /** returns the latest zlib error status
197197 */
198198 template <class charT, class traits> inline
199 int basic_zip_streambuf<charT, traits>::get_zerr(void) const
199 int basic_zip_streambuf<charT, traits>::get_zerr() const
200200 {
201201 return _err;
202202 }
205205 */
206206 template <class charT, class traits> inline
207207 unsigned long
208 basic_zip_streambuf<charT, traits>:: get_crc(void) const
208 basic_zip_streambuf<charT, traits>:: get_crc() const
209209 {
210210 return _crc;
211211 }
214214 */
215215 template <class charT, class traits> inline
216216 unsigned long
217 basic_zip_streambuf<charT, traits>::get_in_size(void) const
217 basic_zip_streambuf<charT, traits>::get_in_size() const
218218 {
219219 return _zip_stream.total_in;
220220 }
223223 */
224224 template <class charT, class traits> inline
225225 long
226 basic_zip_streambuf<charT, traits>::get_out_size(void) const
226 basic_zip_streambuf<charT, traits>::get_out_size() const
227227 {
228228 return _zip_stream.total_out;
229229 }
333333 * @todo document!
334334 */
335335 template <class charT, class traits>
336 basic_unzip_streambuf<charT, traits>::~basic_unzip_streambuf(void)
336 basic_unzip_streambuf<charT, traits>::~basic_unzip_streambuf()
337337 {
338338 inflateEnd(&_zip_stream);
339339 }
344344 */
345345 template <class charT, class traits>
346346 typename basic_unzip_streambuf<charT, traits>::int_type
347 basic_unzip_streambuf<charT, traits>::underflow(void)
347 basic_unzip_streambuf<charT, traits>::underflow()
348348 {
349349 if(this->gptr() && ( this->gptr() < this->egptr()))
350350 return * reinterpret_cast<unsigned char *>(this->gptr());
378378 */
379379 template <class charT, class traits> inline
380380 typename basic_unzip_streambuf<charT, traits>::istream_reference
381 basic_unzip_streambuf<charT, traits>::get_istream(void)
381 basic_unzip_streambuf<charT, traits>::get_istream()
382382 {
383383 return _istream;
384384 }
387387 */
388388 template <class charT, class traits> inline
389389 z_stream &
390 basic_unzip_streambuf<charT, traits>::get_zip_stream(void)
390 basic_unzip_streambuf<charT, traits>::get_zip_stream()
391391 {
392392 return _zip_stream;
393393 }
396396 */
397397 template <class charT, class traits> inline
398398 int
399 basic_unzip_streambuf<charT, traits>::get_zerr(void) const
399 basic_unzip_streambuf<charT, traits>::get_zerr() const
400400 {
401401 return _err;
402402 }
405405 */
406406 template <class charT, class traits> inline
407407 unsigned long
408 basic_unzip_streambuf<charT, traits>::get_crc(void) const
408 basic_unzip_streambuf<charT, traits>::get_crc() const
409409 {
410410 return _crc;
411411 }
414414 */
415415 template <class charT, class traits> inline
416416 long
417 basic_unzip_streambuf<charT, traits>::get_out_size(void) const
417 basic_unzip_streambuf<charT, traits>::get_out_size() const
418418 {
419419 return _zip_stream.total_out;
420420 }
423423 */
424424 template <class charT, class traits> inline
425425 long
426 basic_unzip_streambuf<charT, traits>::get_in_size(void) const
426 basic_unzip_streambuf<charT, traits>::get_in_size() const
427427 {
428428 return _zip_stream.total_in;
429429 }
437437 */
438438 template <class charT, class traits> inline
439439 void
440 basic_unzip_streambuf<charT, traits>::put_back_from_zip_stream(void)
440 basic_unzip_streambuf<charT, traits>::put_back_from_zip_stream()
441441 {
442442 if(_zip_stream.avail_in == 0)
443443 return;
495495 */
496496 template <class charT, class traits> inline
497497 size_t
498 basic_unzip_streambuf<charT, traits>::fill_input_buffer(void)
498 basic_unzip_streambuf<charT, traits>::fill_input_buffer()
499499 {
500500 _zip_stream.next_in = &_input_buffer[0];
501501 _istream.read((char_type*) &_input_buffer[0],
564564 /** Destructor
565565 */
566566 template <class charT, class traits>
567 basic_zip_ostream<charT, traits>::~basic_zip_ostream(void)
567 basic_zip_ostream<charT, traits>::~basic_zip_ostream()
568568 {
569569 //if(_is_gzip)
570570 add_footer();
573573 /** returns true if it is a gzip
574574 */
575575 template <class charT, class traits> inline
576 bool basic_zip_ostream<charT, traits>::is_gzip(void) const
576 bool basic_zip_ostream<charT, traits>::is_gzip() const
577577 {
578578 return _is_gzip;
579579 }
582582 */
583583
584584 template <class charT, class traits> inline
585 basic_zip_ostream<charT, traits>& basic_zip_ostream<charT, traits>::zflush(void)
585 basic_zip_ostream<charT, traits>& basic_zip_ostream<charT, traits>::zflush()
586586 {
587587 static_cast<std::basic_ostream<charT, traits> *>(this)->flush();
588588 static_cast<basic_zip_streambuf<charT, traits> *>(this)->flush();
590590 }
591591
592592 template <class charT, class traits> inline
593 void basic_zip_ostream<charT, traits>::finished(void)
593 void basic_zip_ostream<charT, traits>::finished()
594594 {
595595 if(_is_gzip)
596596 add_footer();
607607 * @todo document!
608608 */
609609 template <class charT, class traits>
610 basic_zip_ostream<charT,traits>& basic_zip_ostream<charT, traits>::add_header(void)
610 basic_zip_ostream<charT,traits>& basic_zip_ostream<charT, traits>::add_header()
611611 {
612612 char_type zero = 0;
613613
626626 * @todo document!
627627 */
628628 template <class charT, class traits>
629 basic_zip_ostream<charT,traits>& basic_zip_ostream<charT, traits>::add_footer(void)
629 basic_zip_ostream<charT,traits>& basic_zip_ostream<charT, traits>::add_footer()
630630 {
631631 if(_added_footer)
632632 return *this;
700700 */
701701 template <class charT, class traits> inline
702702 bool
703 basic_zip_istream<charT, traits>::is_gzip(void) const
703 basic_zip_istream<charT, traits>::is_gzip() const
704704 {
705705 return _is_gzip;
706706 }
714714 */
715715 template <class charT, class traits> inline
716716 bool
717 basic_zip_istream<charT, traits>::check_crc(void)
717 basic_zip_istream<charT, traits>::check_crc()
718718 {
719719 read_footer();
720720 return this->get_crc() == _gzip_crc;
724724 */
725725 template <class charT, class traits> inline
726726 bool
727 basic_zip_istream<charT, traits>::check_data_size(void) const
727 basic_zip_istream<charT, traits>::check_data_size() const
728728 {
729729 return this->get_out_size() == _gzip_data_size;
730730 }
733733 */
734734 template <class charT, class traits> inline
735735 long
736 basic_zip_istream<charT, traits>::get_gzip_crc(void) const
736 basic_zip_istream<charT, traits>::get_gzip_crc() const
737737 {
738738 return _gzip_crc;
739739 }
742742 */
743743 template <class charT, class traits> inline
744744 long
745 basic_zip_istream<charT, traits>::get_gzip_data_size(void) const
745 basic_zip_istream<charT, traits>::get_gzip_data_size() const
746746 {
747747 return _gzip_data_size;
748748 }
756756 */
757757 template <class charT, class traits>
758758 int
759 basic_zip_istream<charT, traits>::check_header(void)
759 basic_zip_istream<charT, traits>::check_header()
760760 {
761761 int method; /* method byte */
762762 int flagsbyte; /* flags byte */
830830 */
831831 template <class charT, class traits>
832832 void
833 basic_zip_istream<charT, traits>::read_footer(void)
833 basic_zip_istream<charT, traits>::read_footer()
834834 {
835835 if(_is_gzip)
836836 {
5959 }
6060 else if( tag.IsPublic() )
6161 {
62 assert( owner == NULL );
62 assert( owner == nullptr );
6363 return PublicDict.GetDictEntry(tag);
6464 }
6565 else
9191 assert( !tag.IsIllegal() );
9292 assert( tag.GetElement() ); // Not a group length !
9393 assert( tag.IsPrivate() );
94 assert( owner == 0x0 );
94 assert( owner == nullptr );
9595 {
9696 static const char pc[] = "Private Creator";
9797 static const char kw[] = "PrivateCreator";
7575 {
7676 if(++GlobalCount == 1)
7777 {
78 assert( Internals == NULL ); // paranoid
78 assert( Internals == nullptr ); // paranoid
7979 Internals = new GlobalInternal;
8080 assert( Internals->GlobalDicts.IsEmpty() );
8181 // Fill in with default values now !
101101
102102 bool Global::LoadResourcesFiles()
103103 {
104 assert( Internals != NULL ); // paranoid
104 assert( Internals != nullptr ); // paranoid
105105 const char *filename = Locate( "Part3.xml" );
106106 if( filename )
107107 {
118118 {0x0021,0x0049,"SIEMENS MR SDS 01",VR::CS,VM::VM1,"??",false},
119119 {0x0021,0x0048,"SIEMENS MR SDI 02",VR::IS,VM::VM1,"??",false},
120120 {0x0021,0x0049,"SIEMENS MR SDI 02",VR::IS,VM::VM1,"??",false},
121 {0x0021,0x004e,"SIEMENS MR SDI 02",VR::IS,VM::VM1,"??",false},
121122 {0x0021,0x004f,"SIEMENS MR SDI 02",VR::LO,VM::VM1,"ImaCoilString",false},
122123 {0x0021,0x0050,"SIEMENS MR SDS 01",VR::US,VM::VM1,"??",false},
123124 {0x0021,0x0051,"SIEMENS MR SDI 02",VR::UL,VM::VM1,"?SequenceMask?",false},
131132 {0x0021,0x005a,"SIEMENS MR SDS 01",VR::CS,VM::VM1,"?Sequence Varient 1?",false},
132133 {0x0021,0x005b,"SIEMENS MR SDI 02",VR::FD,VM::VM3,"Image Position (Patient)",false},
133134 {0x0021,0x005b,"SIEMENS MR SDS 01",VR::CS,VM::VM1,"?Sequence Varient 2?",false},
135 {0x0021,0x005c,"SIEMENS MR SDS 01",VR::CS,VM::VM1,"MTR flag. MT => ON",false},
134136 {0x0021,0x005d,"SIEMENS MR SDS 01",VR::SL,VM::VM1,"??",false},
135137 {0x0021,0x005e,"SIEMENS MR SDI 02",VR::IS,VM::VM1,"?FrameIndex?",false},
136138 {0x0021,0x0063,"SIEMENS MR SDI 02",VR::IS,VM::VM1,"?Acquisition Number?",false},
19631965 {0x0009,0x0092,"FDMS 1.0",VR::SH,VM::VM1,"Kanji Department Name",false },
19641966 {0x0009,0x00f0,"FDMS 1.0",VR::CS,VM::VM1,"Blackening Process Flag",false },
19651967 {0x0009,0x00f1,"FDMS 1.0",VR::ST,VM::VM1,"Processing Information Flag",false },
1968 {0x0009,0x00f2,"FDMS 1.0",VR::CS,VM::VM1,"Normalization Flag",false },
1969 {0x0009,0x00f3,"FDMS 1.0",VR::CS,VM::VM1,"Tone characteristic",false },
1970 {0x0009,0x00f4,"FDMS 1.0",VR::CS,VM::VM1,"Window Value Fixed Flag",false },
19661971 {0x0019,0x0015,"FDMS 1.0",VR::LO,VM::VM1,"Kanji Body Part for Exposure",false },
19671972 {0x0019,0x0030,"FDMS 1.0",VR::LO,VM::VM1,"Menu Character String",false },
19681973 {0x0019,0x0032,"FDMS 1.0",VR::LO,VM::VM1,"Kanji Menu Name",false },
20612066 {0x50f1,0x0007,"FDMS 1.0",VR::CS,VM::VM1,"Subtraction Registration Result",false },
20622067 {0x50f1,0x0008,"FDMS 1.0",VR::CS,VM::VM1,"Energy Subtraction Param. 2",false },
20632068 {0x50f1,0x0009,"FDMS 1.0",VR::SL,VM::VM1,"Afin Conversion Coefficient",false },
2064 {0x50f1,0x000a,"FDMS 1.0",VR::SH,VM::VM1,"FNC Parameters",false },
2069 {0x50f1,0x000a,"FDMS 1.0",VR::ST,VM::VM1,"FNC Parameters",false },
2070 {0x50f1,0x000b,"FDMS 1.0",VR::SS,VM::VM1,"CRF Parameters",false },
20652071 {0x50f1,0x0010,"FDMS 1.0",VR::CS,VM::VM1,"Film Output Format",false },
20662072 {0x50f1,0x0020,"FDMS 1.0",VR::CS,VM::VM1,"Image Processing Modification Flag",false },
20672073 {0x0009,0x0001,"FFP DATA",VR::UN,VM::VM1,"CR Header Information",false },
28262832 {0x0011,0x0016,"GEMS_GDXE_FALCON_04",VR::LT,VM::VM1,"Processing Debug Info",false },
28272833 {0x0011,0x0017,"GEMS_GDXE_FALCON_04",VR::CS,VM::VM1,"Override mode",false },
28282834 {0x0011,0x0019,"GEMS_GDXE_FALCON_04",VR::DS,VM::VM1,"Film Speed Selection",false },
2829 {0x0011,0x0027,"GEMS_GDXE_FALCON_04",VR::UN,VM::VM1,"?",false },
2830 {0x0011,0x0028,"GEMS_GDXE_FALCON_04",VR::UN,VM::VM1,"?",false },
2831 {0x0011,0x0029,"GEMS_GDXE_FALCON_04",VR::UN,VM::VM1,"?",false },
2832 {0x0011,0x0030,"GEMS_GDXE_FALCON_04",VR::UN,VM::VM1,"?",false },
2835 {0x0011,0x0027,"GEMS_GDXE_FALCON_04",VR::FL,VM::VM1,"?",false },
2836 {0x0011,0x0028,"GEMS_GDXE_FALCON_04",VR::FL,VM::VM1,"?",false },
2837 {0x0011,0x0029,"GEMS_GDXE_FALCON_04",VR::SL,VM::VM1,"?",false },
2838 {0x0011,0x0030,"GEMS_GDXE_FALCON_04",VR::SL,VM::VM1,"?",false },
28332839 {0x0011,0x0031,"GEMS_GDXE_FALCON_04",VR::IS,VM::VM8,"Detected Field of View",false },
28342840 {0x0011,0x0032,"GEMS_GDXE_FALCON_04",VR::IS,VM::VM8,"Adjusted Field of View",false },
28352841 {0x0011,0x0033,"GEMS_GDXE_FALCON_04",VR::DS,VM::VM1,"Detected Exposure Index",false },
52425248 {0x0021,0x0010,"PRIVATE ORIGINAL ATTRIBUTES",VR::LO,VM::VM1,"Replacement Originator Name",false },
52435249 {0x0021,0x0012,"PRIVATE ORIGINAL ATTRIBUTES",VR::LO,VM::VM1,"Replacement Reason",false },
52445250 {0x0021,0x0070,"PRIVATE ORIGINAL ATTRIBUTES",VR::PN,VM::VM1_n,"Original Operators'Name",false },
5251 {0x2007,0x00b4,"Philips EV Imaging DD 017",VR::FL,VM::VM2,"?",false },
5252 {0x2007,0x00ba,"Philips EV Imaging DD 017",VR::FD,VM::VM1,"?",false },
5253 {0x2007,0x00bb,"Philips EV Imaging DD 017",VR::FD,VM::VM1,"?",false },
5254 {0x2007,0x00bc,"Philips EV Imaging DD 017",VR::SL,VM::VM1,"?",false },
5255 {0x2007,0x00d0,"Philips EV Imaging DD 017",VR::FD,VM::VM1,"?",false },
5256 {0x2007,0x00d1,"Philips EV Imaging DD 017",VR::FD,VM::VM1,"?",false },
5257 {0x2007,0x00d2,"Philips EV Imaging DD 017",VR::SL,VM::VM1,"?",false },
52455258 {0x2007,0x00c1,"Philips EV Imaging DD 017",VR::UI,VM::VM1,"? SOP Instance UID ?",false },
52465259 {0x2007,0x00c2,"Philips EV Imaging DD 017",VR::DA,VM::VM1,"?",false },
52475260 {0x2007,0x00c3,"Philips EV Imaging DD 017",VR::TM,VM::VM1,"?",false },
52495262 {0x2007,0x0000,"Philips EV Imaging DD 019",VR::LO,VM::VM1,"?",false },
52505263 {0x2007,0x0001,"Philips EV Imaging DD 019",VR::UT,VM::VM1,"?",false },
52515264 {0x2007,0x0004,"Philips EV Imaging DD 021",VR::SL,VM::VM1,"Vol Seg Edit Connectivity",false },
5252 //{0x2007,0x0051,"Philips EV Imaging DD 021",VR::SS,VM::VM1,"??",false },
5253 {0x2007,0x0000,"Philips EV Imaging DD 022",VR::ST,VM::VM1,"",false },
5265 {0x2007,0x0051,"Philips EV Imaging DD 021",VR::US_SS,VM::VM1,"?US or SS?",false },
5266 {0x2007,0x0000,"Philips EV Imaging DD 022",VR::ST,VM::VM1,"?",false },
5267 {0x2007,0x0001,"Philips EV Imaging DD 022",VR::LO,VM::VM2,"?",false },
52545268 {0x2007,0x0012,"Philips EV Imaging DD 022",VR::LO,VM::VM1,"Volume Sequence Capture",false },
52555269 {0x2007,0x0017,"Philips EV Imaging DD 022",VR::UI,VM::VM1,"Original SOP Instance",false },
5256 {0x2007,0x0033,"Philips EV Imaging DD 022",VR::LO,VM::VM1,"",false },
5257 {0x2007,0x0034,"Philips EV Imaging DD 022",VR::CS,VM::VM1,"",false },
5270 {0x2007,0x0033,"Philips EV Imaging DD 022",VR::LO,VM::VM1,"?",false },
5271 {0x2007,0x0034,"Philips EV Imaging DD 022",VR::CS,VM::VM1,"?",false },
52585272 {0x7777,0x0001,"Philips EnVisor",VR::DA,VM::VM1,"Date 3D/PanView internal 'dataset' file was acquired",false },
52595273 {0x7777,0x0002,"Philips EnVisor",VR::CS,VM::VM1,"Type of 3D or PanView",false },
52605274 {0x7777,0x0003,"Philips EnVisor",VR::LO,VM::VM1,"Internal 3D/PanView software version number",false },
82218235 {0x0051,0x0011,"SIEMENS MR HEADER",VR::LO,VM::VM1,"PAT Mode (Ima PAT Mode)",false },
82228236 {0x0051,0x0012,"SIEMENS MR HEADER",VR::SH,VM::VM1,"?Table Position?",false },
82238237 {0x0051,0x0013,"SIEMENS MR HEADER",VR::SH,VM::VM1,"Positive PCS Directions",false },
8238 {0x0051,0x0014,"SIEMENS MR HEADER",VR::SH,VM::VM1,"?v150_through?",false },
82248239 {0x0051,0x0015,"SIEMENS MR HEADER",VR::SH,VM::VM1,"?Data Filter?",false },
82258240 {0x0051,0x0016,"SIEMENS MR HEADER",VR::LO,VM::VM1,"?Image Type?",false },
82268241 {0x0051,0x0017,"SIEMENS MR HEADER",VR::SH,VM::VM1,"?Slice Thickness?",false },
1041410429 {
1041510430 // if( n.group % 2 != 0 )
1041610431 {
10417 assert( n.owner != 0 );
10432 assert( n.owner != nullptr );
1041810433 assert( n.name );
1041910434 assert( n.group % 2 != 0 || n.group == 0xffff );
1042010435 assert( n.element <= 0xff || n.element == 0xffff );
126126 // private:
127127 { "1.3.12.2.1107.5.9.1" , "Siemens Non-image IOD Modules"}, // CSA Non-Image Storage
128128 { "1.2.392.200036.9125.1.1.2" , "Fuji Private CR Image IOD Modules"}, //
129 { "1.2.392.200036.9125.1.1.4" , "Fuji Private Mammo CR Image IOD Modules"}, //
129130
130131 { nullptr, nullptr }
131132 };
186187 if( i < SOPClassUIDToIOD::GetNumberOfSOPClassToIOD() )
187188 return SOPClassUIDToIODStrings[i];
188189 // else return the {0x0, 0x0} sentinel:
189 assert( *SOPClassUIDToIODStrings[ SOPClassUIDToIOD::GetNumberOfSOPClassToIOD() ] == 0 );
190 assert( *SOPClassUIDToIODStrings[ SOPClassUIDToIOD::GetNumberOfSOPClassToIOD() ] == nullptr );
190191 return SOPClassUIDToIODStrings[ SOPClassUIDToIOD::GetNumberOfSOPClassToIOD() ];
191192
192193 }
489489 {"1.2.840.113619.5.2","Implicit VR Big Endian DLX (G.E Private)"},
490490 // DICOM_Conformance_Statement_GEMINI_R3.5_R3.6.pdf
491491 {"1.3.46.670589.33.1.4.1","CT-private-ELE"},
492 {"1.2.392.200036.9125.1.1.4","Fuji Private Mammo CR Image Storage"},
492493 //
493494 //
494495 //
509510 {
510511 if( ts > 0 && ts <= UIDs::GetNumberOfTransferSyntaxStrings() ) return TransferSyntaxStrings[ts];
511512 // else return the {0x0, 0x0} sentinel (begin or end)
512 assert( *TransferSyntaxStrings[ UIDs::GetNumberOfTransferSyntaxStrings() + 1 ] == 0 );
513 assert( *TransferSyntaxStrings[ 0 ] == 0 );
513 assert( *TransferSyntaxStrings[ UIDs::GetNumberOfTransferSyntaxStrings() + 1 ] == nullptr );
514 assert( *TransferSyntaxStrings[ 0 ] == nullptr );
514515 return TransferSyntaxStrings[ UIDs::GetNumberOfTransferSyntaxStrings() + 1 ];
515516 }
516517
627627 }
628628 Own = own;
629629 Length = numel;
630 assert( Internal == 0 );
630 assert( Internal == nullptr );
631631 if( own ) // make a copy:
632632 {
633633 Internal = new ArrayType[numel];
6969 bv->SetLength(ValueLengthField);
7070 if( !bv->Read<TSwap>(is) )
7171 {
72 assert(0 && "Should not happen");
72 gdcmAssertAlwaysMacro(0 && "Should not happen");
7373 return is;
7474 }
7575 ValueField = bv;
420420 }
421421 else if( /*pe.GetLastElement().GetTag() == Tag(0xffd8,0xffe0) &&*/ de.GetTag() == Tag(0x7fe0,0x0010) && de.IsUndefinedLength() )
422422 {
423 // Bug_Siemens_PrivateIconNoItem.dcm
423424 // PET-GE-dicomwrite-PixelDataSQUN.dcm
425 // PET-GE-dicomwrite-PixelDataSQUNv2.dcm
424426 // some bozo crafted an undefined length Pixel Data but is actually
425427 // defined length. Since inside SQ/Item it should be possible to
426428 // compute the proper length
623623 else {
624624 // TODO rewrite this stupid code:
625625 assert( Length == 0 );
626 assert( Internal == 0 );
626 assert( Internal == nullptr );
627627 assert( Save == false );
628628 Length = len / sizeof(Type);
629629 //assert( (len / sizeof(Type)) * sizeof(Type) == len );
657657 const Type* array = (const Type*)bv->GetVoidPointer();
658658 if( array ) {
659659 assert( array ); // That would be bad...
660 assert( Internal == 0 );
660 assert( Internal == nullptr );
661661 SetArray(array, bv->GetLength() ); }
662662 }
663663 else
762762 const Type* array = (const Type*)bv->GetPointer();
763763 if( array ) {
764764 assert( array ); // That would be bad...
765 assert( Internal == 0 );
765 assert( Internal == nullptr );
766766 SetArray(array, bv->GetLength() ); }
767767 }
768768 else
384384 if( TagField == itemDelItem )
385385 {
386386 assert(0);
387 assert( ValueField == 0 );
387 assert( ValueField == nullptr );
388388 #ifdef GDCM_SUPPORT_BROKEN_IMPLEMENTATION
389389 if( ValueLengthField != 0 )
390390 {
537537 return os;
538538 }
539539 // Write Value Length
540 // The following code should always work since we are in the case of IVRLE - CP246
541 // however broken file such as PET-GE-dicomwrite-PixelDataSQUNv2.dcm breaks this assumption right here:
542 // see bug #502
540543 const SequenceOfItems *sqi = dynamic_cast<const SequenceOfItems*>( ValueField.GetPointer() ); //GetSequenceOfItems();
541544 if( sqi && !ValueLengthField.IsUndefined() )
542545 {
144144 "1.2.840.10008.5.1.4.1.1.128.1", // Legacy Converted Enhanced PET Image Storage
145145 "1.2.840.10008.5.1.4.1.1.13.1.4", // Breast Projection X-Ray Image Storage - For Presentation
146146 "1.2.840.10008.5.1.4.1.1.13.1.5", // Breast Projection X-Ray Image Storage - For Processing
147 "1.2.840.10008.5.1.1.30", // HardcopyColorImageStorage
148 "1.2.840.10008.5.1.4.1.1.4.3", // EnhancedMRColorImageStorage
149 "1.2.392.200036.9125.1.1.4", // FujiPrivateMammoCRImageStorage (aka FUJI MAMMO CR Storage)
150 "1.2.840.10008.5.1.4.1.1.77.1.5.2", // Ophthalmic Photography 16 Bit Image Storage
147151
148152 nullptr
149153 };
319323 {"ES", 2, false},// VLEndoscopicImageStorage
320324 {"MG", 3, false},// BreastTomosynthesisImageStorage
321325 {"CR", 2, false},// FujiPrivateCRImageStorage
322 {"OP", 2, false},// OphthalmicPhotography8BitImageStorage
326 {"OP", 3, false},// OphthalmicPhotography8BitImageStorage
323327 {"OPT", 3, false},// OphthalmicTomographyImageStorage
324328 {"GM", 3, false},// VLMicroscopicImageStorage
325329 {"PT", 3, false},//EnhancedPETImageStorage,
327331 {"DX", 3, false},// XRay3DCraniofacialImageStorage
328332 {"IVOCT", 3, false},// IVOCTForPresentation,
329333 {"IVOCT", 3, false},// IVCOTForProcessing,
330 {"CT", 3, false},//LegacyConvertedEnhancedCTImageStorage,
331 {"MR", 3, false},//LegacyConvertedEnhancedMRImageStorage,
332 {"PT", 3, false},//LegacyConvertedEnhancedPETImageStorage,
333 {"MG", 3, false},//BreastProjectionXRayImageStorageForPresentation
334 {"MG", 3, false},//BreastProjectionXRayImageStorageForProcessing
334 {"CT", 3, false},// LegacyConvertedEnhancedCTImageStorage,
335 {"MR", 3, false},// LegacyConvertedEnhancedMRImageStorage,
336 {"PT", 3, false},// LegacyConvertedEnhancedPETImageStorage,
337 {"MG", 3, false},// BreastProjectionXRayImageStorageForPresentation
338 {"MG", 3, false},// BreastProjectionXRayImageStorageForProcessing
339 {"HC", 2, false},// HardcopyGrayscaleImageStorage
340 {"MR", 3, false},// EnhancedMRColorImageStorage
341 {"MG", 2, false},// FujiPrivateMammoCRImageStorage
342 {"OP", 3, false},// OphthalmicPhotography16BitImageStorage
335343 {nullptr, 0, false} //MS_END
336344 };
337345
137137 LegacyConvertedEnhancedPETImageStorage,
138138 BreastProjectionXRayImageStorageForPresentation,
139139 BreastProjectionXRayImageStorageForProcessing,
140 HardcopyColorImageStorage,
141 EnhancedMRColorImageStorage,
142 FujiPrivateMammoCRImageStorage,
143 OphthalmicPhotography16BitImageStorage,
140144 MS_END
141145 } MSType; // Media Storage Type
142146
826826 return false;
827827 }
828828
829 #ifdef _MSC_VER
830 namespace {
831 static inline std::wstring ToUtf16(std::string const & str) {
832 std::wstring ret;
833 int len = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), (int)str.length(), nullptr, 0);
834 if (len > 0) {
835 ret.resize(len);
836 MultiByteToWideChar(CP_UTF8, 0, str.c_str(), (int)str.length(), &ret[0], len);
837 }
838 return ret;
839 }
840 // http://arsenmk.blogspot.com/2015/12/handling-long-paths-on-windows.html
841 static inline bool ComputeFullPath(std::wstring const &in, std::wstring &out) {
842 // consider an input fileName of type PCWSTR (const wchar_t*)
843 const wchar_t *fileName = in.c_str();
844 DWORD requiredBufferLength = GetFullPathNameW(fileName, 0, nullptr, nullptr);
845
846 if (0 == requiredBufferLength) // means failure
847 {
848 return false;
849 }
850
851 out.resize(requiredBufferLength);
852 wchar_t *buffer = &out[0];
853
854 DWORD result =
855 GetFullPathNameW(fileName, requiredBufferLength, buffer, nullptr);
856
857 if (0 == result) {
858 return false;
859 }
860
861 // buffer now contains the full path name of fileName, use it.
862 return true;
863 }
864
865 static inline std::wstring HandleMaxPath(std::wstring const &in) {
866 if (in.size() >= MAX_PATH) {
867 std::wstring out;
868 bool ret = ComputeFullPath(in, out);
869 if (!ret) return in;
870 if (out.size() < 4) return in;
871 if (out[0] == '\\' && out[1] == '\\' && out[2] == '?') {
872 // nothing to do
873 } else if (out[0] == '\\' && out[1] == '\\' && out[2] != '?') {
874 // server path
875 const std::wstring prefix = LR"(\\?\UNC\)";
876 out = prefix + (out.c_str() + 2);
877 } else {
878 // regular C:\ style path:
879 assert(out[1] == ':');
880 const std::wstring prefix = LR"(\\?\)";
881 out = prefix + out.c_str();
882 }
883 return out;
884 }
885 return in;
886 }
887 } // namespace
888 #endif
889
890 void Reader::SetFileName(const char *uft8path)
829 void Reader::SetFileName(const char *utf8path)
891830 {
892831 if(Ifstream) delete Ifstream;
893832 Ifstream = new std::ifstream();
894 if (uft8path && *uft8path) {
833 if (utf8path && *utf8path) {
895834 #ifdef _MSC_VER
896 const std::wstring uft16path = ToUtf16(uft8path);
897 const std::wstring uncpath = HandleMaxPath(uft16path);
835 const std::wstring uncpath = System::ConvertToUNC(utf8path);
898836 Ifstream->open(uncpath.c_str(), std::ios::binary);
899837 #else
900 Ifstream->open( uft8path, std::ios::binary);
838 Ifstream->open( utf8path, std::ios::binary);
901839 #endif
902840 }
903841 if( Ifstream->is_open() )
368368 assert( r == (VR::VRType)(1 << (p-start)) );
369369 #else // old version not optimized
370370 VRType r = VR::VR_END;
371 for (int i = 1; VRStrings[i] != NULL; i++)
371 for (int i = 1; VRStrings[i] != nullptr; i++)
372372 {
373373 const char *ref = VRStrings[i];
374374 // Use lazy evaluation instead of strncmp
161161 return !os.fail();
162162 }
163163
164 void Writer::SetFileName(const char *filename)
164 void Writer::SetFileName(const char *utf8path)
165165 {
166166 //std::cerr << "Stream: " << filename << std::endl;
167167 //std::cerr << "Ofstream: " << Ofstream << std::endl;
174174 delete Ofstream;
175175 }
176176 Ofstream = new std::ofstream();
177 Ofstream->open(filename, std::ios::out | std::ios::binary );
178 assert( Ofstream->is_open() );
179 assert( !Ofstream->fail() );
177 if (utf8path && *utf8path)
178 {
179 #ifdef _MSC_VER
180 const std::wstring uncpath = System::ConvertToUNC(utf8path);
181 Ofstream->open(uncpath.c_str(), std::ios::out | std::ios::binary);
182 #else
183 Ofstream->open(utf8path, std::ios::out | std::ios::binary);
184 #endif
185 assert(Ofstream->is_open());
186 assert(!Ofstream->fail());
187 }
180188 //std::cerr << Stream.is_open() << std::endl;
181189 Stream = Ofstream;
182190 }
21342134 <entry ie="Image" name="VOI LUT" ref="C.11.2" usage="U"/>
21352135 <entry ie="Image" name="SOP Common" ref="C.12.1" usage="M"/>
21362136 </iod>
2137 <iod table="FUJI.2" name="Fuji Private Mammo CR Image IOD Modules">
2138 <entry ie="Patient" name="Patient" ref="C.7.1.1" usage="M"/>
2139 <entry ie="Patient" name="Specimen Identification" ref="C.7.1.2" usage="U"/>
2140 <entry ie="Patient" name="Clinical Trial Subject" ref="C.7.1.3" usage="U"/>
2141 <entry ie="Study" name="General Study" ref="C.7.2.1" usage="M"/>
2142 <entry ie="Study" name="Patient Study" ref="C.7.2.2" usage="U"/>
2143 <entry ie="Study" name="Clinical Trial Study" ref="C.7.2.3" usage="U"/>
2144 <entry ie="Series" name="General Series" ref="C.7.3.1" usage="M"/>
2145 <entry ie="Series" name="Clinical Trial Series" ref="C.7.3.2" usage="U"/>
2146 <entry ie="Series" name="DX Series" ref="C.8.11.1" usage="M"/>
2147 <entry ie="Series" name="Mammography Series" ref="C.8.11.6" usage="M"/>
2148 <entry ie="Frame of Reference" name="Frame of Reference" ref="C.7.4.1" usage="C - Required if multiple images are obtained without releasing breast compression"/>
2149 <entry ie="Equipment" name="General Equipment" ref="C.7.5.1" usage="M"/>
2150 <entry ie="Image" name="General Image" ref="C.7.6.1" usage="M"/>
2151 <entry ie="Image" name="Image Pixel" ref="C.7.6.3" usage="M"/>
2152 <entry ie="Image" name="Contrast/Bolus" ref="C.7.6.4" usage="U"/>
2153 <entry ie="Image" name="Display Shutter" ref="C.7.6.11" usage="U"/>
2154 <entry ie="Image" name="Device" ref="C.7.6.12" usage="U"/>
2155 <entry ie="Image" name="Intervention" ref="C.7.6.13" usage="U"/>
2156 <entry ie="Image" name="DX Anatomy Imaged" ref="C.8.11.2" usage="M"/>
2157 <entry ie="Image" name="DX Image" ref="C.8.11.3" usage="M"/>
2158 <entry ie="Image" name="DX Detector" ref="C.8.11.4" usage="M"/>
2159 <entry ie="Image" name="X-Ray Collimator" ref="C.8.7.3" usage="U"/>
2160 <entry ie="Image" name="DX Positioning" ref="C.8.11.5" usage="U"/>
2161 <entry ie="Image" name="X-Ray Tomo Acquisition" ref="C.8.7.7" usage="U"/>
2162 <entry ie="Image" name="X-Ray Acquisition Dose" ref="C.8.7.8" usage="U"/>
2163 <entry ie="Image" name="X-Ray Generation" ref="C.8.7.9" usage="U"/>
2164 <entry ie="Image" name="X-Ray Filtration" ref="C.8.7.10" usage="U"/>
2165 <entry ie="Image" name="X-Ray Grid" ref="C.8.7.11" usage="U"/>
2166 <entry ie="Image" name="Mammography Image" ref="C.8.11.7" usage="M"/>
2167 <entry ie="Image" name="Overlay Plane" ref="C.9.2" usage="C - Required if graphic annotation is present - See A.27.3"/>
2168 <entry ie="Image" name="VOI LUT" ref="C.11.2" usage="C - Required if Presentation Intent Type (0008,0068) is FOR PRESENTATION. Shall not be present otherwise."/>
2169 <entry ie="Image" name="Image Histogram" ref="C.11.5" usage="U"/>
2170 <entry ie="Image" name="Acquisition Context" ref="C.7.6.14" usage="M"/>
2171 <entry ie="Image" name="SOP Common" ref="C.12.1" usage="M"/>
2172 </iod>
2173
21372174 <module ref="C.2.1" table="C.2-1" name="Patient Relationship Module Attributes">
21382175 <entry group="0008" element="1110" name="Referenced Study Sequence">
21392176 <description>Uniquely identifies the Study SOP Instances associated with the Patient SOP Instance. One or more Items may be included in this Sequence.</description>
5454 tr.Read();
5555 }
5656
57 // http://dicom.nema.org/medical/dicom/current/output/chtml/part04/sect_B.5.html#table_B.5-1
5758 const char *Defs::GetIODNameFromMediaStorage(MediaStorage const &ms)
5859 {
5960 const char *iodname;
231232 case MediaStorage::FujiPrivateCRImageStorage:
232233 iodname = "Fuji Private CR Image IOD Modules";
233234 break;
235 case MediaStorage::FujiPrivateMammoCRImageStorage:
236 iodname = "Fuji Private Mammo CR Image IOD Modules";
237 break;
234238 case MediaStorage::CSANonImageStorage:
235239 iodname = "Siemens Non-image IOD Modules";
236240 break;
237241 case MediaStorage::VLMicroscopicImageStorage:
238242 iodname = "VL Microscopic Image IOD Modules";
243 break;
244 case MediaStorage::XRay3DCraniofacialImageStorage:
245 iodname = "X Ray 3D Craniofacial Image IOD Modules";
239246 break;
240247 default:
241248 iodname = nullptr;
7171 (void)atts;
7272 assert( ParsingMacroEntryDescription == false );
7373 ParsingMacroEntryDescription = true;
74 assert( *atts == NULL );
74 assert( *atts == nullptr );
7575 assert( Description == "" );
7676 }
7777
9090 (void)atts;
9191 assert( ParsingModuleEntryDescription == false );
9292 ParsingModuleEntryDescription = true;
93 assert( *atts == NULL );
93 assert( *atts == nullptr );
9494 assert( Description == "" );
9595 }
9696
505505 || ds.FindDataElement( Tag(0x0012,0x0062) )
506506 || ds.FindDataElement( Tag(0x0012,0x0063) ) )
507507 {
508 gdcmDebugMacro( "EncryptedContentTransferSyntax Attribute is present !" );
508 gdcmErrorMacro( "EncryptedContentTransferSyntax Attribute is present !" );
509509 return false;
510510 }
511511 #if 0
430430 {
431431 Bitmap *i = const_cast<Bitmap*>(this);
432432 gdcmWarningMacro( "Encapsulated stream has fewer bits actually stored on disk. correcting." );
433 i->GetPixelFormat().SetBitsAllocated( cpf.GetBitsAllocated() );
434 i->GetPixelFormat().SetBitsStored( cpf.GetBitsStored() );
435 }
436 else if( cpf.GetBitsStored() < pf.GetBitsStored() )
437 {
438 Bitmap *i = const_cast<Bitmap*>(this);
439 gdcmWarningMacro( "Encapsulated stream has more bits actually stored on disk. correcting." );
433440 i->GetPixelFormat().SetBitsAllocated( cpf.GetBitsAllocated() );
434441 i->GetPixelFormat().SetBitsStored( cpf.GetBitsStored() );
435442 }
731738 {
732739 gdcmErrorMacro( "EVIL file, it is declared as lossless but is in fact lossy." );
733740 }
741 const PixelFormat & cpf = codec.GetPixelFormat();
742 const PixelFormat & pf = GetPixelFormat();
743 if( cpf.GetBitsAllocated() == pf.GetBitsAllocated() )
744 {
745 if( cpf.GetPixelRepresentation() == pf.GetPixelRepresentation() )
746 {
747 if( cpf.GetSamplesPerPixel() == pf.GetSamplesPerPixel() )
748 {
749 if( cpf.GetBitsStored() < pf.GetBitsStored() )
750 {
751 Bitmap *i = const_cast<Bitmap*>(this);
752 gdcmWarningMacro( "Encapsulated stream has fewer bits actually stored on disk. correcting." );
753 i->GetPixelFormat().SetBitsAllocated( cpf.GetBitsAllocated() );
754 i->GetPixelFormat().SetBitsStored( cpf.GetBitsStored() );
755 }
756 else if( cpf.GetBitsStored() > pf.GetBitsStored() )
757 {
758 Bitmap *i = const_cast<Bitmap*>(this);
759 gdcmWarningMacro( "Encapsulated stream has more bits actually stored on disk. correcting." );
760 i->GetPixelFormat().SetBitsAllocated( cpf.GetBitsAllocated() );
761 i->GetPixelFormat().SetBitsStored( cpf.GetBitsStored() );
762 }
763 }
764 }
765 }
766 else
767 {
768 gdcmWarningMacro( "Bits Allocated are different. This is pretty bad using info from codestream" );
769 Bitmap *i = const_cast<Bitmap*>(this);
770 i->SetPixelFormat( codec.GetPixelFormat() );
771 }
734772
735773 return r;
736774 }
802840 {
803841 Bitmap *i = const_cast<Bitmap*>(this);
804842 gdcmWarningMacro( "Encapsulated stream has fewer bits actually stored on disk. correcting." );
843 i->GetPixelFormat().SetBitsAllocated( cpf.GetBitsAllocated() );
844 i->GetPixelFormat().SetBitsStored( cpf.GetBitsStored() );
845 }
846 else if( cpf.GetBitsStored() > pf.GetBitsStored() )
847 {
848 Bitmap *i = const_cast<Bitmap*>(this);
849 gdcmWarningMacro( "Encapsulated stream has more bits actually stored on disk. correcting." );
850 i->GetPixelFormat().SetBitsAllocated( cpf.GetBitsAllocated() );
805851 i->GetPixelFormat().SetBitsStored( cpf.GetBitsStored() );
806852 }
807853 }
103103 const VR &devr = de.GetVR();
104104 if( devr != VR::INVALID && devr != VR::UN )
105105 {
106 gdcmWarningMacro("Please report. Missing dict entry for: " << de );
106 gdcmWarningMacro("Please report. Missing dict entry for: [" << owner << "]" << " de is: " << de );
107107 return devr;
108108 }
109109 // CP-246
9494 //assert( de.GetVR() == VR::INVALID );
9595 VR cvr = DataSetHelper::ComputeVR(*F,ds, t);
9696 VR oldvr = de.GetVR();
97 if( cvr == VR::SQ ) { assert( oldvr == VR::SQ || oldvr == VR::UN || oldvr == VR::INVALID ); }
9798 //SequenceOfItems *sqi = de.GetSequenceOfItems();
9899 //SequenceOfItems *sqi = dynamic_cast<SequenceOfItems*>(&de.GetValue());
99100 SmartPointer<SequenceOfItems> sqi = nullptr;
100 if( vr == VR::SQ )
101 if( vr == VR::SQ
102 || cvr == VR::SQ ) // CP-246 + Private SQ (not in dict)
101103 {
102104 sqi = de.GetValueAsSQ();
103105 if(!sqi)
104106 {
105107 if( !de.IsEmpty() )
106108 {
107 gdcmErrorMacro("DICOM file written out may not be readable" );
109 gdcmWarningMacro("DICOM file written out may not be readable" );
108110 cvr = VR::UN;
109111 }
110112 }
308308 {
309309 // if you trigger this assertion, this means we have been allocating
310310 // memory for an element when not needed.
311 assert( (de.GetByteValue() && de.GetByteValue()->GetPointer() == 0) || de.GetSequenceOfFragments() );
311 assert( (de.GetByteValue() && de.GetByteValue()->GetPointer() == nullptr) || de.GetSequenceOfFragments() );
312312 }
313313 actualde = de.GetVL() + 2 * de.GetVR().GetLength() + 4;
314314 thepos -= actualde;
318318 // no attribute found, easy case !
319319 }
320320 }
321 assert( pFile == NULL );
321 assert( pFile == nullptr );
322322 pFile = fopen(outfilename, "r+b");
323323 assert( pFile );
324324 CurrentDataLenth = 0;
585585 }
586586
587587 const size_t pclen = dicomdata.size();
588 assert( pFile == NULL );
588 assert( pFile == nullptr );
589589 pFile = fopen(outfilename, "r+b");
590590 assert( pFile );
591591
172172 return false;
173173 }
174174
175 // http://www.itk.org/pipermail/insight-users/2003-September/004762.html
175 // https://www.itk.org/pipermail/insight-users/2003-September/004762.html
176176 // Compute normal:
177177 // The steps I take when reconstructing a volume are these: First,
178178 // calculate the slice normal from IOP:
442442 {
443443 Bitmap &outbitmap = *Output;
444444 Pixmap *outpixmap = dynamic_cast<Pixmap*>( &outbitmap );
445 assert( outpixmap != NULL );
445 assert( outpixmap != nullptr );
446446 if( !pixmap->GetIconImage().IsEmpty() )
447447 {
448448 // same goes for icon
281281 }
282282 }
283283 } else {
284 // single slice
284 // single slice, this is not an error to not find the zspacing in this case.
285 zspacing = 1.0;
285286 const Tag tfgs0(0x5200,0x9229);
286 if( !ds.FindDataElement( tfgs0 ) ) return false;
287 if( !ds.FindDataElement( tfgs0 ) ) return true;
287288 SmartPointer<SequenceOfItems> sqi0 = ds.GetDataElement( tfgs0 ).GetValueAsSQ();
288 if( !(sqi0 && sqi0->GetNumberOfItems() > 0) ) return false;
289 if( !(sqi0 && sqi0->GetNumberOfItems() > 0) ) return true;
289290 // Get first item:
290291 const Item &item = sqi0->GetItem(1);
291292 const DataSet & subds = item.GetNestedDataSet();
292293 // <entry group="0028" element="9110" vr="SQ" vm="1" name="Pixel Measures Sequence"/>
293294 const Tag tpms(0x0028,0x9110);
294 if( !subds.FindDataElement(tpms) ) return false;
295 if( !subds.FindDataElement(tpms) ) return true;
295296 //const SequenceOfItems * sqi2 = subds.GetDataElement( tpms ).GetSequenceOfItems();
296297 SmartPointer<SequenceOfItems> sqi2 = subds.GetDataElement( tpms ).GetValueAsSQ();
297298 assert( sqi2 );
299300 const DataSet & subds2 = item2.GetNestedDataSet();
300301 // <entry group="0028" element="0030" vr="DS" vm="2" name="Pixel Spacing"/>
301302 const Tag tps(0x0018,0x0088);
302 if( !subds2.FindDataElement(tps) ) return false;
303 if( !subds2.FindDataElement(tps) ) return true;
303304 const DataElement &de = subds2.GetDataElement( tps );
304305 Attribute<0x0018,0x0088> at;
305306 at.SetFromDataElement( de );
447448
448449 if( ms == MediaStorage::EnhancedCTImageStorage
449450 || ms == MediaStorage::EnhancedMRImageStorage
451 || ms == MediaStorage::EnhancedMRColorImageStorage
450452 || ms == MediaStorage::EnhancedPETImageStorage
451453 || ms == MediaStorage::OphthalmicTomographyImageStorage
452454 || ms == MediaStorage::MultiframeSingleBitSecondaryCaptureImageStorage
580582
581583 if( ms == MediaStorage::EnhancedCTImageStorage
582584 || ms == MediaStorage::EnhancedMRImageStorage
585 || ms == MediaStorage::EnhancedMRColorImageStorage
583586 || ms == MediaStorage::EnhancedPETImageStorage
584587 || ms == MediaStorage::MultiframeSingleBitSecondaryCaptureImageStorage
585588 || ms == MediaStorage::MultiframeGrayscaleByteSecondaryCaptureImageStorage
915918 // cleanup pass:
916919 if( ms == MediaStorage::EnhancedCTImageStorage
917920 || ms == MediaStorage::EnhancedMRImageStorage
921 || ms == MediaStorage::EnhancedMRColorImageStorage
918922 || ms == MediaStorage::EnhancedPETImageStorage
919923 || ms == MediaStorage::MultiframeSingleBitSecondaryCaptureImageStorage
920924 || ms == MediaStorage::MultiframeGrayscaleByteSecondaryCaptureImageStorage
953957
954958 if( ms == MediaStorage::EnhancedCTImageStorage
955959 || ms == MediaStorage::EnhancedMRImageStorage
960 /*|| ms == MediaStorage::EnhancedMRColorImageStorage*/
956961 || ms == MediaStorage::EnhancedPETImageStorage
957962 || ms == MediaStorage::XRay3DAngiographicImageStorage
958963 || ms == MediaStorage::XRay3DCraniofacialImageStorage
11661171 case MediaStorage::XRayAngiographicImageStorage:
11671172 case MediaStorage::XRayRadiofluoroscopingImageStorage:
11681173 case MediaStorage::XRayAngiographicBiPlaneImageStorageRetired:
1174 case MediaStorage::FujiPrivateMammoCRImageStorage:
11691175 // (0018,1164) DS [0.5\0.5] # 8, 2 ImagerPixelSpacing
11701176 t = Tag(0x0018,0x1164);
11711177 break;
11821188 t = Tag(0x0018,0x2010);
11831189 break;
11841190 case MediaStorage::HardcopyGrayscaleImageStorage:
1185 t = Tag(0xffff,0xffff);
1191 case MediaStorage::HardcopyColorImageStorage:
1192 t = Tag(0x0018,0x2010); // Nominal Scanned Pixel Spacing
11861193 break;
11871194 case MediaStorage::GEPrivate3DModelStorage: // FIXME FIXME !!!
11881195 case MediaStorage::Philips3D:
13001307
13011308 if( ms == MediaStorage::EnhancedCTImageStorage
13021309 || ms == MediaStorage::EnhancedMRImageStorage
1310 || ms == MediaStorage::EnhancedMRColorImageStorage
13031311 || ms == MediaStorage::EnhancedPETImageStorage
13041312 || ms == MediaStorage::OphthalmicTomographyImageStorage
13051313 || ms == MediaStorage::MultiframeSingleBitSecondaryCaptureImageStorage
16051613
16061614 if( ms == MediaStorage::EnhancedCTImageStorage
16071615 || ms == MediaStorage::EnhancedMRImageStorage
1616 || ms == MediaStorage::EnhancedMRColorImageStorage
16081617 || ms == MediaStorage::EnhancedPETImageStorage
16091618 || ms == MediaStorage::MultiframeSingleBitSecondaryCaptureImageStorage
16101619 || ms == MediaStorage::MultiframeGrayscaleByteSecondaryCaptureImageStorage
18881897 && ms != MediaStorage::XRay3DAngiographicImageStorage
18891898 && ms != MediaStorage::XRay3DCraniofacialImageStorage
18901899 && ms != MediaStorage::EnhancedMRImageStorage
1900 && ms != MediaStorage::EnhancedMRColorImageStorage
18911901 && ms != MediaStorage::EnhancedPETImageStorage
18921902 && ms != MediaStorage::EnhancedCTImageStorage
18931903 && ms != MediaStorage::IVOCTForPresentation
19051915
19061916 if( ms == MediaStorage::EnhancedCTImageStorage
19071917 || ms == MediaStorage::EnhancedMRImageStorage
1918 || ms == MediaStorage::EnhancedMRColorImageStorage
19081919 || ms == MediaStorage::EnhancedPETImageStorage
19091920 || ms == MediaStorage::XRay3DAngiographicImageStorage
19101921 || ms == MediaStorage::XRay3DCraniofacialImageStorage
20362047 && ms != MediaStorage::XRay3DAngiographicImageStorage
20372048 && ms != MediaStorage::XRay3DCraniofacialImageStorage
20382049 && ms != MediaStorage::EnhancedMRImageStorage
2050 && ms != MediaStorage::EnhancedMRColorImageStorage
20392051 && ms != MediaStorage::EnhancedPETImageStorage
20402052 && ms != MediaStorage::EnhancedCTImageStorage
20412053 && ms != MediaStorage::IVOCTForPresentation
20722084
20732085 if( ms == MediaStorage::EnhancedCTImageStorage
20742086 || ms == MediaStorage::EnhancedMRImageStorage
2087 || ms == MediaStorage::EnhancedMRColorImageStorage
20752088 || ms == MediaStorage::EnhancedPETImageStorage
20762089 || ms == MediaStorage::MultiframeSingleBitSecondaryCaptureImageStorage
20772090 || ms == MediaStorage::MultiframeGrayscaleByteSecondaryCaptureImageStorage
21712184 && ms != MediaStorage::MultiframeGrayscaleWordSecondaryCaptureImageStorage
21722185 && ms != MediaStorage::MultiframeTrueColorSecondaryCaptureImageStorage
21732186 && ms != MediaStorage::EnhancedMRImageStorage
2187 /*&& ms != MediaStorage::EnhancedMRColorImageStorage*/
21742188 && ms != MediaStorage::EnhancedCTImageStorage
21752189 && ms != MediaStorage::EnhancedPETImageStorage
21762190 && ms != MediaStorage::XRay3DAngiographicImageStorage
21952209 if( ms == MediaStorage::SegmentationStorage ) return; // seg storage cannot have rescale slope
21962210 if( ms == MediaStorage::EnhancedCTImageStorage
21972211 || ms == MediaStorage::EnhancedMRImageStorage
2212 /*|| ms == MediaStorage::EnhancedMRColorImageStorage*/
21982213 || ms == MediaStorage::EnhancedPETImageStorage
21992214 || ms == MediaStorage::XRay3DAngiographicImageStorage
22002215 || ms == MediaStorage::XRay3DCraniofacialImageStorage
28362851 }
28372852 }
28382853 }
2854 // check 'DX' / dim == 2:
2855 if( ms == MediaStorage::DigitalXRayImageStorageForPresentation )
2856 {
2857 if( intercept != 0.0 || slope != 1.0 )
2858 {
2859 // hopefully this is not a lame choice:
2860 ms = MediaStorage::XRay3DCraniofacialImageStorage;
2861 }
2862 }
28392863 return ms;
28402864 }
28412865
2222 class Image;
2323 /**
2424 * \brief ImageWriter
25 *
26 * This is an extended version of the PixmapWriter. Pay attention that:
27 * 1. It will populate missing attribute for Secondary Capture Image Storage instances,
28 * 2. It may also change an input MR Image Storage instance into a pseudo Enhanced MR Image Storage instance whenever Modality LUT is required.
29 * 3. Some DataElement related to gdcm::Image may be slightly altered.
2530 */
2631 class GDCM_EXPORT ImageWriter : public PixmapWriter
2732 {
100100 {
101101 BitSample = bit;
102102 delete Internal; Internal = nullptr;
103 assert( Internal == NULL );
103 assert( Internal == nullptr );
104104 // what should I do with those single bit images ?
105105 if ( BitSample <= 8 )
106106 {
259259 if( Internal->BitsAllocated == 16 )
260260 {
261261 //assert( Internal->BitPosition >= 12 );
262 if( ds.FindDataElement( Tag(0x7fe0,0x0010) ) )
262 if( !ds.FindDataElement( Tag(0x7fe0,0x0010) ) )
263263 {
264264 gdcmWarningMacro("Could not find Pixel Data. Cannot extract Overlay." );
265265 return false;
6666 } ScalarType;
6767
6868 // default cstor:
69 PixelFormat () : PixelFormat(1, 8, 8, 7, 0) {}
70
6971 explicit PixelFormat (
70 unsigned short samplesperpixel = 1,
72 unsigned short samplesperpixel,
7173 unsigned short bitsallocated = 8,
7274 unsigned short bitsstored = 8,
7375 unsigned short highbit = 7,
615615 isacrnema = true;
616616 const char *str = ds.GetDataElement( trecognitioncode ).GetByteValue()->GetPointer();
617617 assert( strncmp( str, "ACR-NEMA", strlen( "ACR-NEMA" ) ) == 0 ||
618 strncmp( str, "ACRNEMA", strlen( "ACRNEMA" ) ) == 0 );
618 strncmp( str, "ACRNEMA", strlen( "ACRNEMA" ) ) == 0 ||
619 strncmp( str, "MIPS 2.0", strlen( "MIPS 2.0" ) ) == 0 );
619620 (void)str;//warning removal
620621 }
621622
620620 case 12:
621621 case 16:
622622 case 32:
623 depixdata.SetVR( VR::OW );
623 if( depixdata.GetSequenceOfFragments() )
624 depixdata.SetVR( VR::OB );
625 else
626 depixdata.SetVR( VR::OW );
624627 break;
625628 default:
626629 assert( 0 && "should not happen" );
145145 {
146146 st = PixelFormat::UINT32;
147147 }
148 else if( max <= std::numeric_limits<uint64_t>::max() )
148 else if( max <= static_cast<double>(std::numeric_limits<uint64_t>::max()) )
149149 {
150150 // very large value in Rescale Slope ?
151151 return PixelFormat::FLOAT64;
173173 {
174174 st = PixelFormat::INT32;
175175 }
176 else if( max <= std::numeric_limits<int64_t>::max()
177 && min >= std::numeric_limits<int64_t>::min() )
176 else if( max <= static_cast<double>(std::numeric_limits<int64_t>::max())
177 && min >= static_cast<double>(std::numeric_limits<int64_t>::min() ) )
178178 {
179179 // very large value in Rescale Slope ?
180180 return PixelFormat::FLOAT64;
424424 dmax = (_min - intercept ) / slope;
425425 }
426426 assert( dmin <= dmax );
427 assert( dmax <= std::numeric_limits<int64_t>::max() );
428 assert( dmin >= std::numeric_limits<int64_t>::min() );
427 assert( dmax <= static_cast<double>(std::numeric_limits<int64_t>::max() ) );
428 assert( dmin >= static_cast<double>(std::numeric_limits<int64_t>::min() ) );
429429 /*
430430 * Tricky: what happen in the case where floating point approximate dmax as: 65535.000244081035
431431 * Take for instance: _max = 64527, intercept = -1024, slope = 1.000244140625
5151 * Example: Let say input is FLOAT64, and we want UINT16 as ouput, we would do:
5252 *
5353 *\code
54 * Rescaler ir;
55 * ir.SetIntercept( 0 );
56 * ir.SetSlope( 5.6789 );
57 * ir.SetPixelFormat( FLOAT64 );
58 * ir.SetMinMaxForPixelType( ((PixelFormat)UINT16).GetMin(), ((PixelFormat)UINT16).GetMax() );
59 * ir.InverseRescale(output,input,numberofbytes );
60 *\endcode
54 Rescaler ir;
55 ir.SetIntercept( 0 );
56 ir.SetSlope( 5.6789 );
57 ir.SetPixelFormat( FLOAT64 );
58 ir.SetMinMaxForPixelType( ((PixelFormat)UINT16).GetMin(), ((PixelFormat)UINT16).GetMax() );
59 ir.InverseRescale(output,input,numberofbytes );
60 \endcode
6161 *
6262 * \note handle floating point transformation back and forth to integer
6363 * properly (no loss)
9292 bool ImageNumberOrdering( FileList *fileList );
9393 bool FileNameOrdering( FileList *fileList );
9494
95 typedef struct {
95 using Rule = struct RuleStructure{
9696 uint16_t group;
9797 uint16_t elem;
9898 std::string value;
9999 int op;
100 } Rule;
100 };
101101 typedef std::vector<Rule> SerieRestrictions;
102102
103103 typedef std::map<std::string, FileList *> SingleSerieUIDFileSetmap;
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3939 std::string StringFilter::ToString(const Tag& t) const
4040 {
4141 return ToStringPair(t).second;
42 }
43
44 std::string StringFilter::ToString(const PrivateTag& privTag) const
45 {
46 const DataSet &ds = GetFile().GetDataSet();
47 const DataElement &de = ds.GetDataElement(privTag);
48 return ToStringPair(de).second;
4249 }
4350
4451 std::string StringFilter::ToString(const DataElement& de) const
4545 /// Directly from a Tag:
4646 std::string ToString(const Tag& t) const;
4747
48 std::string ToString(const PrivateTag& t) const;
49
4850 /// Convert to string the ByteValue contained in a DataElement
4951 /// the returned elements are:
5052 /// pair.first : the name as found in the dictionary of DataElement
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
00 /*=========================================================================
11 *
2 * Copyright Insight Software Consortium
2 * Copyright NumFOCUS
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
243243 { "2fd5ad3e9265861be43b6a341314cc52" , "FUJI-ffff-MONO1-J2K.dcm" },
244244 { "69648b9be35a621e9e5b447df656ab18" , "JPEGLosslessSeNonZero.dcm" },
245245 { "c0ee318130c0fcf35b0f57670a8f1e0d" , "US-YBR_FULL_422-EVRLE.dcm" },
246 { "3d873e4c19bf5513959c6cc1a184e2df" , "Osirix10vs8BitsStored.dcm" },
247 { "5141fe286ad2e39259dac231e3d10b41" , "Bug_Siemens_PrivateIconNoItem.dcm" },
248 { "3155af485dc3f490cc9e212f95499615" , "HardcopyColor_YBR_RCT_J2K_PC1.dcm" },
249 { "ab93bd11ce0f48e2e9e1c700df160a30" , "PET-GE-dicomwrite-PixelDataSQUNv2.dcm" },
246250
247251 { nullptr, nullptr}
248252 };
240240 { "566387063a28df033d891ac48a42dbb3f6b6a65f" , "FUJI-ffff-MONO1-J2K.dcm" },
241241 { "cb4be6eb5b38940067a1b74ca0360bbb8c66c449" , "JPEGLosslessSeNonZero.dcm" },
242242 { "53137beb3f73345771ff853d670addd81e58906e" , "US-YBR_FULL_422-EVRLE.dcm" },
243 { "78088c2bfe34911c46476f5fd110c9e0d9813044" , "Osirix10vs8BitsStored.dcm" },
244 { "31f0556c75829dee3850414e166863220f9e03da" , "Bug_Siemens_PrivateIconNoItem.dcm" },
245 { "129b3cebd15fd1edb55c8fae75976501f2601dce" , "HardcopyColor_YBR_RCT_J2K_PC1.dcm" },
246 { "2ac195a776c8cb9f0e6eb2e297bd2bf37bb11697" , "PET-GE-dicomwrite-PixelDataSQUNv2.dcm" },
243247
244248 { NULL, NULL}
245249 };
1515 #include <iostream>
1616
1717 #include <string.h> // strlen
18 #include <stdio.h> // EOF
1918
2019 int TestString2(int , char *[])
2120 {
2524 gdcm::String<> s2 = "coucou!";
2625 std::cout << s2 << " -> " << s2.size() << std::endl;
2726
28 gdcm::String<EOF,64,0> s3 = "coucou";
27 gdcm::String<'\0',64,0> s3 = "coucou";
2928 std::cout << s3.c_str() << " -> " << s3.size() << std::endl;
3029
31 gdcm::String<EOF,64,0> s4 = "coucou!";
30 gdcm::String<'\0',64,0> s4 = "coucou!";
3231 std::cout << s4.c_str() << " -> " << s4.size() << std::endl;
3332
3433 const char *s = "coucou!";
35 gdcm::String<EOF,64,0> s5( s, strlen(s) );
34 gdcm::String<'\0',64,0> s5( s, strlen(s) );
3635 std::cout << s5.c_str() << " -> " << s5.size() << std::endl;
3736
3837 std::string ss = "coucou!";
39 gdcm::String<EOF,64,0> s6( ss );
38 gdcm::String<'\0',64,0> s6( ss );
4039 std::cout << s6.c_str() << " -> " << s6.size() << std::endl;
4140
42 gdcm::String<EOF,64,0> s7( ss, 1, 5 );
41 gdcm::String<'\0',64,0> s7( ss, 1, 5 );
4342 std::cout << s7.c_str() << " -> " << s7.size() << std::endl;
4443
45 gdcm::String<EOF,64,0> s8( ss, 1, 6 );
44 gdcm::String<'\0',64,0> s8( ss, 1, 6 );
4645 std::cout << s8.c_str() << " -> " << s8.size() << std::endl;
4746
4847 return 0;
4949 PET-cardio-Multiframe-Papyrus.dcm
5050 # No way to read this image:
5151 ELSCINT1_LOSSLESS_RICE.dcm
52 # SignedShortLossless has never really been supported anyway:
53 SignedShortLosslessBug.dcm
54 # Would need to process ALL Pixel Data element when decompressing:
55 PET-GE-dicomwrite-PixelDataSQUNv3.dcm
5256 # Toshiba US Private Data Storage 1.2.392.200036.9116.7.8.1.1.1
5357 TOSHIBA_MDW_HEADER.dcm
5458 # TODO, nasty:
9292 // Two Items in a single Frame JPEG compressed DICOM image:
9393 { "cd00658f54dbd2d2a9d02d64c6f6497e" , "JPEGInvalidSecondFrag.dcm" },
9494
95 // VR is set to 'OX'
96 { "5793021ffb7b3506ae22ae9329d67d29" , "Bug_Siemens_PrivateIconNoItem.dcm" },
97
9598 { nullptr ,nullptr }
9699 };
97100
706706
707707 { "b9697e3615a841e4c04f45ede6923278" , "JPEGLosslessSeNonZero.dcm" },
708708 { "5fcd7d6573cab16d2ef575bba878ec78" , "US-YBR_FULL_422-EVRLE.dcm" },
709
709 { "d62b4c13e8108671f1c66626c5bdee55" , "Osirix10vs8BitsStored.dcm" },
710
711 { "b7c6fb507da1b7a3f81f821a2e3eaf49" , "Bug_Siemens_PrivateIconNoItem.dcm" },
712 { "56238d3665ebdb0251d1161fb7f4edc6" , "HardcopyColor_YBR_RCT_J2K_PC1.dcm" },
713 { "5fe2b8742f05a0ba06d354f965266dbc" , "PET-GE-dicomwrite-PixelDataSQUNv2.dcm" },
710714
711715 /* Stopping condition */
712716 { nullptr ,nullptr }
255255 { "JPEGLosslessSeNonZero.dcm" , "1.2.840.10008.5.1.4.1.1.7" },
256256 { "US-YBR_FULL_422-EVRLE.dcm" , "1.2.840.10008.5.1.4.1.1.6.1" },
257257 { "PET-GE-dicomwrite-PixelDataSQUN.dcm" , "1.2.840.10008.5.1.4.1.1.128" },
258 { "Osirix10vs8BitsStored.dcm" , "1.2.840.10008.5.1.4.1.1.4" },
259 { "Bug_Siemens_PrivateIconNoItem.dcm" , "1.2.840.10008.5.1.4.1.1.2" },
260 { "HardcopyColor_YBR_RCT_J2K_PC1.dcm" , "1.2.840.10008.5.1.1.30" },
261 { "PET-GE-dicomwrite-PixelDataSQUNv2.dcm" , "1.2.840.10008.5.1.4.1.1.128" },
258262
259263 /* Stopping condition */
260264 { nullptr ,nullptr }
235235 { "FUJI-ffff-MONO1-J2K.dcm",982},
236236 { "JPEGLosslessSeNonZero.dcm",530},
237237 { "US-YBR_FULL_422-EVRLE.dcm",744},
238 { "Osirix10vs8BitsStored.dcm",1512},
239 { "Bug_Siemens_PrivateIconNoItem.dcm",1360},
240 { "HardcopyColor_YBR_RCT_J2K_PC1.dcm",1284},
241 { "PET-GE-dicomwrite-PixelDataSQUNv2.dcm",4620},
238242 { "dicomdir_With_embedded_icons",7125212 },
239243 { "dicomdir_Pms_WithVisit_WithPrivate_WithStudyComponents",37218 },
240244 { "dicomdir_Acusson_WithPrivate_WithSR",3826 },
237237 { "FUJI-ffff-MONO1-J2K.dcm",2040},
238238 { "JPEGLosslessSeNonZero.dcm",748},
239239 { "US-YBR_FULL_422-EVRLE.dcm",1542},
240 { "Osirix10vs8BitsStored.dcm",73966},
241 { "Bug_Siemens_PrivateIconNoItem.dcm",12966},
242 { "HardcopyColor_YBR_RCT_J2K_PC1.dcm",2614},
243 { "PET-GE-dicomwrite-PixelDataSQUNv2.dcm",7706},
240244 { "dicomdir_Acusson_WithPrivate_WithSR",3826 },
241245 { "dicomdir_Pms_WithVisit_WithPrivate_WithStudyComponents",37218 },
242246 { "dicomdir_Pms_With_heavy_embedded_sequence",3003414 },
242242 { "FUJI-ffff-MONO1-J2K.dcm",2052 },
243243 { "JPEGLosslessSeNonZero.dcm",760 },
244244 { "US-YBR_FULL_422-EVRLE.dcm",1554 },
245 { "Osirix10vs8BitsStored.dcm",73978 },
246 { "Bug_Siemens_PrivateIconNoItem.dcm",12978 },
247 { "HardcopyColor_YBR_RCT_J2K_PC1.dcm",2626 },
248 { "PET-GE-dicomwrite-PixelDataSQUNv2.dcm",7718 },
245249
246250 /* Stopping condition */
247251 { nullptr ,0 },
2424 if( std::string(s[1] ) != "Basic Directory IOD Modules" ) return 1;
2525
2626 // points to { nullptr, nullptr }, hardcoded
27 gdcm::SOPClassUIDToIOD::SOPClassUIDToIODType& s2 = gdcm::SOPClassUIDToIOD::GetSOPClassUIDToIOD(106);
27 gdcm::SOPClassUIDToIOD::SOPClassUIDToIODType& s2 = gdcm::SOPClassUIDToIOD::GetSOPClassUIDToIOD(107);
2828 std::cout << ( s2[0] == nullptr ) << std::endl;
29 if( !(s2[0] == nullptr) ) return 1;
30 std::cout << ( s2[1] == nullptr ) << std::endl;
29 if( !(s2[0] == nullptr) ) {
30 std::cerr << s2[1] << std::endl;
31 return 1;
32 }
3133 if( !(s2[1] == nullptr) ) return 1;
3234
3335 const char *sopclassuid = gdcm::SOPClassUIDToIOD::GetSOPClassUIDFromIOD( s[1] );
5959 TestStringFilter1
6060 TestStringFilter2
6161 TestStringFilter3
62 TestStringFilter4
6263 TestUIDGenerator
6364 TestUUIDGenerator
6465 #TestUIDGenerator3
2828
2929 namespace gdcm
3030 {
31 int TestAnonymize2(const char *subdir, const char *filename)
31 int TestAnonymize2(const char *subdir, const char *filename, bool verbose = false)
3232 {
3333 gdcm::Global& g = gdcm::Global::GetInstance();
3434 if( !g.LoadResourcesFiles() )
4646 System::MakeDirectory( tmpdir.c_str() );
4747 //return 1;
4848 }
49 if(verbose) std::cout << "Processing: " << filename << std::endl;
4950 std::string outfilename = Testing::GetTempFilename( filename, subdir );
5051
5152 // Create directory first:
102103 ano->SetFile( reader.GetFile() );
103104 if( !ano->BasicApplicationLevelConfidentialityProfile() )
104105 {
106 gdcm::Filename fn( filename );
107 if( strcmp(fn.GetName(), "EmptyIcon_Bug417.dcm") == 0 // not supported for now (already anonymized)
108 || strcmp(fn.GetName(), "PET-GE-dicomwrite-PixelDataSQUNv2.dcm") == 0 // not supported for now (already anonymized)
109 || strcmp(fn.GetName(), "HardcopyColor_YBR_RCT_J2K_PC1.dcm") == 0 // deprecated SOP Class UID
110 )
111 {
112 return 0;
113 }
105114 if( ms != gdcm::MediaStorage::MS_END )
106115 {
107116 std::cerr << "BasicApplicationLevelConfidentialityProfile fails for: " << filename << std::endl;
192201 if( argc == 2 )
193202 {
194203 const char *filename = argv[1];
195 return gdcm::TestAnonymize2(argv[0], filename);
204 return gdcm::TestAnonymize2(argv[0], filename, true);
196205 }
197206
198207 // else
105105 {
106106 assert( vr == VR::DS || vr == VR::SS || vr == VR::SH );
107107 assert( vr2 == VR::IS || vr2 == VR::US || vr2 == VR::CS );
108 return vr;
109 }
110 // PHILIPS_Gyroscan-12-Jpeg_Extended_Process_2_4.dcm
111 if( de.GetTag() == Tag(0x0008,0x0040) )
112 {
113 assert( vr == VR::SS );
114 assert( vr2 == VR::US );
108115 return vr;
109116 }
110117 if( vr == VR::SQ || vr2 == VR::SQ )
228235 return 1;
229236 }
230237
231 const gdcm::Global &g = gdcm::GlobalInstance;
232 const gdcm::Dicts &dicts = g.GetDicts();
233238 const gdcm::File & file = r.GetFile();
234239 gdcm::Printer2 print;
235240 print.SetFile( file );
7575 || strcmp(name, "PICKER-16-MONO2-No_DicomV3_Preamble.dcm" ) == 0
7676 || strcmp(name, "OT-PAL-8-face.dcm" ) == 0
7777 || strcmp(name, "TG18-CH-2k-01.dcm" ) == 0 // wotsit ?
78 || strcmp(name, "HardcopyColor_YBR_RCT_J2K_PC1.dcm" ) == 0 // RamSoft Inc.
7879 || strncmp(name, "D_CLUNIE", 8) == 0 // D_CLUNIE*
7980 || strncmp(name, "LEADTOOLS_FLOWERS", 17) == 0 // LEADTOOLS_FLOWERS*
8081 || strncmp(name, "JDDICOM", 7) == 0 // JDDICOM*
3636 { "620f0b67a91f7f74151bc5be745b7110" , "MR-SIEMENS-DICOM-WithOverlays-extracted-overlays.dcm" },
3737 { "938f6ea0bea13ff5c45c7934e603caac" , "US-GE-4AICL142.dcm" },
3838 { "9c145bbfd00e867d5f9f6efe9651a71e" , "SIEMENS_SYNGO-12-MONO2-LUTWrongLength512.dcm" },
39 { "48bf71ea2e18b0632ec318d55fb455ab" , "Bug_Siemens_PrivateIconNoItem.dcm" },
40 { "a29e9def9a1478c9f8b957c68b33885b" , "PET-GE-dicomwrite-PixelDataSQUNv2.dcm" },
3941
4042 // VEPRO VIF
4143 { "ea4673b2aa72f477188bac340e115f4c" , "PHILIPS_Gyroscan-12-MONO2-Jpeg_Lossless.dcm" },
113115 }
114116 else
115117 {
116 assert( refmd5 == 0 );
118 assert( refmd5 == nullptr );
117119 }
118120
119121 return 0;
209209 {"f4f35d60b3cc18aaa6d8d92f0cd3708a" , "NM-PAL-16-PixRep1.dcm" },
210210 {"843f097f2161014cd1b11be5413eace9" , "MEDILABInvalidCP246_EVRLESQasUN.dcm" },
211211 {"c103d405ae61aa4ed148e17157e5afc1" , "JPEGInvalidSecondFrag.dcm" },
212 {"c103d405ae61aa4ed148e17157e5afc1" , "Osirix10vs8BitsStored.dcm" },
213 {"c103d405ae61aa4ed148e17157e5afc1" , "Bug_Siemens_PrivateIconNoItem.dcm" },
214 {"c103d405ae61aa4ed148e17157e5afc1" , "HardcopyColor_YBR_RCT_J2K_PC1.dcm" },
215 {"c103d405ae61aa4ed148e17157e5afc1" , "PET-GE-dicomwrite-PixelDataSQUNv2.dcm" },
212216
213217 // sentinel
214218 { 0, 0 }
213213 {"560881eca73809ac358aa14733ee64af" , "JPEGInvalidSecondFrag.dcm" },
214214 {"7c70c2aaacf9a4206cbe2191fa4d2041" , "SC16BitsAllocated_8BitsStoredJ2K.dcm" },
215215 {"da0922a02f8e763ec878089617e0bc4c" , "SC16BitsAllocated_8BitsStoredJPEG.dcm" },
216 {"da0922a02f8e763ec878089617e0bc4c" , "Osirix10vs8BitsStored.dcm" },
217 {"da0922a02f8e763ec878089617e0bc4c" , "Bug_Siemens_PrivateIconNoItem.dcm" },
218 {"da0922a02f8e763ec878089617e0bc4c" , "HardcopyColor_YBR_RCT_J2K_PC1.dcm" },
219 {"da0922a02f8e763ec878089617e0bc4c" , "PET-GE-dicomwrite-PixelDataSQUNv2.dcm" },
216220
217221 // sentinel
218222 { 0, 0 }
1515 #include "gdcmImageWriter.h"
1616 #include "gdcmTesting.h"
1717 #include "gdcmFilename.h"
18 #include "gdcmByteSwap.h"
1819 #include "gdcmSystem.h"
1920
2021 int TestImageChangePlanarConfigurationFunc(const char *filename, bool verbose = false)
1111
1212 =========================================================================*/
1313 #include "gdcmPixelFormat.h"
14
15 struct frame_info {
16 gdcm::PixelFormat pixeltype;
17 };
1418
1519 int TestPixelFormat(int , char *[])
1620 {
137141 pf4.SetPixelRepresentation(1);
138142 if( pf4.GetScalarType() != gdcm::PixelFormat::INT16 ) return 1;
139143
144 frame_info fi = {};
140145
141146 return 0;
142147 }
105105 { "d576bf8e8b2ca71fd543d29698807e85" , "ExplicitVRforPublicElementsImplicitVRforShadowElements.dcm" } ,
106106 { "3199cd21166043d619209d7a2073fb56" , "fffc0000UN.dcm" } ,
107107 { "9b426b02521cbc2f3ee25ab383ca835e" , "FUJI-10-MONO1-ACR_NEMA_2.dcm" } ,
108 { "68948325d590458fa6a648a93ef46f04" , "FUJI-ffff-MONO1-J2K.dcm"} ,
108 { "f705cfe771a299023c8dcc94b2184960" , "FUJI-ffff-MONO1-J2K.dcm"} ,
109109 { "2aba3dacd00a0bc14a06e2d7142b916a" , "gdcm-ACR-LibIDO.acr" } ,
110110 { "b808c747b59f9d1a91a01491103abea5" , "gdcm-CR-DCMTK-16-NonSamplePerPix.dcm" } ,
111111 { "e7b5089a2a007221993ee5a7e6d44959" , "gdcm-JPEG-Extended.dcm" } ,
245245 { "df3327313dadcc29e88779c7bc884abb" , "EmptyIcon_Bug417.dcm" },
246246 { "7d0db54d48964c813d513b472f29155c" , "JPEGLosslessSeNonZero.dcm" },
247247 { "44e6c3eef66b555ec3ae3e6dec6e8157" , "US-YBR_FULL_422-EVRLE.dcm" },
248 { "80deb837f8cfc1edc95f636ef099d431" , "Osirix10vs8BitsStored.dcm" },
249 { "a638f2bc00e67f35257f36e5d5caa6b0" , "Bug_Siemens_PrivateIconNoItem.dcm" },
250 { "f64bcbdf9396df3eb3cedd28457042da" , "HardcopyColor_YBR_RCT_J2K_PC1.dcm" },
251 { "4f9b4e5530f1d60472d85a641105c009" , "PET-GE-dicomwrite-PixelDataSQUNv2.dcm" },
248252
249253
250254 { nullptr ,nullptr }
0 /*=========================================================================
1
2 Program: GDCM (Grassroots DICOM). A DICOM library
3
4 Copyright (c) 2006-2011 Mathieu Malaterre
5 All rights reserved.
6 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
7
8 This software is distributed WITHOUT ANY WARRANTY; without even
9 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 PURPOSE. See the above copyright notice for more information.
11
12 =========================================================================*/
13 #include "gdcmStringFilter.h"
14 #include "gdcmAttribute.h"
15 #include "gdcmSmartPointer.h"
16
17 // https://sourceforge.net/p/gdcm/bugs/485/
18 int TestStringFilter4(int , char *[])
19 {
20 gdcm::SmartPointer<gdcm::File> f = new gdcm::File;
21 gdcm::DataSet & ds = f->GetDataSet();
22
23 {
24 gdcm::Element<gdcm::VR::LO,gdcm::VM::VM1> priv_creator;
25 priv_creator.SetValue( "SIEMENS MED SP DXMG WH AWS 1" );
26 gdcm::DataElement de1 = priv_creator.GetAsDataElement();
27 de1.SetTag( gdcm::Tag(0x19,0x10) );
28 ds.Insert( de1 );
29
30 gdcm::Element<gdcm::VR::ST,gdcm::VM::VM1> el;
31 el.SetValue( "TestStringFilter4" );
32 gdcm::DataElement de2 = el.GetAsDataElement();
33 de2.SetTag( gdcm::Tag(0x19,0x1010) );
34 ds.Insert( de2 );
35 // std::cout << ds << std::endl;
36
37 gdcm::StringFilter filter;
38 filter.SetFile(*f);
39
40 gdcm::PrivateTag privTag(0x0019, 0x10, "SIEMENS MED SP DXMG WH AWS 1");
41
42 // Works as intended
43 std::string privTagValue1 = filter.ToString(ds.GetDataElement(privTag));
44 std::cout << privTagValue1 << std::endl;
45
46 // Does not work, returns string value of the private creator instead of the actual tag
47 std::string privTagValue2 = filter.ToString(privTag);
48 std::cout << privTagValue2 << std::endl;
49 }
50
51 return 0;
52 }
3333 if ds.FindDataElement( replacetag ):
3434 de = ds.GetDataElement( replacetag )
3535 #print dir(de)
36 patname = "This^is^an^example"
36 patname = b"This^is^an^example"
3737 de.SetByteStringValue( patname )
3838
3939 # let's insert a new dataelement
4040 # <entry group="0012" element="0062" vr="CS" vm="1" name="Patient Identity Removed"/>
4141 pir = gdcm.DataElement( gdcm.Tag(0x0012,0x0062) )
4242 pir.SetVR( gdcm.VR( gdcm.VR.CS ) ) # specify the VR explicitly
43 yes = "YES"
43 yes = b"YES"
4444 pir.SetByteStringValue( yes )
4545 ds.Insert( pir )
4646
5353 #print dictel.GetVR()
5454 deid = gdcm.DataElement( deidmethod )
5555 deid.SetVR( dictel.GetVR() )
56 methodstr = "Well known Company"
56 methodstr = b"Well known Company"
5757 #deid.SetByteStringValue( methodstr )
5858 deid.SetByteStringValue( methodstr )
5959 ds.Insert( deid )
3131 #print v16.GetOutput()
3232
3333 w = vtkgdcm.vtkGDCMImageWriter()
34 w.SetInput( v16.GetOutput() )
34 w.SetInputConnection( v16.GetOutputPort() )
3535 w.SetFileDimensionality( 3 )
3636 w.SetFileName( "sc.dcm" )
3737 w.Write()
645645 const gdcm::DataElement &wd = nestedds.GetDataElement( twd );
646646 const gdcm::ByteValue *bv = wd.GetByteValue();
647647 size_t len = bv->GetLength();
648 int16_t *p = (int16_t*)bv;
648 const int16_t *p = (const int16_t*)bv;
649649
650650 // get the info object
651651 int pd = 0;
340340 %ignore vtkGDCMImageReader::PrintSelf;
341341 %ignore vtkGDCMImageWriter::PrintSelf;
342342
343 %typemap(csdestruct_derived, methodname="Dispose", methodmodifiers="public") vtkGDCMTesting {
343 %typemap(csdisposing_derived, methodname="Dispose", methodmodifiers="protected", parameters="bool disposing") vtkGDCMTesting {
344344 lock(this) {
345345 if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
346346 swigCMemOwn = false;
347347 vtkgdcmPINVOKE.vtkObjectBase_Delete(swigCPtr);
348348 }
349349 swigCPtr = new HandleRef(null, IntPtr.Zero);
350 GC.SuppressFinalize(this);
351 base.Dispose();
352 }
353 }
354 %typemap(csdestruct_derived, methodname="Dispose", methodmodifiers="public") vtkGDCMImageReader {
350 base.Dispose(disposing);
351 }
352 }
353 %typemap(csdisposing_derived, methodname="Dispose", methodmodifiers="protected", parameters="bool disposing") vtkGDCMImageReader {
355354 lock(this) {
356355 if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
357356 swigCMemOwn = false;
358357 vtkgdcmPINVOKE.vtkObjectBase_Delete(swigCPtr);
359358 }
360359 swigCPtr = new HandleRef(null, IntPtr.Zero);
361 GC.SuppressFinalize(this);
362 base.Dispose();
363 }
364 }
365 %typemap(csdestruct_derived, methodname="Dispose", methodmodifiers="public") vtkGDCMImageWriter {
360 base.Dispose(disposing);
361 }
362 }
363 %typemap(csdisposing_derived, methodname="Dispose", methodmodifiers="protected", parameters="bool disposing") vtkGDCMImageWriter {
366364 lock(this) {
367365 if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
368366 swigCMemOwn = false;
369367 vtkgdcmPINVOKE.vtkObjectBase_Delete(swigCPtr);
370368 }
371369 swigCPtr = new HandleRef(null, IntPtr.Zero);
372 GC.SuppressFinalize(this);
373 base.Dispose();
370 base.Dispose(disposing);
374371 }
375372 }
376373
302302
303303 <para><literallayout>$ gdcmconv --raw compressed.dcm uncompressed.dcm
304304 </literallayout></para>
305 <para>In the case of uncompress file (Explicit and Implicit) the behavior is to keep the original Transfer Syntax (so Implicit remains Implit)</para>
306 </refsection>
307 <refsection xml:id="gdcmconv_1decompress_raw_imp">
308 <title>Decompressing a Compressed DICOM as implicit</title>
309
310 <para><literallayout>$ gdcmconv --raw --implicit compressed.dcm uncompressed_implicit.dcm
311 </literallayout></para>
312 <para>By symmetry it is also possible to use gdcmconv --raw --explicit to make sure that target file is always Explicit TS.</para>
305313 </refsection>
306314 <refsection xml:id="gdcmconv_1compress_icon">
307315 <title>Compressing an uncompressed Icon</title>
2525 set(DOCUMENTATION_HTML_TARZ ON)
2626 set(DOXYGEN_PROJECT_NAME "vtkgdcm")
2727 if(VTK_SOURCE_DIR)
28 message(${VTK_SOURCE_DIR})
29 #set(DOXYGEN_SOURCE_DIR "${vtkgdcm_SOURCE_DIR}/VTK/Utilities/Doxygen")
30 set(DOXYGEN_SOURCE_DIR "${VTK_SOURCE_DIR}/Utilities/Doxygen")
28 message(STATUS ${VTK_SOURCE_DIR})
29 #set(DOXYGEN_SOURCE_DIR "${vtkgdcm_SOURCE_DIR}/VTK/Utilities/Doxygen")
30 set(DOXYGEN_SOURCE_DIR "${VTK_SOURCE_DIR}/Utilities/Doxygen")
31 elseif(VTK_CMAKE_DIR)
32 set(DOXYGEN_SOURCE_DIR "${VTK_CMAKE_DIR}/../Utilities/Doxygen")
3133 else()
3234 # sudo apt-get install vtk-doc
3335 if(EXISTS "/usr/share/doc/vtk-doc/html")
3537 elseif(EXISTS "/usr/share/doc/vtk6-doc/doxygen")
3638 set(DOXYGEN_SOURCE_DIR "/usr/share/doc/vtk6-doc/doxygen")
3739 else()
38 message(WARNING "DOXYGEN_SOURCE_DIR need to be set.")
40 message(ERROR "DOXYGEN_SOURCE_DIR need to be set.")
3941 endif()
4042 endif()
4143 set(DOXYGEN_PROJECT_SOURCE_DIR "${vtkgdcm_SOURCE_DIR}")
127127 set(JPEGSTATIC 1)
128128 endif ()
129129
130 # By default support DICOMObjects bug, if this is a speed penalty for you
131 # you should consider disabling it
132 set(SUPPORT_DICOMOBJECTS_BUG ON)
133
134130 # Generate three libraries: jpeg 8bits, 12bits and 16bits
135131 # using only one source directory
136132
7171 * logically AND the result with 0xFFFF.
7272 */
7373
74 #define UNDIFFERENCE_2D_BUG(PREDICTOR) \
74 #define UNDIFFERENCE_2D(PREDICTOR) \
75 unsigned int xindex; \
76 int Ra, Rb, Rc; \
77 \
7578 Rb = GETJSAMPLE(prev_row[0]); \
7679 Ra = (diff_buf[0] + PREDICTOR2) & 0xFFFF; \
7780 undiff_buf[0] = Ra; \
8386 undiff_buf[xindex] = Ra; \
8487 }
8588
86 #define UNDIFFERENCE_2D(PREDICTOR) \
87 unsigned int xindex; \
88 int Ra, Rb, Rc; \
89 \
90 Rb = GETJSAMPLE(prev_row[0]); \
91 Ra = (diff_buf[0] + PREDICTOR2) & 0xFFFF; \
92 undiff_buf[0] = Ra; \
93 \
94 for (xindex = 1; xindex < width; xindex++) { \
95 Rc = Rb; \
96 Rb = GETJSAMPLE(prev_row[xindex]); \
97 Ra = (diff_buf[xindex] + PREDICTOR) & 0xFFFF; \
98 undiff_buf[xindex] = Ra; \
99 }
100
10189
10290 /*
10391 * Undifferencers for the all rows but the first in a scan or restart interval.
152140 (void)cinfo;(void)comp_index;(void)diff_buf;(void)prev_row;(void)undiff_buf;(void)width;
153141 }
154142
155 #ifdef SUPPORT_DICOMOBJECTS_BUG
156 /* uninitialized */
157 static int dicomobjectsbug = -1; /* 0 == nobug, 1 == bug */
158 #endif
159
160143 METHODDEF(void)
161144 jpeg_undifference6(j_decompress_ptr cinfo, int comp_index,
162145 JDIFFROW diff_buf, JDIFFROW prev_row,
163146 JDIFFROW undiff_buf, JDIMENSION width)
164147 {
165 #ifdef SUPPORT_DICOMOBJECTS_BUG
166 unsigned int xindex;
167 int Ra, Rb, Rc;
168 int min, max, temp;
169 SHIFT_TEMPS
170 if( dicomobjectsbug == -1 )
171 {
172 dicomobjectsbug = 0; /* no bug by default */
173
174 Rb = GETJSAMPLE(prev_row[0]);
175 Ra = (diff_buf[0] + PREDICTOR2) & 0xFFFF;
176 undiff_buf[0] = Ra;
177 temp = min = max = undiff_buf[0];
178
179 for (xindex = 1; xindex < width; xindex++) {
180 Rc = Rb;
181 Rb = GETJSAMPLE(prev_row[xindex]);
182 Ra = (diff_buf[xindex] + PREDICTOR6) & 0xFFFF;
183 temp = Ra;
184 min = temp < min ? temp : min;
185 max = temp > max ? temp : max;
186 }
187 if( (max - min) > 50000) /* magic number */
188 {
189 dicomobjectsbug = 1;
190 WARNMS(cinfo, JWRN_SIGNED_ARITH);
191 }
192 }
193 if(dicomobjectsbug)
194 {
195 UNDIFFERENCE_2D_BUG(PREDICTOR6_BUG);
196 }
197 else
198 {
199 UNDIFFERENCE_2D_BUG(PREDICTOR6);
200 }
201 #else
202148 SHIFT_TEMPS
203149 UNDIFFERENCE_2D(PREDICTOR6);
204 #endif
205 (void)comp_index;(void)cinfo;
150 (void)cinfo;(void)comp_index;(void)diff_buf;(void)prev_row;(void)undiff_buf;(void)width;
206151 }
207152
208153 METHODDEF(void)
2222 #define PREDICTOR4 (int) ((INT32) Ra + (INT32) Rb - (INT32) Rc)
2323 #define PREDICTOR5 (int) ((INT32) Ra + RIGHT_SHIFT((INT32) Rb - (INT32) Rc, 1))
2424 #define PREDICTOR6 (int) ((INT32) Rb + RIGHT_SHIFT((INT32) Ra - (INT32) Rc, 1))
25 #define PREDICTOR6_BUG (int) ((INT16) Rb + RIGHT_SHIFT((INT16) Ra - (INT16) Rc, 1))
2625 #define PREDICTOR7 (int) RIGHT_SHIFT((INT32) Ra + (INT32) Rb, 1)
2726
2827
2121 #cmakedefine JPEGDLL
2222 #cmakedefine JPEGSTATIC
2323
24 /* For more info on this bug see:
25 * [Broken JPEG from GE station] on comp.protocols.dicom
26 * and official publication at:
27 * http://www.medicalconnections.co.uk/html/lossless_bug.html
28 */
29 #cmakedefine SUPPORT_DICOMOBJECTS_BUG
30
3124 #define BITS_IN_JSAMPLE @CMAKE_BITS_IN_JSAMPLE@
3225
3326 #if BITS_IN_JSAMPLE == 8
69206920 image->comps[0].h * image->comps[0].prec) /
69216921 ((double)parameters->tcp_rates[parameters->tcp_numlayers - 1] * 8 *
69226922 image->comps[0].dx * image->comps[0].dy));
6923 if (temp_size > INT_MAX) {
6924 parameters->max_cs_size = INT_MAX;
6923 if (temp_size > (OPJ_FLOAT32)INT_MAX) {
6924 parameters->max_cs_size = (OPJ_FLOAT32)INT_MAX;
69256925 } else {
69266926 parameters->max_cs_size = (int) floor(temp_size);
69276927 }
22232223 for (j = 0; j < l_height; ++j) {
22242224 for (i = 0; i < l_width; ++i) {
22252225 OPJ_FLOAT32 l_value = *((OPJ_FLOAT32 *) l_current_ptr);
2226 if (l_value > INT_MAX) {
2226 if (l_value > (OPJ_FLOAT32)INT_MAX) {
22272227 *l_current_ptr = l_max;
2228 } else if (l_value < INT_MIN) {
2228 } else if (l_value < (OPJ_FLOAT32)INT_MIN) {
22292229 *l_current_ptr = l_min;
22302230 } else {
22312231 /* Do addition on int64 to avoid overflows */
155155 ";
156156
157157 %feature("docstring")
158 gdcm::network::AAssociateRQPDU::GetPresentationContext "PresentationContextRQ const&
158 gdcm::network::AAssociateRQPDU::GetPresentationContext "const
159 PresentationContextRQ&
159160 gdcm::network::AAssociateRQPDU::GetPresentationContext(SizeType i)
160161 const ";
161162
172173 const ";
173174
174175 %feature("docstring")
175 gdcm::network::AAssociateRQPDU::GetPresentationContexts "PresentationContextArrayType const&
176 gdcm::network::AAssociateRQPDU::GetPresentationContexts "const
177 PresentationContextArrayType&
176178 gdcm::network::AAssociateRQPDU::GetPresentationContexts() ";
177179
178180 %feature("docstring")
272274
273275 C++ includes: gdcmAnonymizeEvent.h ";
274276
277 %feature("docstring") gdcm::AnonymizeEvent::AnonymizeEvent "gdcm::AnonymizeEvent::AnonymizeEvent(const Self &s) ";
278
275279 %feature("docstring") gdcm::AnonymizeEvent::AnonymizeEvent "gdcm::AnonymizeEvent::AnonymizeEvent(Tag const &tag=0) ";
276
277 %feature("docstring") gdcm::AnonymizeEvent::AnonymizeEvent "gdcm::AnonymizeEvent::AnonymizeEvent(const Self &s) ";
278280
279281 %feature("docstring") gdcm::AnonymizeEvent::~AnonymizeEvent "gdcm::AnonymizeEvent::~AnonymizeEvent() override=default ";
280282
287289
288290 Return the StringName associated with the event. ";
289291
290 %feature("docstring") gdcm::AnonymizeEvent::GetTag "Tag const&
292 %feature("docstring") gdcm::AnonymizeEvent::GetTag "const Tag&
291293 gdcm::AnonymizeEvent::GetTag() const ";
292294
293295 %feature("docstring") gdcm::AnonymizeEvent::MakeObject "::gdcm::Event* gdcm::AnonymizeEvent::MakeObject() const override
674676 C++ includes: gdcmAttribute.h ";
675677
676678 %feature("docstring") gdcm::Attribute::GDCM_STATIC_ASSERT "gdcm::Attribute< Group, Element, TVR, TVM
677 >::GDCM_STATIC_ASSERT(((VR::VRType) TVR &(VR::VRType)(TagToType<
678 Group, Element >::VRType))) ";
679 >::GDCM_STATIC_ASSERT(((((VR::VRType) TVR &VR::VR_VM1) &&((VM::VMType)
680 TVM==VM::VM1))||!((VR::VRType) TVR &VR::VR_VM1))) ";
679681
680682 %feature("docstring") gdcm::Attribute::GDCM_STATIC_ASSERT "gdcm::Attribute< Group, Element, TVR, TVM
681683 >::GDCM_STATIC_ASSERT(((VM::VMType) TVM &(VM::VMType)(TagToType<
682684 Group, Element >::VMType))) ";
683685
684686 %feature("docstring") gdcm::Attribute::GDCM_STATIC_ASSERT "gdcm::Attribute< Group, Element, TVR, TVM
685 >::GDCM_STATIC_ASSERT(((((VR::VRType) TVR &VR::VR_VM1) &&((VM::VMType)
686 TVM==VM::VM1))||!((VR::VRType) TVR &VR::VR_VM1))) ";
687 >::GDCM_STATIC_ASSERT(((VR::VRType) TVR &(VR::VRType)(TagToType<
688 Group, Element >::VRType))) ";
687689
688690 %feature("docstring") gdcm::Attribute::GetAsDataElement "DataElement
689691 gdcm::Attribute< Group, Element, TVR, TVM >::GetAsDataElement() const
697699 gdcm::Attribute< Group, Element, TVR, TVM >::GetValue(unsigned int
698700 idx=0) ";
699701
700 %feature("docstring") gdcm::Attribute::GetValue "ArrayType const&
702 %feature("docstring") gdcm::Attribute::GetValue "const ArrayType&
701703 gdcm::Attribute< Group, Element, TVR, TVM >::GetValue(unsigned int
702704 idx=0) const ";
703705
733735
734736 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1
735737 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR, VM::VM1
736 >::GDCM_STATIC_ASSERT(VMToLength< VM::VM1 >::Length==1) ";
738 >::GDCM_STATIC_ASSERT(((((VR::VRType) TVR &VR::VR_VM1) &&((VM::VMType)
739 VM::VM1==VM::VM1))||!((VR::VRType) TVR &VR::VR_VM1))) ";
740
741 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1
742 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR, VM::VM1
743 >::GDCM_STATIC_ASSERT(((VM::VMType) VM::VM1 &(VM::VMType)(TagToType<
744 Group, Element >::VMType))) ";
737745
738746 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1
739747 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR, VM::VM1
742750
743751 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1
744752 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR, VM::VM1
745 >::GDCM_STATIC_ASSERT(((VM::VMType) VM::VM1 &(VM::VMType)(TagToType<
746 Group, Element >::VMType))) ";
747
748 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1
749 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR, VM::VM1
750 >::GDCM_STATIC_ASSERT(((((VR::VRType) TVR &VR::VR_VM1) &&((VM::VMType)
751 VM::VM1==VM::VM1))||!((VR::VRType) TVR &VR::VR_VM1))) ";
753 >::GDCM_STATIC_ASSERT(VMToLength< VM::VM1 >::Length==1) ";
752754
753755 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1
754756 >::GetAsDataElement " DataElement gdcm::Attribute< Group, Element,
763765 >::GetValue() ";
764766
765767 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1
766 >::GetValue " ArrayType const& gdcm::Attribute< Group, Element, TVR,
768 >::GetValue " const ArrayType& gdcm::Attribute< Group, Element, TVR,
767769 VM::VM1 >::GetValue() const ";
768770
769771 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1
820822 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
821823 >::~Attribute " gdcm::Attribute< Group, Element, TVR, VM::VM1_n
822824 >::~Attribute() ";
823
824 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
825 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR,
826 VM::VM1_n >::GDCM_STATIC_ASSERT(((VR::VRType) TVR
827 &(VR::VRType)(TagToType< Group, Element >::VRType))) ";
828
829 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
830 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR,
831 VM::VM1_n >::GDCM_STATIC_ASSERT((VM::VM1_n &(VM::VMType)(TagToType<
832 Group, Element >::VMType))) ";
833825
834826 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
835827 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR,
838830 >::VMType==VM::VM1))||!((VR::VRType) TVR &VR::VR_VM1))) ";
839831
840832 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
833 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR,
834 VM::VM1_n >::GDCM_STATIC_ASSERT(((VR::VRType) TVR
835 &(VR::VRType)(TagToType< Group, Element >::VRType))) ";
836
837 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
838 >::GDCM_STATIC_ASSERT " gdcm::Attribute< Group, Element, TVR,
839 VM::VM1_n >::GDCM_STATIC_ASSERT((VM::VM1_n &(VM::VMType)(TagToType<
840 Group, Element >::VMType))) ";
841
842 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
841843 >::GetAsDataElement " DataElement gdcm::Attribute< Group, Element,
842844 TVR, VM::VM1_n >::GetAsDataElement() const ";
843845
850852 VM::VM1_n >::GetValue(unsigned int idx=0) ";
851853
852854 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
853 >::GetValue " ArrayType const& gdcm::Attribute< Group, Element, TVR,
855 >::GetValue " const ArrayType& gdcm::Attribute< Group, Element, TVR,
854856 VM::VM1_n >::GetValue(unsigned int idx=0) const ";
855857
856858 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
879881
880882 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
881883 >::SetValue " void gdcm::Attribute< Group, Element, TVR, VM::VM1_n
882 >::SetValue(unsigned int idx, ArrayType v) ";
884 >::SetValue(ArrayType v) ";
883885
884886 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
885887 >::SetValue " void gdcm::Attribute< Group, Element, TVR, VM::VM1_n
886 >::SetValue(ArrayType v) ";
888 >::SetValue(unsigned int idx, ArrayType v) ";
887889
888890 %feature("docstring") gdcm::Attribute< Group, Element, TVR, VM::VM1_n
889891 >::SetValues " void gdcm::Attribute< Group, Element, TVR, VM::VM1_n
10991101 %feature("docstring") gdcm::BaseQuery::GetAbstractSyntaxUID "virtual
11001102 UIDs::TSName gdcm::BaseQuery::GetAbstractSyntaxUID() const =0 ";
11011103
1102 %feature("docstring") gdcm::BaseQuery::GetQueryDataSet "DataSet
1103 const& gdcm::BaseQuery::GetQueryDataSet() const
1104
1105 Set/Get the internal representation of the query as a DataSet. ";
1106
11071104 %feature("docstring") gdcm::BaseQuery::GetQueryDataSet "DataSet&
11081105 gdcm::BaseQuery::GetQueryDataSet() ";
11091106
1107 %feature("docstring") gdcm::BaseQuery::GetQueryDataSet "const
1108 DataSet& gdcm::BaseQuery::GetQueryDataSet() const
1109
1110 Set/Get the internal representation of the query as a DataSet. ";
1111
11101112 %feature("docstring") gdcm::BaseQuery::GetSOPInstanceUID "std::string gdcm::BaseQuery::GetSOPInstanceUID() const ";
11111113
11121114 %feature("docstring") gdcm::BaseQuery::Print "void
11131115 gdcm::BaseQuery::Print(std::ostream &os) const override ";
1116
1117 %feature("docstring") gdcm::BaseQuery::SetSearchParameter "void
1118 gdcm::BaseQuery::SetSearchParameter(const std::string &inKeyword,
1119 const std::string &inValue) ";
11141120
11151121 %feature("docstring") gdcm::BaseQuery::SetSearchParameter "void
11161122 gdcm::BaseQuery::SetSearchParameter(const Tag &inTag, const
11171123 std::string &inValue) ";
1118
1119 %feature("docstring") gdcm::BaseQuery::SetSearchParameter "void
1120 gdcm::BaseQuery::SetSearchParameter(const std::string &inKeyword,
1121 const std::string &inValue) ";
11221124
11231125 %feature("docstring") gdcm::BaseQuery::SetSOPInstanceUID "void
11241126 gdcm::BaseQuery::SetSOPInstanceUID(const std::string &iSopInstanceUID)
12851287 %feature("docstring") gdcm::Bitmap::GetColumns "unsigned int
12861288 gdcm::Bitmap::GetColumns() const ";
12871289
1290 %feature("docstring") gdcm::Bitmap::GetDataElement "DataElement&
1291 gdcm::Bitmap::GetDataElement() ";
1292
12881293 %feature("docstring") gdcm::Bitmap::GetDataElement "const
12891294 DataElement& gdcm::Bitmap::GetDataElement() const ";
12901295
1291 %feature("docstring") gdcm::Bitmap::GetDataElement "DataElement&
1292 gdcm::Bitmap::GetDataElement() ";
1293
12941296 %feature("docstring") gdcm::Bitmap::GetDimension "unsigned int
12951297 gdcm::Bitmap::GetDimension(unsigned int idx) const ";
12961298
13001302 Return the dimension of the pixel data, first dimension (x), then 2nd
13011303 (y), then 3rd (z)... ";
13021304
1305 %feature("docstring") gdcm::Bitmap::GetLUT "LookupTable&
1306 gdcm::Bitmap::GetLUT() ";
1307
13031308 %feature("docstring") gdcm::Bitmap::GetLUT "const LookupTable&
13041309 gdcm::Bitmap::GetLUT() const ";
13051310
1306 %feature("docstring") gdcm::Bitmap::GetLUT "LookupTable&
1307 gdcm::Bitmap::GetLUT() ";
1308
13091311 %feature("docstring") gdcm::Bitmap::GetNeedByteSwap "bool
13101312 gdcm::Bitmap::GetNeedByteSwap() const
13111313
13221324
13231325 return the photometric interpretation ";
13241326
1327 %feature("docstring") gdcm::Bitmap::GetPixelFormat "PixelFormat&
1328 gdcm::Bitmap::GetPixelFormat() ";
1329
13251330 %feature("docstring") gdcm::Bitmap::GetPixelFormat "const
13261331 PixelFormat& gdcm::Bitmap::GetPixelFormat() const
13271332
13281333 Get/Set PixelFormat. ";
1329
1330 %feature("docstring") gdcm::Bitmap::GetPixelFormat "PixelFormat&
1331 gdcm::Bitmap::GetPixelFormat() ";
13321334
13331335 %feature("docstring") gdcm::Bitmap::GetPlanarConfiguration "unsigned
13341336 int gdcm::Bitmap::GetPlanarConfiguration() const
15591561
15601562 C++ includes: gdcmByteSwapFilter.h ";
15611563
1564 %feature("docstring") gdcm::ByteSwapFilter::ByteSwapFilter "gdcm::ByteSwapFilter::ByteSwapFilter(const ByteSwapFilter &)=delete ";
1565
15621566 %feature("docstring") gdcm::ByteSwapFilter::ByteSwapFilter "gdcm::ByteSwapFilter::ByteSwapFilter(DataSet &ds) ";
1563
1564 %feature("docstring") gdcm::ByteSwapFilter::ByteSwapFilter "gdcm::ByteSwapFilter::ByteSwapFilter(const ByteSwapFilter &)=delete ";
15651567
15661568 %feature("docstring") gdcm::ByteSwapFilter::~ByteSwapFilter "gdcm::ByteSwapFilter::~ByteSwapFilter() ";
15671569
16101612 %feature("docstring") gdcm::ByteValue::GetPointer "const char*
16111613 gdcm::ByteValue::GetPointer() const ";
16121614
1615 %feature("docstring") gdcm::ByteValue::GetVoidPointer "void*
1616 gdcm::ByteValue::GetVoidPointer() ";
1617
16131618 %feature("docstring") gdcm::ByteValue::GetVoidPointer "const void*
16141619 gdcm::ByteValue::GetVoidPointer() const ";
1615
1616 %feature("docstring") gdcm::ByteValue::GetVoidPointer "void*
1617 gdcm::ByteValue::GetVoidPointer() ";
16181620
16191621 %feature("docstring") gdcm::ByteValue::IsEmpty "bool
16201622 gdcm::ByteValue::IsEmpty() const ";
16481650 To Print Values in Native DICOM format ";
16491651
16501652 %feature("docstring") gdcm::ByteValue::Read "std::istream&
1653 gdcm::ByteValue::Read(std::istream &is) ";
1654
1655 %feature("docstring") gdcm::ByteValue::Read "std::istream&
16511656 gdcm::ByteValue::Read(std::istream &is, bool readvalues=true) ";
1652
1653 %feature("docstring") gdcm::ByteValue::Read "std::istream&
1654 gdcm::ByteValue::Read(std::istream &is) ";
16551657
16561658 %feature("docstring") gdcm::ByteValue::SetLength "void
16571659 gdcm::ByteValue::SetLength(VL vl) override ";
16581660
1659 %feature("docstring") gdcm::ByteValue::Write "std::ostream const&
1661 %feature("docstring") gdcm::ByteValue::Write "const std::ostream&
16601662 gdcm::ByteValue::Write(std::ostream &os) const ";
16611663
1662 %feature("docstring") gdcm::ByteValue::Write "std::ostream const&
1664 %feature("docstring") gdcm::ByteValue::Write "const std::ostream&
16631665 gdcm::ByteValue::Write(std::ostream &os) const ";
16641666
16651667 %feature("docstring") gdcm::ByteValue::WriteBuffer "bool
18971899
18981900 CodeString constructors. ";
18991901
1900 %feature("docstring") gdcm::CodeString::CodeString "gdcm::CodeString::CodeString(const value_type *s) ";
1901
1902 %feature("docstring") gdcm::CodeString::CodeString "gdcm::CodeString::CodeString(const value_type *s, size_type n) ";
1903
19041902 %feature("docstring") gdcm::CodeString::CodeString "gdcm::CodeString::CodeString(const InternalClass &s, size_type pos=0,
19051903 size_type n=InternalClass::npos) ";
19061904
1905 %feature("docstring") gdcm::CodeString::CodeString "gdcm::CodeString::CodeString(const value_type *s) ";
1906
1907 %feature("docstring") gdcm::CodeString::CodeString "gdcm::CodeString::CodeString(const value_type *s, size_type n) ";
1908
19071909 %feature("docstring") gdcm::CodeString::GetAsString "std::string
19081910 gdcm::CodeString::GetAsString() const
19091911
19301932 C++ includes: gdcmCommand.h ";
19311933
19321934 %feature("docstring") gdcm::Command::Command "gdcm::Command::Command(const Command &)=delete ";
1933
1934 %feature("docstring") gdcm::Command::Execute "virtual void
1935 gdcm::Command::Execute(Subject *caller, const Event &event)=0
1936
1937 Abstract method that defines the action to be taken by the command. ";
19381935
19391936 %feature("docstring") gdcm::Command::Execute "virtual void
19401937 gdcm::Command::Execute(const Subject *caller, const Event &event)=0
19421939 Abstract method that defines the action to be taken by the command.
19431940 This variant is expected to be used when requests comes from a const
19441941 Object ";
1942
1943 %feature("docstring") gdcm::Command::Execute "virtual void
1944 gdcm::Command::Execute(Subject *caller, const Event &event)=0
1945
1946 Abstract method that defines the action to be taken by the command. ";
19451947
19461948
19471949 // File: classgdcm_1_1CommandDataSet.xml
21302132
21312133 C++ includes: gdcmCSAElement.h ";
21322134
2135 %feature("docstring") gdcm::CSAElement::CSAElement "gdcm::CSAElement::CSAElement(const CSAElement &_val) ";
2136
21332137 %feature("docstring") gdcm::CSAElement::CSAElement "gdcm::CSAElement::CSAElement(unsigned int kf=0) ";
2134
2135 %feature("docstring") gdcm::CSAElement::CSAElement "gdcm::CSAElement::CSAElement(const CSAElement &_val) ";
21362138
21372139 %feature("docstring") gdcm::CSAElement::GetByteValue "const
21382140 ByteValue* gdcm::CSAElement::GetByteValue() const
21602162
21612163 Set/Get SyngoDT. ";
21622164
2163 %feature("docstring") gdcm::CSAElement::GetValue "Value const&
2164 gdcm::CSAElement::GetValue() const
2165
2166 Set/Get Value (bytes array, SQ of items, SQ of fragments): ";
2167
21682165 %feature("docstring") gdcm::CSAElement::GetValue "Value&
21692166 gdcm::CSAElement::GetValue() ";
21702167
2168 %feature("docstring") gdcm::CSAElement::GetValue "const Value&
2169 gdcm::CSAElement::GetValue() const
2170
2171 Set/Get Value (bytes array, SQ of items, SQ of fragments): ";
2172
21712173 %feature("docstring") gdcm::CSAElement::GetVM "const VM&
21722174 gdcm::CSAElement::GetVM() const
21732175
21742176 Set/Get VM. ";
21752177
2176 %feature("docstring") gdcm::CSAElement::GetVR "VR const&
2178 %feature("docstring") gdcm::CSAElement::GetVR "const VR&
21772179 gdcm::CSAElement::GetVR() const
21782180
21792181 Set/Get VR. ";
24252427 %feature("docstring") gdcm::Curve::GetAsPoints "void
24262428 gdcm::Curve::GetAsPoints(float *array) const ";
24272429
2428 %feature("docstring") gdcm::Curve::GetCurveDataDescriptor "std::vector<unsigned short> const&
2429 gdcm::Curve::GetCurveDataDescriptor() const ";
2430 %feature("docstring") gdcm::Curve::GetCurveDataDescriptor "const
2431 std::vector<unsigned short>& gdcm::Curve::GetCurveDataDescriptor()
2432 const ";
24302433
24312434 %feature("docstring") gdcm::Curve::GetDataValueRepresentation "unsigned short gdcm::Curve::GetDataValueRepresentation() const ";
24322435
25112514
25122515 C++ includes: gdcmDataElement.h ";
25132516
2517 %feature("docstring") gdcm::DataElement::DataElement "gdcm::DataElement::DataElement(const DataElement &_val) ";
2518
25142519 %feature("docstring") gdcm::DataElement::DataElement "gdcm::DataElement::DataElement(const Tag &t=Tag(0), const VL &vl=0,
25152520 const VR &vr=VR::INVALID) ";
25162521
2517 %feature("docstring") gdcm::DataElement::DataElement "gdcm::DataElement::DataElement(const DataElement &_val) ";
2518
25192522 %feature("docstring") gdcm::DataElement::Clear "void
25202523 gdcm::DataElement::Clear()
25212524
25352538 %feature("docstring") gdcm::DataElement::GetLength "VL
25362539 gdcm::DataElement::GetLength() const ";
25372540
2541 %feature("docstring") gdcm::DataElement::GetSequenceOfFragments "SequenceOfFragments* gdcm::DataElement::GetSequenceOfFragments() ";
2542
25382543 %feature("docstring") gdcm::DataElement::GetSequenceOfFragments "const SequenceOfFragments* gdcm::DataElement::GetSequenceOfFragments()
25392544 const
25402545
25412546 Return the Value of DataElement as a Sequence Of Fragments (if
25422547 possible) WARNING: : You need to check for NULL return value ";
25432548
2544 %feature("docstring") gdcm::DataElement::GetSequenceOfFragments "SequenceOfFragments* gdcm::DataElement::GetSequenceOfFragments() ";
2549 %feature("docstring") gdcm::DataElement::GetTag "Tag&
2550 gdcm::DataElement::GetTag() ";
25452551
25462552 %feature("docstring") gdcm::DataElement::GetTag "const Tag&
25472553 gdcm::DataElement::GetTag() const
25482554
25492555 Get Tag. ";
25502556
2551 %feature("docstring") gdcm::DataElement::GetTag "Tag&
2552 gdcm::DataElement::GetTag() ";
2553
2554 %feature("docstring") gdcm::DataElement::GetValue "Value const&
2555 gdcm::DataElement::GetValue() const
2556
2557 Set/Get Value (bytes array, SQ of items, SQ of fragments): ";
2558
25592557 %feature("docstring") gdcm::DataElement::GetValue "Value&
25602558 gdcm::DataElement::GetValue() ";
2559
2560 %feature("docstring") gdcm::DataElement::GetValue "const Value&
2561 gdcm::DataElement::GetValue() const
2562
2563 Set/Get Value (bytes array, SQ of items, SQ of fragments): ";
25612564
25622565 %feature("docstring") gdcm::DataElement::GetValueAsSQ "SmartPointer<SequenceOfItems> gdcm::DataElement::GetValueAsSQ() const
25632566
25702573 for instance: SmartPointer<SequenceOfItems> sqi = de.GetValueAsSQ();
25712574 ";
25722575
2576 %feature("docstring") gdcm::DataElement::GetVL "VL&
2577 gdcm::DataElement::GetVL() ";
2578
25732579 %feature("docstring") gdcm::DataElement::GetVL "const VL&
25742580 gdcm::DataElement::GetVL() const
25752581
25762582 Get VL. ";
25772583
2578 %feature("docstring") gdcm::DataElement::GetVL "VL&
2579 gdcm::DataElement::GetVL() ";
2580
2581 %feature("docstring") gdcm::DataElement::GetVR "VR const&
2584 %feature("docstring") gdcm::DataElement::GetVR "const VR&
25822585 gdcm::DataElement::GetVR() const
25832586
25842587 Get VR do not set VR::SQ on bytevalue data element ";
27182721
27192722 C++ includes: gdcmDataSet.h ";
27202723
2724 %feature("docstring") gdcm::DataSet::Begin "Iterator
2725 gdcm::DataSet::Begin() ";
2726
27212727 %feature("docstring") gdcm::DataSet::Begin "ConstIterator
27222728 gdcm::DataSet::Begin() const ";
27232729
2724 %feature("docstring") gdcm::DataSet::Begin "Iterator
2725 gdcm::DataSet::Begin() ";
2726
27272730 %feature("docstring") gdcm::DataSet::Clear "void
27282731 gdcm::DataSet::Clear() ";
27292732
27302733 %feature("docstring") gdcm::DataSet::ComputeGroupLength "unsigned
27312734 int gdcm::DataSet::ComputeGroupLength(Tag const &tag) const ";
27322735
2736 %feature("docstring") gdcm::DataSet::End "Iterator
2737 gdcm::DataSet::End() ";
2738
27332739 %feature("docstring") gdcm::DataSet::End "ConstIterator
27342740 gdcm::DataSet::End() const ";
27352741
2736 %feature("docstring") gdcm::DataSet::End "Iterator
2737 gdcm::DataSet::End() ";
2738
27392742 %feature("docstring") gdcm::DataSet::FindDataElement "bool
27402743 gdcm::DataSet::FindDataElement(const PrivateTag &t) const
27412744
27482751 DataElement& gdcm::DataSet::FindNextDataElement(const Tag &t) const ";
27492752
27502753 %feature("docstring") gdcm::DataSet::GetDataElement "const
2754 DataElement& gdcm::DataSet::GetDataElement(const PrivateTag &t) const
2755
2756 Return the dataelement. ";
2757
2758 %feature("docstring") gdcm::DataSet::GetDataElement "const
27512759 DataElement& gdcm::DataSet::GetDataElement(const Tag &t) const
27522760
27532761 Return the DataElement with Tag 't' WARNING: : This only search at
27542762 the 'root level' of the DataSet ";
27552763
2756 %feature("docstring") gdcm::DataSet::GetDataElement "const
2757 DataElement& gdcm::DataSet::GetDataElement(const PrivateTag &t) const
2758
2759 Return the dataelement. ";
2764 %feature("docstring") gdcm::DataSet::GetDES "DataElementSet&
2765 gdcm::DataSet::GetDES() ";
27602766
27612767 %feature("docstring") gdcm::DataSet::GetDES "const DataElementSet&
27622768 gdcm::DataSet::GetDES() const ";
2763
2764 %feature("docstring") gdcm::DataSet::GetDES "DataElementSet&
2765 gdcm::DataSet::GetDES() ";
27662769
27672770 %feature("docstring") gdcm::DataSet::GetLength "VL
27682771 gdcm::DataSet::GetLength() const ";
28402843 %feature("docstring") gdcm::DataSet::Size "SizeType
28412844 gdcm::DataSet::Size() const ";
28422845
2843 %feature("docstring") gdcm::DataSet::Write "std::ostream const&
2846 %feature("docstring") gdcm::DataSet::Write "const std::ostream&
28442847 gdcm::DataSet::Write(std::ostream &os) const ";
28452848
28462849
28552858
28562859 C++ includes: gdcmDataSetEvent.h ";
28572860
2861 %feature("docstring") gdcm::DataSetEvent::DataSetEvent "gdcm::DataSetEvent::DataSetEvent(const Self &s) ";
2862
28582863 %feature("docstring") gdcm::DataSetEvent::DataSetEvent "gdcm::DataSetEvent::DataSetEvent(DataSet const *ds=nullptr) ";
2859
2860 %feature("docstring") gdcm::DataSetEvent::DataSetEvent "gdcm::DataSetEvent::DataSetEvent(const Self &s) ";
28612864
28622865 %feature("docstring") gdcm::DataSetEvent::~DataSetEvent "gdcm::DataSetEvent::~DataSetEvent() override=default ";
28632866
28652868 gdcm::DataSetEvent::CheckEvent(const ::gdcm::Event *e) const override
28662869 ";
28672870
2868 %feature("docstring") gdcm::DataSetEvent::GetDataSet "DataSet const&
2871 %feature("docstring") gdcm::DataSetEvent::GetDataSet "const DataSet&
28692872 gdcm::DataSetEvent::GetDataSet() const ";
28702873
28712874 %feature("docstring") gdcm::DataSetEvent::GetEventName "const char*
29502953 %feature("docstring") gdcm::Defs::GetIODFromFile "const IOD&
29512954 gdcm::Defs::GetIODFromFile(const File &file) const ";
29522955
2956 %feature("docstring") gdcm::Defs::GetIODs "IODs&
2957 gdcm::Defs::GetIODs() ";
2958
29532959 %feature("docstring") gdcm::Defs::GetIODs "const IODs&
29542960 gdcm::Defs::GetIODs() const ";
29552961
2956 %feature("docstring") gdcm::Defs::GetIODs "IODs&
2957 gdcm::Defs::GetIODs() ";
2962 %feature("docstring") gdcm::Defs::GetMacros "Macros&
2963 gdcm::Defs::GetMacros() ";
29582964
29592965 %feature("docstring") gdcm::Defs::GetMacros "const Macros&
29602966 gdcm::Defs::GetMacros() const
29632969 WG to re-use Tables. Macros are conviently wraped within Modules. See
29642970 gdcm::Module API directly ";
29652971
2966 %feature("docstring") gdcm::Defs::GetMacros "Macros&
2967 gdcm::Defs::GetMacros() ";
2972 %feature("docstring") gdcm::Defs::GetModules "Modules&
2973 gdcm::Defs::GetModules() ";
29682974
29692975 %feature("docstring") gdcm::Defs::GetModules "const Modules&
29702976 gdcm::Defs::GetModules() const ";
29712977
2972 %feature("docstring") gdcm::Defs::GetModules "Modules&
2973 gdcm::Defs::GetModules() ";
2974
29752978 %feature("docstring") gdcm::Defs::GetTypeFromTag "Type
29762979 gdcm::Defs::GetTypeFromTag(const File &file, const Tag &tag) const ";
29772980
29792982 gdcm::Defs::IsEmpty() const ";
29802983
29812984 %feature("docstring") gdcm::Defs::Verify "bool
2985 gdcm::Defs::Verify(const DataSet &ds) const ";
2986
2987 %feature("docstring") gdcm::Defs::Verify "bool
29822988 gdcm::Defs::Verify(const File &file) const ";
2983
2984 %feature("docstring") gdcm::Defs::Verify "bool
2985 gdcm::Defs::Verify(const DataSet &ds) const ";
29862989
29872990
29882991 // File: classgdcm_1_1DeltaEncodingCodec.xml
33003303 CSAHeaderDict& gdcm::Dicts::GetCSAHeaderDict() const ";
33013304
33023305 %feature("docstring") gdcm::Dicts::GetDictEntry "const DictEntry&
3306 gdcm::Dicts::GetDictEntry(const PrivateTag &tag) const ";
3307
3308 %feature("docstring") gdcm::Dicts::GetDictEntry "const DictEntry&
33033309 gdcm::Dicts::GetDictEntry(const Tag &tag, const char *owner=nullptr)
33043310 const
33053311
33093315 WARNING: owner need to be set to appropriate owner for call to work.
33103316 see ";
33113317
3312 %feature("docstring") gdcm::Dicts::GetDictEntry "const DictEntry&
3313 gdcm::Dicts::GetDictEntry(const PrivateTag &tag) const ";
3318 %feature("docstring") gdcm::Dicts::GetPrivateDict "PrivateDict&
3319 gdcm::Dicts::GetPrivateDict() ";
33143320
33153321 %feature("docstring") gdcm::Dicts::GetPrivateDict "const
33163322 PrivateDict& gdcm::Dicts::GetPrivateDict() const ";
3317
3318 %feature("docstring") gdcm::Dicts::GetPrivateDict "PrivateDict&
3319 gdcm::Dicts::GetPrivateDict() ";
33203323
33213324 %feature("docstring") gdcm::Dicts::GetPublicDict "const Dict&
33223325 gdcm::Dicts::GetPublicDict() const ";
34143417
34153418 %feature("docstring") gdcm::Directory::~Directory "gdcm::Directory::~Directory()=default ";
34163419
3417 %feature("docstring") gdcm::Directory::GetDirectories "FilenamesType
3418 const& gdcm::Directory::GetDirectories() const
3420 %feature("docstring") gdcm::Directory::GetDirectories "const
3421 FilenamesType& gdcm::Directory::GetDirectories() const
34193422
34203423 Return the Directories traversed. ";
34213424
3422 %feature("docstring") gdcm::Directory::GetFilenames "FilenamesType
3423 const& gdcm::Directory::GetFilenames() const
3425 %feature("docstring") gdcm::Directory::GetFilenames "const
3426 FilenamesType& gdcm::Directory::GetFilenames() const
34243427
34253428 Set/Get the file names within the directory. ";
34263429
3427 %feature("docstring") gdcm::Directory::GetToplevel "FilenameType
3428 const& gdcm::Directory::GetToplevel() const
3430 %feature("docstring") gdcm::Directory::GetToplevel "const
3431 FilenameType& gdcm::Directory::GetToplevel() const
34293432
34303433 Get the name of the toplevel directory. ";
34313434
35003503 %feature("docstring") gdcm::Element::GetLength "unsigned long
35013504 gdcm::Element< TVR, TVM >::GetLength() const ";
35023505
3506 %feature("docstring") gdcm::Element::GetValue "VRToType<TVR>::Type&
3507 gdcm::Element< TVR, TVM >::GetValue(unsigned int idx=0) ";
3508
35033509 %feature("docstring") gdcm::Element::GetValue "const
35043510 VRToType<TVR>::Type& gdcm::Element< TVR, TVM >::GetValue(unsigned int
35053511 idx=0) const ";
35063512
3507 %feature("docstring") gdcm::Element::GetValue "VRToType<TVR>::Type&
3508 gdcm::Element< TVR, TVM >::GetValue(unsigned int idx=0) ";
3509
35103513 %feature("docstring") gdcm::Element::GetValues "const
35113514 VRToType<TVR>::Type* gdcm::Element< TVR, TVM >::GetValues() const ";
35123515
35603563 unsigned long gdcm::Element< TVR, VM::VM1_n >::GetLength() const ";
35613564
35623565 %feature("docstring") gdcm::Element< TVR, VM::VM1_n >::GetValue "
3566 VRToType<TVR>::Type& gdcm::Element< TVR, VM::VM1_n
3567 >::GetValue(unsigned int idx=0) ";
3568
3569 %feature("docstring") gdcm::Element< TVR, VM::VM1_n >::GetValue "
35633570 const VRToType<TVR>::Type& gdcm::Element< TVR, VM::VM1_n
35643571 >::GetValue(unsigned int idx=0) const ";
3565
3566 %feature("docstring") gdcm::Element< TVR, VM::VM1_n >::GetValue "
3567 VRToType<TVR>::Type& gdcm::Element< TVR, VM::VM1_n
3568 >::GetValue(unsigned int idx=0) ";
35693572
35703573 %feature("docstring") gdcm::Element< TVR, VM::VM1_n >::Print " void
35713574 gdcm::Element< TVR, VM::VM1_n >::Print(std::ostream &_os) const ";
37983801
37993802
38003803 // File: classgdcm_1_1EquipmentManufacturer.xml
3801 %feature("docstring") gdcm::EquipmentManufacturer "C++ includes:
3802 gdcmEquipmentManufacturer.h ";
3804 %feature("docstring") gdcm::EquipmentManufacturer "
3805
3806 C++ includes: gdcmEquipmentManufacturer.h ";
38033807
38043808
38053809 // File: classgdcm_1_1Event.xml
38253829 Check if given event matches or derives from this event. ";
38263830
38273831 %feature("docstring") gdcm::Event::GetEventName "virtual const char*
3828 gdcm::Event::GetEventName(void) const =0
3832 gdcm::Event::GetEventName() const =0
38293833
38303834 Return the StringName associated with the event. ";
38313835
39663970 %feature("docstring") gdcm::File::~File "gdcm::File::~File()
39673971 override ";
39683972
3973 %feature("docstring") gdcm::File::GetDataSet "DataSet&
3974 gdcm::File::GetDataSet()
3975
3976 Get Data Set. ";
3977
39693978 %feature("docstring") gdcm::File::GetDataSet "const DataSet&
39703979 gdcm::File::GetDataSet() const
39713980
39723981 Get Data Set. ";
39733982
3974 %feature("docstring") gdcm::File::GetDataSet "DataSet&
3975 gdcm::File::GetDataSet()
3976
3977 Get Data Set. ";
3983 %feature("docstring") gdcm::File::GetHeader "FileMetaInformation&
3984 gdcm::File::GetHeader()
3985
3986 Get File Meta Information. ";
39783987
39793988 %feature("docstring") gdcm::File::GetHeader "const
39803989 FileMetaInformation& gdcm::File::GetHeader() const
39813990
39823991 Get File Meta Information. ";
39833992
3984 %feature("docstring") gdcm::File::GetHeader "FileMetaInformation&
3985 gdcm::File::GetHeader()
3986
3987 Get File Meta Information. ";
3988
39893993 %feature("docstring") gdcm::File::Read "std::istream&
39903994 gdcm::File::Read(std::istream &is)
39913995
40014005
40024006 Set File Meta Information. ";
40034007
4004 %feature("docstring") gdcm::File::Write "std::ostream const&
4008 %feature("docstring") gdcm::File::Write "const std::ostream&
40054009 gdcm::File::Write(std::ostream &os) const
40064010
40074011 Write. ";
40494053 remove a tag (even a SQ can be removed) ";
40504054
40514055 %feature("docstring") gdcm::FileAnonymizer::Replace "void
4056 gdcm::FileAnonymizer::Replace(Tag const &t, const char *value_data, VL
4057 const &vl)
4058
4059 when the value contains \\\\0, it is a good idea to specify the
4060 length. This function is required when dealing with VRBINARY tag ";
4061
4062 %feature("docstring") gdcm::FileAnonymizer::Replace "void
40524063 gdcm::FileAnonymizer::Replace(Tag const &t, const char *value_str)
40534064
40544065 Replace tag with another value, if tag is not found it will be
40554066 created: WARNING: this function can only execute if tag is a VRASCII
40564067 WARNING: Do not ever try to write a value in a SQ Data Element ! ";
4057
4058 %feature("docstring") gdcm::FileAnonymizer::Replace "void
4059 gdcm::FileAnonymizer::Replace(Tag const &t, const char *value_data, VL
4060 const &vl)
4061
4062 when the value contains \\\\0, it is a good idea to specify the
4063 length. This function is required when dealing with VRBINARY tag ";
40644068
40654069 %feature("docstring") gdcm::FileAnonymizer::SetInputFileName "void
40664070 gdcm::FileAnonymizer::SetInputFileName(const char *filename_native)
41614165
41624166 %feature("docstring") gdcm::FileDecompressLookupTable::GetFile "File& gdcm::FileDecompressLookupTable::GetFile() ";
41634167
4168 %feature("docstring") gdcm::FileDecompressLookupTable::GetPixmap "Pixmap& gdcm::FileDecompressLookupTable::GetPixmap() ";
4169
41644170 %feature("docstring") gdcm::FileDecompressLookupTable::GetPixmap "const Pixmap& gdcm::FileDecompressLookupTable::GetPixmap() const ";
4165
4166 %feature("docstring") gdcm::FileDecompressLookupTable::GetPixmap "Pixmap& gdcm::FileDecompressLookupTable::GetPixmap() ";
41674171
41684172 %feature("docstring") gdcm::FileDecompressLookupTable::SetFile "void
41694173 gdcm::FileDecompressLookupTable::SetFile(const File &f)
43684372 "TransferSyntax::NegociatedType
43694373 gdcm::FileMetaInformation::GetMetaInformationTS() const ";
43704374
4375 %feature("docstring") gdcm::FileMetaInformation::GetPreamble "Preamble& gdcm::FileMetaInformation::GetPreamble() ";
4376
43714377 %feature("docstring") gdcm::FileMetaInformation::GetPreamble "const
43724378 Preamble& gdcm::FileMetaInformation::GetPreamble() const
43734379
43744380 Get Preamble. ";
4375
4376 %feature("docstring") gdcm::FileMetaInformation::GetPreamble "Preamble& gdcm::FileMetaInformation::GetPreamble() ";
43774381
43784382 %feature("docstring") gdcm::FileMetaInformation::Insert "void
43794383 gdcm::FileMetaInformation::Insert(const DataElement &de) ";
45294533
45304534 Get a particular filename (call after Generate) ";
45314535
4532 %feature("docstring") gdcm::FilenameGenerator::GetFilenames "FilenamesType const& gdcm::FilenameGenerator::GetFilenames() const
4536 %feature("docstring") gdcm::FilenameGenerator::GetFilenames "const
4537 FilenamesType& gdcm::FilenameGenerator::GetFilenames() const
45334538
45344539 Return all filenames. ";
45354540
45674572
45684573 %feature("docstring") gdcm::FileSet::FileSet "gdcm::FileSet::FileSet() ";
45694574
4575 %feature("docstring") gdcm::FileSet::AddFile "bool
4576 gdcm::FileSet::AddFile(const char *filename)
4577
4578 Add a file 'filename' to the list of files. Return true on success,
4579 false in case filename could not be found on system. ";
4580
45704581 %feature("docstring") gdcm::FileSet::AddFile "void
45714582 gdcm::FileSet::AddFile(File const &)
45724583
45734584 Deprecated . Does nothing ";
45744585
4575 %feature("docstring") gdcm::FileSet::AddFile "bool
4576 gdcm::FileSet::AddFile(const char *filename)
4577
4578 Add a file 'filename' to the list of files. Return true on success,
4579 false in case filename could not be found on system. ";
4580
4581 %feature("docstring") gdcm::FileSet::GetFiles "FilesType const&
4586 %feature("docstring") gdcm::FileSet::GetFiles "const FilesType&
45824587 gdcm::FileSet::GetFiles() const ";
45834588
45844589 %feature("docstring") gdcm::FileSet::SetFiles "void
48504855
48514856 Append path at the end of the path list WARNING: not thread safe ! ";
48524857
4853 %feature("docstring") gdcm::Global::GetDefs "Defs const&
4858 %feature("docstring") gdcm::Global::GetDefs "const Defs&
48544859 gdcm::Global::GetDefs() const
48554860
48564861 retrieve the default/internal (Part 3) You need to explicitly call
48574862 LoadResourcesFiles before ";
48584863
4859 %feature("docstring") gdcm::Global::GetDicts "Dicts const&
4864 %feature("docstring") gdcm::Global::GetDicts "Dicts&
4865 gdcm::Global::GetDicts() ";
4866
4867 %feature("docstring") gdcm::Global::GetDicts "const Dicts&
48604868 gdcm::Global::GetDicts() const
48614869
48624870 retrieve the default/internal dicts (Part 6) This dict is filled up at
48634871 load time ";
4864
4865 %feature("docstring") gdcm::Global::GetDicts "Dicts&
4866 gdcm::Global::GetDicts() ";
48674872
48684873 %feature("docstring") gdcm::Global::LoadResourcesFiles "bool
48694874 gdcm::Global::LoadResourcesFiles()
48944899
48954900 %feature("docstring") gdcm::GroupDict::~GroupDict "gdcm::GroupDict::~GroupDict()=default ";
48964901
4897 %feature("docstring") gdcm::GroupDict::GetAbbreviation "std::string
4898 const& gdcm::GroupDict::GetAbbreviation(uint16_t num) const ";
4899
4900 %feature("docstring") gdcm::GroupDict::GetName "std::string const&
4902 %feature("docstring") gdcm::GroupDict::GetAbbreviation "const
4903 std::string& gdcm::GroupDict::GetAbbreviation(uint16_t num) const ";
4904
4905 %feature("docstring") gdcm::GroupDict::GetName "const std::string&
49014906 gdcm::GroupDict::GetName(uint16_t num) const ";
49024907
49034908 %feature("docstring") gdcm::GroupDict::Size "size_t
51295134 print ";
51305135
51315136 %feature("docstring") gdcm::Image::SetDirectionCosines "void
5137 gdcm::Image::SetDirectionCosines(const double dircos[6]) ";
5138
5139 %feature("docstring") gdcm::Image::SetDirectionCosines "void
51325140 gdcm::Image::SetDirectionCosines(const float dircos[6]) ";
5133
5134 %feature("docstring") gdcm::Image::SetDirectionCosines "void
5135 gdcm::Image::SetDirectionCosines(const double dircos[6]) ";
51365141
51375142 %feature("docstring") gdcm::Image::SetDirectionCosines "void
51385143 gdcm::Image::SetDirectionCosines(unsigned int idx, double dircos) ";
51435148 intercept ";
51445149
51455150 %feature("docstring") gdcm::Image::SetOrigin "void
5151 gdcm::Image::SetOrigin(const double origin[3]) ";
5152
5153 %feature("docstring") gdcm::Image::SetOrigin "void
51465154 gdcm::Image::SetOrigin(const float origin[3]) ";
5147
5148 %feature("docstring") gdcm::Image::SetOrigin "void
5149 gdcm::Image::SetOrigin(const double origin[3]) ";
51505155
51515156 %feature("docstring") gdcm::Image::SetOrigin "void
51525157 gdcm::Image::SetOrigin(unsigned int idx, double ori) ";
54075412 gdcm::ImageCodec::IsLossy() const ";
54085413
54095414 %feature("docstring") gdcm::ImageCodec::SetDimensions "void
5415 gdcm::ImageCodec::SetDimensions(const std::vector< unsigned int > &d)
5416 ";
5417
5418 %feature("docstring") gdcm::ImageCodec::SetDimensions "void
54105419 gdcm::ImageCodec::SetDimensions(const unsigned int d[3]) ";
5411
5412 %feature("docstring") gdcm::ImageCodec::SetDimensions "void
5413 gdcm::ImageCodec::SetDimensions(const std::vector< unsigned int > &d)
5414 ";
54155420
54165421 %feature("docstring") gdcm::ImageCodec::SetLossyFlag "void
54175422 gdcm::ImageCodec::SetLossyFlag(bool l) ";
55435548
55445549 %feature("docstring") gdcm::ImageReader::~ImageReader "gdcm::ImageReader::~ImageReader() override ";
55455550
5551 %feature("docstring") gdcm::ImageReader::GetImage "Image&
5552 gdcm::ImageReader::GetImage() ";
5553
55465554 %feature("docstring") gdcm::ImageReader::GetImage "const Image&
55475555 gdcm::ImageReader::GetImage() const
55485556
55495557 Return the read image. ";
5550
5551 %feature("docstring") gdcm::ImageReader::GetImage "Image&
5552 gdcm::ImageReader::GetImage() ";
55535558
55545559 %feature("docstring") gdcm::ImageReader::Read "bool
55555560 gdcm::ImageReader::Read() override
55855590 hold the whole uncompressed image as defined by Region region. 0 upon
55865591 error ";
55875592
5588 %feature("docstring") gdcm::ImageRegionReader::GetRegion "Region
5589 const& gdcm::ImageRegionReader::GetRegion() const ";
5593 %feature("docstring") gdcm::ImageRegionReader::GetRegion "const
5594 Region& gdcm::ImageRegionReader::GetRegion() const ";
55905595
55915596 %feature("docstring") gdcm::ImageRegionReader::ReadInformation "bool
55925597 gdcm::ImageRegionReader::ReadInformation()
55985603 gdcm::ImageRegionReader::ReadIntoBuffer(char *inreadbuffer, size_t
55995604 buflen)
56005605
5601 Read into buffer: false upon error ";
5606 Read into buffer: For Python, the buflen param is deduced directly
5607 from the input bytearray passed as parameter (function only takes one
5608 param). false upon error ";
56025609
56035610 %feature("docstring") gdcm::ImageRegionReader::SetRegion "void
56045611 gdcm::ImageRegionReader::SetRegion(Region const &region)
56335640 %feature("docstring") gdcm::ImageWriter "
56345641
56355642 ImageWriter.
5643
5644 This is an extended version of the PixmapWriter. Pay attention that:
5645 It will populate missing attribute for Secondary Capture Image Storage
5646 instances,
5647
5648 It may also change an input MR Image Storage instance into a pseudo
5649 Enhanced MR Image Storage instance whenever Modality LUT is required.
5650
5651 Some DataElement related to gdcm::Image may be slightly altered.
56365652
56375653 C++ includes: gdcmImageWriter.h ";
56385654
60286044 %feature("docstring") gdcm::Item::GetLength "VL
60296045 gdcm::Item::GetLength() const ";
60306046
6047 %feature("docstring") gdcm::Item::GetNestedDataSet "DataSet&
6048 gdcm::Item::GetNestedDataSet() ";
6049
60316050 %feature("docstring") gdcm::Item::GetNestedDataSet "const DataSet&
60326051 gdcm::Item::GetNestedDataSet() const ";
6033
6034 %feature("docstring") gdcm::Item::GetNestedDataSet "DataSet&
6035 gdcm::Item::GetNestedDataSet() ";
60366052
60376053 %feature("docstring") gdcm::Item::InsertDataElement "void
60386054 gdcm::Item::InsertDataElement(const DataElement &de) ";
63326348 Code. ";
63336349
63346350 %feature("docstring") gdcm::JPEGLSCodec::Decode "bool
6335 gdcm::JPEGLSCodec::Decode(DataElement const &is, DataElement &os)
6336 override
6337
6338 Decode. ";
6339
6340 %feature("docstring") gdcm::JPEGLSCodec::Decode "bool
63416351 gdcm::JPEGLSCodec::Decode(DataElement const &in, char *outBuffer,
63426352 size_t inBufferLength, uint32_t inXMin, uint32_t inXMax, uint32_t
63436353 inYMin, uint32_t inYMax, uint32_t inZMin, uint32_t inZMax) ";
63446354
6355 %feature("docstring") gdcm::JPEGLSCodec::Decode "bool
6356 gdcm::JPEGLSCodec::Decode(DataElement const &is, DataElement &os)
6357 override
6358
6359 Decode. ";
6360
63456361 %feature("docstring") gdcm::JPEGLSCodec::GetBufferLength "unsigned
63466362 long gdcm::JPEGLSCodec::GetBufferLength() const ";
63476363
64406456
64416457 %feature("docstring") gdcm::LO::LO "gdcm::LO::LO() ";
64426458
6459 %feature("docstring") gdcm::LO::LO "gdcm::LO::LO(const Superclass
6460 &s, size_type pos=0, size_type n=npos) ";
6461
64436462 %feature("docstring") gdcm::LO::LO "gdcm::LO::LO(const value_type
64446463 *s) ";
64456464
64466465 %feature("docstring") gdcm::LO::LO "gdcm::LO::LO(const value_type
64476466 *s, size_type n) ";
64486467
6449 %feature("docstring") gdcm::LO::LO "gdcm::LO::LO(const Superclass
6450 &s, size_type pos=0, size_type n=npos) ";
6451
64526468 %feature("docstring") gdcm::LO::IsValid "bool gdcm::LO::IsValid()
64536469 const ";
64546470
64756491 gdcm::LookupTable::Clear()
64766492
64776493 Clear the LUT. ";
6478
6479 %feature("docstring") gdcm::LookupTable::Decode "void
6480 gdcm::LookupTable::Decode(std::istream &is, std::ostream &os) const
6481
6482 Decode the LUT. ";
64836494
64846495 %feature("docstring") gdcm::LookupTable::Decode "bool
64856496 gdcm::LookupTable::Decode(char *outputbuffer, size_t outlen, const
64886499 Decode the LUT outputbuffer will contains the RGB decoded PALETTE
64896500 COLOR input image of size inlen the outputbuffer should be at least 3
64906501 times the size of inlen ";
6502
6503 %feature("docstring") gdcm::LookupTable::Decode "void
6504 gdcm::LookupTable::Decode(std::istream &is, std::ostream &os) const
6505
6506 Decode the LUT. ";
64916507
64926508 %feature("docstring") gdcm::LookupTable::Decode8 "bool
64936509 gdcm::LookupTable::Decode8(char *outputbuffer, size_t outlen, const
67786794 %feature("docstring") gdcm::MemberCommand::MemberCommand "gdcm::MemberCommand< T >::MemberCommand(const Self &)=delete ";
67796795
67806796 %feature("docstring") gdcm::MemberCommand::Execute "void
6797 gdcm::MemberCommand< T >::Execute(const Subject *caller, const Event
6798 &event) override
6799
6800 Invoke the member function with a const object. ";
6801
6802 %feature("docstring") gdcm::MemberCommand::Execute "void
67816803 gdcm::MemberCommand< T >::Execute(Subject *caller, const Event &event)
67826804 override
67836805
67846806 Invoke the member function. ";
67856807
6786 %feature("docstring") gdcm::MemberCommand::Execute "void
6787 gdcm::MemberCommand< T >::Execute(const Subject *caller, const Event
6788 &event) override
6789
6790 Invoke the member function with a const object. ";
6808 %feature("docstring") gdcm::MemberCommand::SetCallbackFunction "void
6809 gdcm::MemberCommand< T >::SetCallbackFunction(T *object,
6810 TConstMemberFunctionPointer memberFunction) ";
67916811
67926812 %feature("docstring") gdcm::MemberCommand::SetCallbackFunction "void
67936813 gdcm::MemberCommand< T >::SetCallbackFunction(T *object,
67966816 Run-time type information (and related methods). Set the callback
67976817 function along with the object that it will be invoked on. ";
67986818
6799 %feature("docstring") gdcm::MemberCommand::SetCallbackFunction "void
6800 gdcm::MemberCommand< T >::SetCallbackFunction(T *object,
6801 TConstMemberFunctionPointer memberFunction) ";
6802
68036819
68046820 // File: classgdcm_1_1MeshPrimitive.xml
68056821 %feature("docstring") gdcm::MeshPrimitive "
68236839 "unsigned int gdcm::MeshPrimitive::GetNumberOfPrimitivesData() const
68246840 ";
68256841
6842 %feature("docstring") gdcm::MeshPrimitive::GetPrimitiveData "DataElement& gdcm::MeshPrimitive::GetPrimitiveData() ";
6843
68266844 %feature("docstring") gdcm::MeshPrimitive::GetPrimitiveData "const
68276845 DataElement& gdcm::MeshPrimitive::GetPrimitiveData() const ";
68286846
6829 %feature("docstring") gdcm::MeshPrimitive::GetPrimitiveData "DataElement& gdcm::MeshPrimitive::GetPrimitiveData() ";
6847 %feature("docstring") gdcm::MeshPrimitive::GetPrimitiveData "DataElement& gdcm::MeshPrimitive::GetPrimitiveData(const unsigned int
6848 idx) ";
68306849
68316850 %feature("docstring") gdcm::MeshPrimitive::GetPrimitiveData "const
68326851 DataElement& gdcm::MeshPrimitive::GetPrimitiveData(const unsigned int
68336852 idx) const ";
68346853
6835 %feature("docstring") gdcm::MeshPrimitive::GetPrimitiveData "DataElement& gdcm::MeshPrimitive::GetPrimitiveData(const unsigned int
6836 idx) ";
6854 %feature("docstring") gdcm::MeshPrimitive::GetPrimitivesData "PrimitivesData& gdcm::MeshPrimitive::GetPrimitivesData() ";
68376855
68386856 %feature("docstring") gdcm::MeshPrimitive::GetPrimitivesData "const
68396857 PrimitivesData& gdcm::MeshPrimitive::GetPrimitivesData() const ";
68406858
6841 %feature("docstring") gdcm::MeshPrimitive::GetPrimitivesData "PrimitivesData& gdcm::MeshPrimitive::GetPrimitivesData() ";
6842
68436859 %feature("docstring") gdcm::MeshPrimitive::GetPrimitiveType "MPType
68446860 gdcm::MeshPrimitive::GetPrimitiveType() const ";
6845
6846 %feature("docstring") gdcm::MeshPrimitive::SetPrimitiveData "void
6847 gdcm::MeshPrimitive::SetPrimitiveData(DataElement const &de) ";
68486861
68496862 %feature("docstring") gdcm::MeshPrimitive::SetPrimitiveData "void
68506863 gdcm::MeshPrimitive::SetPrimitiveData(const unsigned int idx,
68516864 DataElement const &de) ";
6865
6866 %feature("docstring") gdcm::MeshPrimitive::SetPrimitiveData "void
6867 gdcm::MeshPrimitive::SetPrimitiveData(DataElement const &de) ";
68526868
68536869 %feature("docstring") gdcm::MeshPrimitive::SetPrimitivesData "void
68546870 gdcm::MeshPrimitive::SetPrimitivesData(PrimitivesData const &DEs) ";
72667282 %feature("docstring") gdcm::NestedModuleEntries::AddModuleEntry "void gdcm::NestedModuleEntries::AddModuleEntry(const ModuleEntry &me)
72677283 ";
72687284
7285 %feature("docstring") gdcm::NestedModuleEntries::GetModuleEntry "ModuleEntry& gdcm::NestedModuleEntries::GetModuleEntry(SizeType idx)
7286 ";
7287
72697288 %feature("docstring") gdcm::NestedModuleEntries::GetModuleEntry "const ModuleEntry& gdcm::NestedModuleEntries::GetModuleEntry(SizeType
72707289 idx) const ";
7271
7272 %feature("docstring") gdcm::NestedModuleEntries::GetModuleEntry "ModuleEntry& gdcm::NestedModuleEntries::GetModuleEntry(SizeType idx)
7273 ";
72747290
72757291 %feature("docstring")
72767292 gdcm::NestedModuleEntries::GetNumberOfModuleEntries "SizeType
78457861 ";
78467862
78477863 %feature("docstring")
7848 gdcm::network::PDataTFPDU::GetPresentationDataValue "PresentationDataValue const&
7864 gdcm::network::PDataTFPDU::GetPresentationDataValue "const
7865 PresentationDataValue&
78497866 gdcm::network::PDataTFPDU::GetPresentationDataValue(SizeType i) const
78507867 ";
78517868
81048121
81058122 C++ includes: gdcmPixelFormat.h ";
81068123
8107 %feature("docstring") gdcm::PixelFormat::PixelFormat "gdcm::PixelFormat::PixelFormat(unsigned short samplesperpixel=1,
8124 %feature("docstring") gdcm::PixelFormat::PixelFormat "gdcm::PixelFormat::PixelFormat() ";
8125
8126 %feature("docstring") gdcm::PixelFormat::PixelFormat "gdcm::PixelFormat::PixelFormat(ScalarType st) ";
8127
8128 %feature("docstring") gdcm::PixelFormat::PixelFormat "gdcm::PixelFormat::PixelFormat(unsigned short samplesperpixel,
81088129 unsigned short bitsallocated=8, unsigned short bitsstored=8, unsigned
81098130 short highbit=7, unsigned short pixelrepresentation=0) ";
8110
8111 %feature("docstring") gdcm::PixelFormat::PixelFormat "gdcm::PixelFormat::PixelFormat(ScalarType st) ";
81128131
81138132 %feature("docstring") gdcm::PixelFormat::GetBitsAllocated "unsigned
81148133 short gdcm::PixelFormat::GetBitsAllocated() const
82308249 %feature("docstring") gdcm::Pixmap::GetCurve "const Curve&
82318250 gdcm::Pixmap::GetCurve(size_t i=0) const ";
82328251
8252 %feature("docstring") gdcm::Pixmap::GetIconImage "IconImage&
8253 gdcm::Pixmap::GetIconImage() ";
8254
82338255 %feature("docstring") gdcm::Pixmap::GetIconImage "const IconImage&
82348256 gdcm::Pixmap::GetIconImage() const
82358257
82368258 Set/Get Icon Image. ";
8237
8238 %feature("docstring") gdcm::Pixmap::GetIconImage "IconImage&
8239 gdcm::Pixmap::GetIconImage() ";
82408259
82418260 %feature("docstring") gdcm::Pixmap::GetNumberOfCurves "size_t
82428261 gdcm::Pixmap::GetNumberOfCurves() const ";
82938312
82948313 %feature("docstring") gdcm::PixmapReader::~PixmapReader "gdcm::PixmapReader::~PixmapReader() override ";
82958314
8315 %feature("docstring") gdcm::PixmapReader::GetPixmap "Pixmap&
8316 gdcm::PixmapReader::GetPixmap() ";
8317
82968318 %feature("docstring") gdcm::PixmapReader::GetPixmap "const Pixmap&
82978319 gdcm::PixmapReader::GetPixmap() const
82988320
82998321 Return the read image (need to call Read() first) ";
8300
8301 %feature("docstring") gdcm::PixmapReader::GetPixmap "Pixmap&
8302 gdcm::PixmapReader::GetPixmap() ";
83038322
83048323 %feature("docstring") gdcm::PixmapReader::Read "bool
83058324 gdcm::PixmapReader::Read() override
83578376
83588377 %feature("docstring") gdcm::PixmapWriter::~PixmapWriter "gdcm::PixmapWriter::~PixmapWriter() override ";
83598378
8379 %feature("docstring") gdcm::PixmapWriter::GetImage "virtual Pixmap&
8380 gdcm::PixmapWriter::GetImage() ";
8381
83608382 %feature("docstring") gdcm::PixmapWriter::GetImage "virtual const
83618383 Pixmap& gdcm::PixmapWriter::GetImage() const
83628384
83638385 Set/Get Pixmap to be written It will overwrite anything Pixmap infos
83648386 found in DataSet (see parent class to see how to pass dataset) ";
83658387
8366 %feature("docstring") gdcm::PixmapWriter::GetImage "virtual Pixmap&
8367 gdcm::PixmapWriter::GetImage() ";
8388 %feature("docstring") gdcm::PixmapWriter::GetPixmap "Pixmap&
8389 gdcm::PixmapWriter::GetPixmap() ";
83688390
83698391 %feature("docstring") gdcm::PixmapWriter::GetPixmap "const Pixmap&
83708392 gdcm::PixmapWriter::GetPixmap() const ";
8371
8372 %feature("docstring") gdcm::PixmapWriter::GetPixmap "Pixmap&
8373 gdcm::PixmapWriter::GetPixmap() ";
83748393
83758394 %feature("docstring") gdcm::PixmapWriter::SetImage "virtual void
83768395 gdcm::PixmapWriter::SetImage(Pixmap const &img) ";
84868505
84878506 Set Preamble to the default one. ";
84888507
8489 %feature("docstring") gdcm::Preamble::Write "std::ostream const&
8508 %feature("docstring") gdcm::Preamble::Write "const std::ostream&
84908509 gdcm::Preamble::Write(std::ostream &os) const
84918510
84928511 Write Preamble. ";
85618580 "uint8_t gdcm::network::PresentationContextAC::GetReason() const ";
85628581
85638582 %feature("docstring")
8564 gdcm::network::PresentationContextAC::GetTransferSyntax "TransferSyntaxSub const&
8583 gdcm::network::PresentationContextAC::GetTransferSyntax "const
8584 TransferSyntaxSub&
85658585 gdcm::network::PresentationContextAC::GetTransferSyntax() const ";
85668586
85678587 %feature("docstring") gdcm::network::PresentationContextAC::Print "void gdcm::network::PresentationContextAC::Print(std::ostream &os)
86508670 VerificationSOPClass) ";
86518671
86528672 %feature("docstring")
8653 gdcm::PresentationContextGenerator::GetPresentationContexts "PresentationContextArrayType const&
8673 gdcm::PresentationContextGenerator::GetPresentationContexts "const
8674 PresentationContextArrayType&
86548675 gdcm::PresentationContextGenerator::GetPresentationContexts() ";
86558676
86568677 %feature("docstring")
86848705 gdcm::network::PresentationContextRQ::PresentationContextRQ "gdcm::network::PresentationContextRQ::PresentationContextRQ() ";
86858706
86868707 %feature("docstring")
8708 gdcm::network::PresentationContextRQ::PresentationContextRQ "gdcm::network::PresentationContextRQ::PresentationContextRQ(const
8709 PresentationContext &pc) ";
8710
8711 %feature("docstring")
86878712 gdcm::network::PresentationContextRQ::PresentationContextRQ "gdcm::network::PresentationContextRQ::PresentationContextRQ(UIDs::TSName
86888713 asname, UIDs::TSName
86898714 tsname=UIDs::ImplicitVRLittleEndianDefaultTransferSyntaxforDICOM)
86938718 LittleEndian when not specified ). ";
86948719
86958720 %feature("docstring")
8696 gdcm::network::PresentationContextRQ::PresentationContextRQ "gdcm::network::PresentationContextRQ::PresentationContextRQ(const
8697 PresentationContext &pc) ";
8698
8699 %feature("docstring")
87008721 gdcm::network::PresentationContextRQ::AddTransferSyntax "void
87018722 gdcm::network::PresentationContextRQ::AddTransferSyntax(TransferSyntaxSub
87028723 const &ts) ";
87038724
87048725 %feature("docstring")
8705 gdcm::network::PresentationContextRQ::GetAbstractSyntax "AbstractSyntax const&
8706 gdcm::network::PresentationContextRQ::GetAbstractSyntax() const ";
8707
8708 %feature("docstring")
87098726 gdcm::network::PresentationContextRQ::GetAbstractSyntax "AbstractSyntax&
87108727 gdcm::network::PresentationContextRQ::GetAbstractSyntax() ";
8728
8729 %feature("docstring")
8730 gdcm::network::PresentationContextRQ::GetAbstractSyntax "const
8731 AbstractSyntax&
8732 gdcm::network::PresentationContextRQ::GetAbstractSyntax() const ";
87118733
87128734 %feature("docstring")
87138735 gdcm::network::PresentationContextRQ::GetNumberOfTransferSyntaxes "SizeType
87208742 ";
87218743
87228744 %feature("docstring")
8723 gdcm::network::PresentationContextRQ::GetTransferSyntax "TransferSyntaxSub const&
8745 gdcm::network::PresentationContextRQ::GetTransferSyntax "TransferSyntaxSub&
8746 gdcm::network::PresentationContextRQ::GetTransferSyntax(SizeType i) ";
8747
8748 %feature("docstring")
8749 gdcm::network::PresentationContextRQ::GetTransferSyntax "const
8750 TransferSyntaxSub&
87248751 gdcm::network::PresentationContextRQ::GetTransferSyntax(SizeType i)
87258752 const ";
87268753
87278754 %feature("docstring")
8728 gdcm::network::PresentationContextRQ::GetTransferSyntax "TransferSyntaxSub&
8729 gdcm::network::PresentationContextRQ::GetTransferSyntax(SizeType i) ";
8730
8731 %feature("docstring")
8732 gdcm::network::PresentationContextRQ::GetTransferSyntaxes "std::vector<TransferSyntaxSub> const&
8755 gdcm::network::PresentationContextRQ::GetTransferSyntaxes "const
8756 std::vector<TransferSyntaxSub>&
87338757 gdcm::network::PresentationContextRQ::GetTransferSyntaxes() const ";
87348758
87358759 %feature("docstring") gdcm::network::PresentationContextRQ::Print "void gdcm::network::PresentationContextRQ::Print(std::ostream &os)
89208944
89218945 C++ includes: gdcmPrivateTag.h ";
89228946
8947 %feature("docstring") gdcm::PrivateTag::PrivateTag "gdcm::PrivateTag::PrivateTag(Tag const &t, const char *owner=\"\") ";
8948
89238949 %feature("docstring") gdcm::PrivateTag::PrivateTag "gdcm::PrivateTag::PrivateTag(uint16_t group=0, uint16_t element=0,
89248950 const char *owner=\"\") ";
89258951
8926 %feature("docstring") gdcm::PrivateTag::PrivateTag "gdcm::PrivateTag::PrivateTag(Tag const &t, const char *owner=\"\") ";
8927
89288952 %feature("docstring") gdcm::PrivateTag::GetAsDataElement "DataElement gdcm::PrivateTag::GetAsDataElement() const ";
89298953
89308954 %feature("docstring") gdcm::PrivateTag::GetOwner "const char*
89518975
89528976 C++ includes: gdcmProgressEvent.h ";
89538977
8978 %feature("docstring") gdcm::ProgressEvent::ProgressEvent "gdcm::ProgressEvent::ProgressEvent(const Self &s) ";
8979
89548980 %feature("docstring") gdcm::ProgressEvent::ProgressEvent "gdcm::ProgressEvent::ProgressEvent(double p=0) ";
8955
8956 %feature("docstring") gdcm::ProgressEvent::ProgressEvent "gdcm::ProgressEvent::ProgressEvent(const Self &s) ";
89578981
89588982 %feature("docstring") gdcm::ProgressEvent::~ProgressEvent "gdcm::ProgressEvent::~ProgressEvent() override=default ";
89598983
93739397 Test whether this is a DICOM file WARNING: need to call either
93749398 SetFileName or SetStream first ";
93759399
9400 %feature("docstring") gdcm::Reader::GetFile "File&
9401 gdcm::Reader::GetFile()
9402
9403 Set/Get File. ";
9404
93769405 %feature("docstring") gdcm::Reader::GetFile "const File&
93779406 gdcm::Reader::GetFile() const
9378
9379 Set/Get File. ";
9380
9381 %feature("docstring") gdcm::Reader::GetFile "File&
9382 gdcm::Reader::GetFile()
93839407
93849408 Set/Get File. ";
93859409
96759699 const ";
96769700
96779701
9678 // File: structgdcm_1_1SerieHelper_1_1Rule.xml
9679
9680
96819702 // File: classgdcm_1_1Scanner.xml
96829703 %feature("docstring") gdcm::Scanner "
96839704
97499770 Will loop over all files and return the first file where value match
97509771 the reference value 'valueref' ";
97519772
9752 %feature("docstring") gdcm::Scanner::GetFilenames "Directory::FilenamesType const& gdcm::Scanner::GetFilenames() const ";
9773 %feature("docstring") gdcm::Scanner::GetFilenames "const
9774 Directory::FilenamesType& gdcm::Scanner::GetFilenames() const ";
97539775
97549776 %feature("docstring") gdcm::Scanner::GetKeys "Directory::FilenamesType gdcm::Scanner::GetKeys() const
97559777
97569778 Return the list of filename that are key in the internal map, which
97579779 means those filename were properly parsed ";
97589780
9759 %feature("docstring") gdcm::Scanner::GetMapping "TagToValue const&
9781 %feature("docstring") gdcm::Scanner::GetMapping "const TagToValue&
97609782 gdcm::Scanner::GetMapping(const char *filename) const
97619783
97629784 Get the std::map mapping filenames to value for file 'filename'. ";
97639785
9764 %feature("docstring") gdcm::Scanner::GetMappingFromTagToValue "TagToValue const& gdcm::Scanner::GetMappingFromTagToValue(Tag const
9765 &t, const char *value) const
9786 %feature("docstring") gdcm::Scanner::GetMappingFromTagToValue "const
9787 TagToValue& gdcm::Scanner::GetMappingFromTagToValue(Tag const &t,
9788 const char *value) const
97669789
97679790 See GetFilenameFromTagToValue(). This is simply
97689791 GetFilenameFromTagToValue followed. ";
97699792
9770 %feature("docstring") gdcm::Scanner::GetMappings "MappingType const&
9793 %feature("docstring") gdcm::Scanner::GetMappings "const MappingType&
97719794 gdcm::Scanner::GetMappings() const
97729795
97739796 Mappings are the mapping from a particular tag to the map, mapping
97899812 the TagToValue hash table. WARNING: Tag 't' should have been added
97909813 via AddTag() prior to the Scan() call ! ";
97919814
9792 %feature("docstring") gdcm::Scanner::GetValues "ValuesType const&
9815 %feature("docstring") gdcm::Scanner::GetValues "const ValuesType&
97939816 gdcm::Scanner::GetValues() const
97949817
97959818 Get all the values found (in lexicographic order) ";
98409863 %feature("docstring") gdcm::Segment::AddSurface "void
98419864 gdcm::Segment::AddSurface(SmartPointer< Surface > surface) ";
98429865
9843 %feature("docstring") gdcm::Segment::GetAnatomicRegion "SegmentHelper::BasicCodedEntry const&
9844 gdcm::Segment::GetAnatomicRegion() const ";
9845
98469866 %feature("docstring") gdcm::Segment::GetAnatomicRegion "SegmentHelper::BasicCodedEntry& gdcm::Segment::GetAnatomicRegion() ";
98479867
9848 %feature("docstring") gdcm::Segment::GetAnatomicRegionModifiers "BasicCodedEntryVector const&
9868 %feature("docstring") gdcm::Segment::GetAnatomicRegion "const
9869 SegmentHelper::BasicCodedEntry& gdcm::Segment::GetAnatomicRegion()
9870 const ";
9871
9872 %feature("docstring") gdcm::Segment::GetAnatomicRegionModifiers "BasicCodedEntryVector& gdcm::Segment::GetAnatomicRegionModifiers() ";
9873
9874 %feature("docstring") gdcm::Segment::GetAnatomicRegionModifiers "const BasicCodedEntryVector&
98499875 gdcm::Segment::GetAnatomicRegionModifiers() const ";
98509876
9851 %feature("docstring") gdcm::Segment::GetAnatomicRegionModifiers "BasicCodedEntryVector& gdcm::Segment::GetAnatomicRegionModifiers() ";
9852
9853 %feature("docstring") gdcm::Segment::GetPropertyCategory "SegmentHelper::BasicCodedEntry const&
9854 gdcm::Segment::GetPropertyCategory() const ";
9855
98569877 %feature("docstring") gdcm::Segment::GetPropertyCategory "SegmentHelper::BasicCodedEntry& gdcm::Segment::GetPropertyCategory()
98579878 ";
98589879
9859 %feature("docstring") gdcm::Segment::GetPropertyType "SegmentHelper::BasicCodedEntry const& gdcm::Segment::GetPropertyType()
9880 %feature("docstring") gdcm::Segment::GetPropertyCategory "const
9881 SegmentHelper::BasicCodedEntry& gdcm::Segment::GetPropertyCategory()
98609882 const ";
98619883
98629884 %feature("docstring") gdcm::Segment::GetPropertyType "SegmentHelper::BasicCodedEntry& gdcm::Segment::GetPropertyType() ";
98639885
9864 %feature("docstring") gdcm::Segment::GetPropertyTypeModifiers "BasicCodedEntryVector const& gdcm::Segment::GetPropertyTypeModifiers()
9865 const ";
9886 %feature("docstring") gdcm::Segment::GetPropertyType "const
9887 SegmentHelper::BasicCodedEntry& gdcm::Segment::GetPropertyType() const
9888 ";
98669889
98679890 %feature("docstring") gdcm::Segment::GetPropertyTypeModifiers "BasicCodedEntryVector& gdcm::Segment::GetPropertyTypeModifiers() ";
9891
9892 %feature("docstring") gdcm::Segment::GetPropertyTypeModifiers "const
9893 BasicCodedEntryVector& gdcm::Segment::GetPropertyTypeModifiers() const
9894 ";
98689895
98699896 %feature("docstring") gdcm::Segment::GetSegmentAlgorithmName "const
98709897 char* gdcm::Segment::GetSegmentAlgorithmName() const ";
98869913 %feature("docstring") gdcm::Segment::GetSurfaceCount "unsigned long
98879914 gdcm::Segment::GetSurfaceCount() ";
98889915
9889 %feature("docstring") gdcm::Segment::GetSurfaces "SurfaceVector
9890 const& gdcm::Segment::GetSurfaces() const ";
9891
98929916 %feature("docstring") gdcm::Segment::GetSurfaces "SurfaceVector&
98939917 gdcm::Segment::GetSurfaces() ";
9918
9919 %feature("docstring") gdcm::Segment::GetSurfaces "const
9920 SurfaceVector& gdcm::Segment::GetSurfaces() const ";
98949921
98959922 %feature("docstring") gdcm::Segment::SetAnatomicRegion "void
98969923 gdcm::Segment::SetAnatomicRegion(SegmentHelper::BasicCodedEntry const
997510002
997610003 %feature("docstring") gdcm::SegmentReader::~SegmentReader "gdcm::SegmentReader::~SegmentReader() override ";
997710004
10005 %feature("docstring") gdcm::SegmentReader::GetSegments "SegmentVector gdcm::SegmentReader::GetSegments() ";
10006
997810007 %feature("docstring") gdcm::SegmentReader::GetSegments "const
997910008 SegmentVector gdcm::SegmentReader::GetSegments() const ";
9980
9981 %feature("docstring") gdcm::SegmentReader::GetSegments "SegmentVector gdcm::SegmentReader::GetSegments() ";
998210009
998310010 %feature("docstring") gdcm::SegmentReader::Read "bool
998410011 gdcm::SegmentReader::Read() override
1001010037 Segment > gdcm::SegmentWriter::GetSegment(const unsigned int idx=0)
1001110038 const ";
1001210039
10040 %feature("docstring") gdcm::SegmentWriter::GetSegments "SegmentVector& gdcm::SegmentWriter::GetSegments() ";
10041
1001310042 %feature("docstring") gdcm::SegmentWriter::GetSegments "const
1001410043 SegmentVector& gdcm::SegmentWriter::GetSegments() const ";
10015
10016 %feature("docstring") gdcm::SegmentWriter::GetSegments "SegmentVector& gdcm::SegmentWriter::GetSegments() ";
1001710044
1001810045 %feature("docstring") gdcm::SegmentWriter::SetNumberOfSegments "void
1001910046 gdcm::SegmentWriter::SetNumberOfSegments(const unsigned int size) ";
1008810115 %feature("docstring") gdcm::SequenceOfFragments::GetNumberOfFragments
1008910116 "SizeType gdcm::SequenceOfFragments::GetNumberOfFragments() const ";
1009010117
10118 %feature("docstring") gdcm::SequenceOfFragments::GetTable "BasicOffsetTable& gdcm::SequenceOfFragments::GetTable() ";
10119
1009110120 %feature("docstring") gdcm::SequenceOfFragments::GetTable "const
1009210121 BasicOffsetTable& gdcm::SequenceOfFragments::GetTable() const ";
10093
10094 %feature("docstring") gdcm::SequenceOfFragments::GetTable "BasicOffsetTable& gdcm::SequenceOfFragments::GetTable() ";
1009510122
1009610123 %feature("docstring") gdcm::SequenceOfFragments::Print "void
1009710124 gdcm::SequenceOfFragments::Print(std::ostream &os) const override ";
1011110138
1011210139 Sets the actual SQ length. ";
1011310140
10114 %feature("docstring") gdcm::SequenceOfFragments::Write "std::ostream
10115 const& gdcm::SequenceOfFragments::Write(std::ostream &os) const ";
10141 %feature("docstring") gdcm::SequenceOfFragments::Write "const
10142 std::ostream& gdcm::SequenceOfFragments::Write(std::ostream &os) const
10143 ";
1011610144
1011710145 %feature("docstring") gdcm::SequenceOfFragments::WriteBuffer "bool
1011810146 gdcm::SequenceOfFragments::WriteBuffer(std::ostream &os) const ";
1017310201 %feature("docstring") gdcm::SequenceOfItems::FindDataElement "bool
1017410202 gdcm::SequenceOfItems::FindDataElement(const Tag &t) const ";
1017510203
10204 %feature("docstring") gdcm::SequenceOfItems::GetItem "Item&
10205 gdcm::SequenceOfItems::GetItem(SizeType position) ";
10206
1017610207 %feature("docstring") gdcm::SequenceOfItems::GetItem "const Item&
1017710208 gdcm::SequenceOfItems::GetItem(SizeType position) const ";
1017810209
10179 %feature("docstring") gdcm::SequenceOfItems::GetItem "Item&
10180 gdcm::SequenceOfItems::GetItem(SizeType position) ";
10181
1018210210 %feature("docstring") gdcm::SequenceOfItems::GetLength "VL
1018310211 gdcm::SequenceOfItems::GetLength() const override
1018410212
1021810246 %feature("docstring") gdcm::SequenceOfItems::SetNumberOfItems "void
1021910247 gdcm::SequenceOfItems::SetNumberOfItems(SizeType n) ";
1022010248
10221 %feature("docstring") gdcm::SequenceOfItems::Write "std::ostream
10222 const& gdcm::SequenceOfItems::Write(std::ostream &os) const ";
10249 %feature("docstring") gdcm::SequenceOfItems::Write "const
10250 std::ostream& gdcm::SequenceOfItems::Write(std::ostream &os) const ";
1022310251
1022410252
1022510253 // File: classgdcm_1_1SerieHelper.xml
1040210430 Execute a C-STORE on file on disk, named filename. ";
1040310431
1040410432 %feature("docstring") gdcm::ServiceClassUser::SendStore "bool
10433 gdcm::ServiceClassUser::SendStore(DataSet const &ds)
10434
10435 Execute a C-STORE on a DataSet, the transfer syntax used will be
10436 Implicit. ";
10437
10438 %feature("docstring") gdcm::ServiceClassUser::SendStore "bool
1040510439 gdcm::ServiceClassUser::SendStore(File const &file)
1040610440
1040710441 Execute a C-STORE on a File, the transfer syntax used for the query is
1040810442 based on the file. ";
10409
10410 %feature("docstring") gdcm::ServiceClassUser::SendStore "bool
10411 gdcm::ServiceClassUser::SendStore(DataSet const &ds)
10412
10413 Execute a C-STORE on a DataSet, the transfer syntax used will be
10414 Implicit. ";
1041510443
1041610444 %feature("docstring") gdcm::ServiceClassUser::SetAETitle "void
1041710445 gdcm::ServiceClassUser::SetAETitle(const char *aetitle)
1049710525 &)=delete ";
1049810526
1049910527 %feature("docstring") gdcm::SimpleMemberCommand::Execute "void
10500 gdcm::SimpleMemberCommand< T >::Execute(Subject *, const Event &)
10501 override
10502
10503 Invoke the callback function. ";
10504
10505 %feature("docstring") gdcm::SimpleMemberCommand::Execute "void
1050610528 gdcm::SimpleMemberCommand< T >::Execute(const Subject *, const Event
1050710529 &) override
1050810530
1051010532 This variant is expected to be used when requests comes from a const
1051110533 Object ";
1051210534
10535 %feature("docstring") gdcm::SimpleMemberCommand::Execute "void
10536 gdcm::SimpleMemberCommand< T >::Execute(Subject *, const Event &)
10537 override
10538
10539 Invoke the callback function. ";
10540
1051310541 %feature("docstring") gdcm::SimpleMemberCommand::SetCallbackFunction
1051410542 "void gdcm::SimpleMemberCommand< T >::SetCallbackFunction(T *object,
1051510543 TMemberFunctionPointer memberFunction)
1052710555 C++ includes: gdcmSimpleSubjectWatcher.h ";
1052810556
1052910557 %feature("docstring")
10558 gdcm::SimpleSubjectWatcher::SimpleSubjectWatcher "gdcm::SimpleSubjectWatcher::SimpleSubjectWatcher(const
10559 SimpleSubjectWatcher &)=delete ";
10560
10561 %feature("docstring")
1053010562 gdcm::SimpleSubjectWatcher::SimpleSubjectWatcher "gdcm::SimpleSubjectWatcher::SimpleSubjectWatcher(Subject *s, const
1053110563 char *comment=\"\") ";
10532
10533 %feature("docstring")
10534 gdcm::SimpleSubjectWatcher::SimpleSubjectWatcher "gdcm::SimpleSubjectWatcher::SimpleSubjectWatcher(const
10535 SimpleSubjectWatcher &)=delete ";
1053610564
1053710565 %feature("docstring")
1053810566 gdcm::SimpleSubjectWatcher::~SimpleSubjectWatcher "virtual
1081110839 %feature("docstring") gdcm::SplitMosaicFilter::GetFile "const File&
1081210840 gdcm::SplitMosaicFilter::GetFile() const ";
1081310841
10842 %feature("docstring") gdcm::SplitMosaicFilter::GetImage "Image&
10843 gdcm::SplitMosaicFilter::GetImage() ";
10844
1081410845 %feature("docstring") gdcm::SplitMosaicFilter::GetImage "const
1081510846 Image& gdcm::SplitMosaicFilter::GetImage() const ";
10816
10817 %feature("docstring") gdcm::SplitMosaicFilter::GetImage "Image&
10818 gdcm::SplitMosaicFilter::GetImage() ";
1081910847
1082010848 %feature("docstring") gdcm::SplitMosaicFilter::SetFile "void
1082110849 gdcm::SplitMosaicFilter::SetFile(const File &f) ";
1090510933 gdcm::StreamImageReader::GetDimensionsValueForResolution(unsigned int)
1090610934 ";
1090710935
10908 %feature("docstring") gdcm::StreamImageReader::GetFile "File const&
10936 %feature("docstring") gdcm::StreamImageReader::GetFile "const File&
1090910937 gdcm::StreamImageReader::GetFile() const
1091010938
1091110939 Returns the dataset read by ReadImageInformation Couple this with the
1111011138 Will loop over all files and return the first file where value match
1111111139 the reference value 'valueref' ";
1111211140
11113 %feature("docstring") gdcm::StrictScanner::GetFilenames "Directory::FilenamesType const& gdcm::StrictScanner::GetFilenames()
11114 const ";
11141 %feature("docstring") gdcm::StrictScanner::GetFilenames "const
11142 Directory::FilenamesType& gdcm::StrictScanner::GetFilenames() const ";
1111511143
1111611144 %feature("docstring") gdcm::StrictScanner::GetKeys "Directory::FilenamesType gdcm::StrictScanner::GetKeys() const
1111711145
1111811146 Return the list of filename that are key in the internal map, which
1111911147 means those filename were properly parsed ";
1112011148
11121 %feature("docstring") gdcm::StrictScanner::GetMapping "TagToValue
11122 const& gdcm::StrictScanner::GetMapping(const char *filename) const
11149 %feature("docstring") gdcm::StrictScanner::GetMapping "const
11150 TagToValue& gdcm::StrictScanner::GetMapping(const char *filename)
11151 const
1112311152
1112411153 Get the std::map mapping filenames to value for file 'filename'. ";
1112511154
11126 %feature("docstring") gdcm::StrictScanner::GetMappingFromTagToValue "TagToValue const& gdcm::StrictScanner::GetMappingFromTagToValue(Tag
11155 %feature("docstring") gdcm::StrictScanner::GetMappingFromTagToValue "const TagToValue& gdcm::StrictScanner::GetMappingFromTagToValue(Tag
1112711156 const &t, const char *value) const
1112811157
1112911158 See GetFilenameFromTagToValue(). This is simply
1113011159 GetFilenameFromTagToValue followed. ";
1113111160
11132 %feature("docstring") gdcm::StrictScanner::GetMappings "MappingType
11133 const& gdcm::StrictScanner::GetMappings() const
11161 %feature("docstring") gdcm::StrictScanner::GetMappings "const
11162 MappingType& gdcm::StrictScanner::GetMappings() const
1113411163
1113511164 Mappings are the mapping from a particular tag to the map, mapping
1113611165 filename to value: ";
1115211181 the TagToValue hash table. WARNING: Tag 't' should have been added
1115311182 via AddTag() prior to the Scan() call ! ";
1115411183
11155 %feature("docstring") gdcm::StrictScanner::GetValues "ValuesType
11156 const& gdcm::StrictScanner::GetValues() const
11184 %feature("docstring") gdcm::StrictScanner::GetValues "const
11185 ValuesType& gdcm::StrictScanner::GetValues() const
1115711186
1115811187 Get all the values found (in lexicographic order) ";
1115911188
1120111230 String constructors. ";
1120211231
1120311232 %feature("docstring") gdcm::String::String "gdcm::String<
11233 TDelimiter, TMaxLength, TPadChar >::String(const std::string &s,
11234 size_type pos=0, size_type n=npos) ";
11235
11236 %feature("docstring") gdcm::String::String "gdcm::String<
1120411237 TDelimiter, TMaxLength, TPadChar >::String(const value_type *s) ";
1120511238
1120611239 %feature("docstring") gdcm::String::String "gdcm::String<
1120711240 TDelimiter, TMaxLength, TPadChar >::String(const value_type *s,
1120811241 size_type n) ";
1120911242
11210 %feature("docstring") gdcm::String::String "gdcm::String<
11211 TDelimiter, TMaxLength, TPadChar >::String(const std::string &s,
11212 size_type pos=0, size_type n=npos) ";
11213
1121411243 %feature("docstring") gdcm::String::IsValid "bool gdcm::String<
1121511244 TDelimiter, TMaxLength, TPadChar >::IsValid() const
1121611245
1127811307 Convert to string the ByteValue contained in a DataElement. The
1127911308 DataElement must be coming from the actual DataSet associated with
1128011309 File (see SetFile). ";
11310
11311 %feature("docstring") gdcm::StringFilter::ToString "std::string
11312 gdcm::StringFilter::ToString(const PrivateTag &t) const ";
1128111313
1128211314 %feature("docstring") gdcm::StringFilter::ToString "std::string
1128311315 gdcm::StringFilter::ToString(const Tag &t) const
1138911421
1139011422 %feature("docstring") gdcm::Surface::~Surface "gdcm::Surface::~Surface() override ";
1139111423
11392 %feature("docstring") gdcm::Surface::GetAlgorithmFamily "SegmentHelper::BasicCodedEntry const&
11393 gdcm::Surface::GetAlgorithmFamily() const ";
11394
1139511424 %feature("docstring") gdcm::Surface::GetAlgorithmFamily "SegmentHelper::BasicCodedEntry& gdcm::Surface::GetAlgorithmFamily() ";
11425
11426 %feature("docstring") gdcm::Surface::GetAlgorithmFamily "const
11427 SegmentHelper::BasicCodedEntry& gdcm::Surface::GetAlgorithmFamily()
11428 const ";
1139611429
1139711430 %feature("docstring") gdcm::Surface::GetAlgorithmName "const char*
1139811431 gdcm::Surface::GetAlgorithmName() const ";
1142211455 %feature("docstring") gdcm::Surface::GetMeanPointDistance "float
1142311456 gdcm::Surface::GetMeanPointDistance() const ";
1142411457
11425 %feature("docstring") gdcm::Surface::GetMeshPrimitive "MeshPrimitive
11426 const& gdcm::Surface::GetMeshPrimitive() const ";
11427
1142811458 %feature("docstring") gdcm::Surface::GetMeshPrimitive "MeshPrimitive& gdcm::Surface::GetMeshPrimitive() ";
11459
11460 %feature("docstring") gdcm::Surface::GetMeshPrimitive "const
11461 MeshPrimitive& gdcm::Surface::GetMeshPrimitive() const ";
1142911462
1143011463 %feature("docstring") gdcm::Surface::GetNumberOfSurfacePoints "unsigned long gdcm::Surface::GetNumberOfSurfacePoints() const ";
1143111464
1143211465 %feature("docstring") gdcm::Surface::GetNumberOfVectors "unsigned
1143311466 long gdcm::Surface::GetNumberOfVectors() const ";
1143411467
11468 %feature("docstring") gdcm::Surface::GetPointCoordinatesData "DataElement& gdcm::Surface::GetPointCoordinatesData() ";
11469
1143511470 %feature("docstring") gdcm::Surface::GetPointCoordinatesData "const
1143611471 DataElement& gdcm::Surface::GetPointCoordinatesData() const ";
1143711472
11438 %feature("docstring") gdcm::Surface::GetPointCoordinatesData "DataElement& gdcm::Surface::GetPointCoordinatesData() ";
11439
1144011473 %feature("docstring") gdcm::Surface::GetPointPositionAccuracy "const
1144111474 float* gdcm::Surface::GetPointPositionAccuracy() const
1144211475
1144711480
1144811481 Pointer is null if undefined ";
1144911482
11450 %feature("docstring") gdcm::Surface::GetProcessingAlgorithm "SegmentHelper::BasicCodedEntry const&
11451 gdcm::Surface::GetProcessingAlgorithm() const ";
11452
1145311483 %feature("docstring") gdcm::Surface::GetProcessingAlgorithm "SegmentHelper::BasicCodedEntry&
1145411484 gdcm::Surface::GetProcessingAlgorithm() ";
11485
11486 %feature("docstring") gdcm::Surface::GetProcessingAlgorithm "const
11487 SegmentHelper::BasicCodedEntry&
11488 gdcm::Surface::GetProcessingAlgorithm() const ";
1145511489
1145611490 %feature("docstring") gdcm::Surface::GetRecommendedDisplayCIELabValue
1145711491 "const unsigned short*
1148911523 %feature("docstring") gdcm::Surface::GetVectorAccuracy "const float*
1149011524 gdcm::Surface::GetVectorAccuracy() const ";
1149111525
11526 %feature("docstring") gdcm::Surface::GetVectorCoordinateData "DataElement& gdcm::Surface::GetVectorCoordinateData() ";
11527
1149211528 %feature("docstring") gdcm::Surface::GetVectorCoordinateData "const
1149311529 DataElement& gdcm::Surface::GetVectorCoordinateData() const ";
11494
11495 %feature("docstring") gdcm::Surface::GetVectorCoordinateData "DataElement& gdcm::Surface::GetVectorCoordinateData() ";
1149611530
1149711531 %feature("docstring") gdcm::Surface::GetVectorDimensionality "unsigned short gdcm::Surface::GetVectorDimensionality() const ";
1149811532
1154811582 const &BSE) ";
1154911583
1155011584 %feature("docstring") gdcm::Surface::SetRecommendedDisplayCIELabValue
11551 "void gdcm::Surface::SetRecommendedDisplayCIELabValue(const unsigned
11552 short vl[3]) ";
11585 "void gdcm::Surface::SetRecommendedDisplayCIELabValue(const
11586 std::vector< unsigned short > &vl) ";
1155311587
1155411588 %feature("docstring") gdcm::Surface::SetRecommendedDisplayCIELabValue
1155511589 "void gdcm::Surface::SetRecommendedDisplayCIELabValue(const unsigned
1155611590 short vl, const unsigned int idx=0) ";
1155711591
1155811592 %feature("docstring") gdcm::Surface::SetRecommendedDisplayCIELabValue
11559 "void gdcm::Surface::SetRecommendedDisplayCIELabValue(const
11560 std::vector< unsigned short > &vl) ";
11593 "void gdcm::Surface::SetRecommendedDisplayCIELabValue(const unsigned
11594 short vl[3]) ";
1156111595
1156211596 %feature("docstring")
1156311597 gdcm::Surface::SetRecommendedDisplayGrayscaleValue "void
1181111845
1181211846 C++ includes: gdcmTag.h ";
1181311847
11848 %feature("docstring") gdcm::Tag::Tag "gdcm::Tag::Tag(const Tag
11849 &_val) ";
11850
1181411851 %feature("docstring") gdcm::Tag::Tag "gdcm::Tag::Tag(uint16_t group,
1181511852 uint16_t element)
1181611853
1182011857
1182111858 Constructor with 1*uint32_t Prefer the cstor that takes two uint16_t.
1182211859 ";
11823
11824 %feature("docstring") gdcm::Tag::Tag "gdcm::Tag::Tag(const Tag
11825 &_val) ";
1182611860
1182711861 %feature("docstring") gdcm::Tag::GetElement "uint16_t
1182811862 gdcm::Tag::GetElement() const
1256112595 %feature("docstring")
1256212596 gdcm::network::ULBasicCallback::~ULBasicCallback "gdcm::network::ULBasicCallback::~ULBasicCallback() override=default ";
1256312597
12564 %feature("docstring") gdcm::network::ULBasicCallback::GetDataSets "std::vector<DataSet> const&
12598 %feature("docstring") gdcm::network::ULBasicCallback::GetDataSets "const std::vector<DataSet>&
1256512599 gdcm::network::ULBasicCallback::GetDataSets() const ";
1256612600
12567 %feature("docstring") gdcm::network::ULBasicCallback::GetResponses "std::vector<DataSet> const&
12601 %feature("docstring") gdcm::network::ULBasicCallback::GetResponses "const std::vector<DataSet>&
1256812602 gdcm::network::ULBasicCallback::GetResponses() const ";
1256912603
1257012604 %feature("docstring") gdcm::network::ULBasicCallback::HandleDataSet "void gdcm::network::ULBasicCallback::HandleDataSet(const DataSet
1260312637
1260412638 C++ includes: gdcmULConnection.h ";
1260512639
12640 %feature("docstring") gdcm::network::ULConnection::ULConnection "gdcm::network::ULConnection::ULConnection(const ULConnection &)=delete
12641 ";
12642
1260612643 %feature("docstring") gdcm::network::ULConnection::ULConnection "gdcm::network::ULConnection::ULConnection(const ULConnectionInfo
1260712644 &inUserInformation) ";
12608
12609 %feature("docstring") gdcm::network::ULConnection::ULConnection "gdcm::network::ULConnection::ULConnection(const ULConnection &)=delete
12610 ";
1261112645
1261212646 %feature("docstring") gdcm::network::ULConnection::~ULConnection "virtual gdcm::network::ULConnection::~ULConnection() ";
1261312647
1262012654 DataElement &de) const ";
1262112655
1262212656 %feature("docstring")
12623 gdcm::network::ULConnection::GetAcceptedPresentationContexts "std::vector<PresentationContextAC> const&
12624 gdcm::network::ULConnection::GetAcceptedPresentationContexts() const
12625 ";
12626
12627 %feature("docstring")
1262812657 gdcm::network::ULConnection::GetAcceptedPresentationContexts "std::vector<PresentationContextAC>&
1262912658 gdcm::network::ULConnection::GetAcceptedPresentationContexts() ";
12659
12660 %feature("docstring")
12661 gdcm::network::ULConnection::GetAcceptedPresentationContexts "const
12662 std::vector<PresentationContextAC>&
12663 gdcm::network::ULConnection::GetAcceptedPresentationContexts() const
12664 ";
1263012665
1263112666 %feature("docstring") gdcm::network::ULConnection::GetConnectionInfo
1263212667 "const ULConnectionInfo&
1265512690 const ";
1265612691
1265712692 %feature("docstring")
12658 gdcm::network::ULConnection::GetPresentationContexts "std::vector<PresentationContextRQ> const&
12693 gdcm::network::ULConnection::GetPresentationContexts "const
12694 std::vector<PresentationContextRQ>&
1265912695 gdcm::network::ULConnection::GetPresentationContexts() const ";
1266012696
1266112697 %feature("docstring") gdcm::network::ULConnection::GetProtocol "std::iostream* gdcm::network::ULConnection::GetProtocol() ";
1267712713 used to establish scp connections ";
1267812714
1267912715 %feature("docstring") gdcm::network::ULConnection::SetMaxPDUSize "void gdcm::network::ULConnection::SetMaxPDUSize(uint32_t inSize) ";
12716
12717 %feature("docstring")
12718 gdcm::network::ULConnection::SetPresentationContexts "void
12719 gdcm::network::ULConnection::SetPresentationContexts(const
12720 std::vector< PresentationContext > &inContexts) ";
1268012721
1268112722 %feature("docstring")
1268212723 gdcm::network::ULConnection::SetPresentationContexts "void
1268312724 gdcm::network::ULConnection::SetPresentationContexts(const
1268412725 std::vector< PresentationContextRQ > &inContexts) ";
12685
12686 %feature("docstring")
12687 gdcm::network::ULConnection::SetPresentationContexts "void
12688 gdcm::network::ULConnection::SetPresentationContexts(const
12689 std::vector< PresentationContext > &inContexts) ";
1269012726
1269112727 %feature("docstring") gdcm::network::ULConnection::SetState "void
1269212728 gdcm::network::ULConnection::SetState(const EStateID &inState) ";
1294512981
1294612982 C++ includes: gdcmULEvent.h ";
1294712983
12948 %feature("docstring") gdcm::network::ULEvent::ULEvent "gdcm::network::ULEvent::ULEvent(const EEventID &inEventID,
12949 std::vector< BasePDU *> inBasePDU, std::istream *iStream=nullptr,
12950 std::streampos posDataSet=0) ";
12951
1295212984 %feature("docstring") gdcm::network::ULEvent::ULEvent "gdcm::network::ULEvent::ULEvent(const EEventID &inEventID, BasePDU
1295312985 *inBasePDU, std::istream *iStream=nullptr, std::streampos
1295412986 posDataSet=0) ";
1295512987
12988 %feature("docstring") gdcm::network::ULEvent::ULEvent "gdcm::network::ULEvent::ULEvent(const EEventID &inEventID,
12989 std::vector< BasePDU * > inBasePDU, std::istream *iStream=nullptr,
12990 std::streampos posDataSet=0) ";
12991
1295612992 %feature("docstring") gdcm::network::ULEvent::~ULEvent "gdcm::network::ULEvent::~ULEvent() ";
1295712993
1295812994 %feature("docstring") gdcm::network::ULEvent::GetDataSetPos "std::streampos gdcm::network::ULEvent::GetDataSetPos() const ";
1296212998
1296312999 %feature("docstring") gdcm::network::ULEvent::GetIStream "std::istream* gdcm::network::ULEvent::GetIStream() const ";
1296413000
12965 %feature("docstring") gdcm::network::ULEvent::GetPDUs "std::vector<BasePDU*> const& gdcm::network::ULEvent::GetPDUs() const
12966 ";
13001 %feature("docstring") gdcm::network::ULEvent::GetPDUs "const
13002 std::vector<BasePDU*>& gdcm::network::ULEvent::GetPDUs() const ";
1296713003
1296813004 %feature("docstring") gdcm::network::ULEvent::SetEvent "void
1296913005 gdcm::network::ULEvent::SetEvent(const EEventID &inEvent) ";
1297013006
1297113007 %feature("docstring") gdcm::network::ULEvent::SetPDU "void
12972 gdcm::network::ULEvent::SetPDU(std::vector< BasePDU *> const &inPDU)
13008 gdcm::network::ULEvent::SetPDU(std::vector< BasePDU * > const &inPDU)
1297313009 ";
1297413010
1297513011
1317913215 const &s) ";
1318013216
1318113217 %feature("docstring")
13218 gdcm::network::UserInformation::GetMaximumLengthSub "MaximumLengthSub&
13219 gdcm::network::UserInformation::GetMaximumLengthSub() ";
13220
13221 %feature("docstring")
1318213222 gdcm::network::UserInformation::GetMaximumLengthSub "const
1318313223 MaximumLengthSub&
1318413224 gdcm::network::UserInformation::GetMaximumLengthSub() const ";
13185
13186 %feature("docstring")
13187 gdcm::network::UserInformation::GetMaximumLengthSub "MaximumLengthSub&
13188 gdcm::network::UserInformation::GetMaximumLengthSub() ";
1318913225
1319013226 %feature("docstring") gdcm::network::UserInformation::Print "void
1319113227 gdcm::network::UserInformation::Print(std::ostream &os) const ";
1348513521 vtkGDCMImageReader::SetMedicalImageProperties(vtkMedicalImageProperties
1348613522 *pd) ";
1348713523
13488 %feature("docstring") vtkGDCMImageReader::vtkBooleanMacro "vtkGDCMImageReader::vtkBooleanMacro(LoadOverlays, int) ";
13489
13490 %feature("docstring") vtkGDCMImageReader::vtkBooleanMacro "vtkGDCMImageReader::vtkBooleanMacro(LoadIconImage, int) ";
13491
13492 %feature("docstring") vtkGDCMImageReader::vtkBooleanMacro "vtkGDCMImageReader::vtkBooleanMacro(LossyFlag, int) ";
13493
1349413524 %feature("docstring") vtkGDCMImageReader::vtkBooleanMacro "vtkGDCMImageReader::vtkBooleanMacro(ApplyLookupTable, int) ";
1349513525
1349613526 %feature("docstring") vtkGDCMImageReader::vtkBooleanMacro "int
1349713527 vtkGDCMImageReader::vtkBooleanMacro(ApplyYBRToRGB, int) ";
1349813528
13499 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(LoadOverlays, int) ";
13500
13501 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(LoadIconImage, int) ";
13502
13503 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(LossyFlag, int) ";
13504
13505 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(NumberOfOverlays, int) ";
13506
13507 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(NumberOfIconImages, int) ";
13529 %feature("docstring") vtkGDCMImageReader::vtkBooleanMacro "vtkGDCMImageReader::vtkBooleanMacro(LoadIconImage, int) ";
13530
13531 %feature("docstring") vtkGDCMImageReader::vtkBooleanMacro "vtkGDCMImageReader::vtkBooleanMacro(LoadOverlays, int) ";
13532
13533 %feature("docstring") vtkGDCMImageReader::vtkBooleanMacro "vtkGDCMImageReader::vtkBooleanMacro(LossyFlag, int) ";
1350813534
1350913535 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(ApplyLookupTable, int) ";
1351013536
1351313539
1351413540 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(ImageFormat, int) ";
1351513541
13542 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(LoadIconImage, int) ";
13543
13544 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(LoadOverlays, int) ";
13545
13546 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(LossyFlag, int) ";
13547
13548 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(NumberOfIconImages, int) ";
13549
13550 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(NumberOfOverlays, int) ";
13551
1351613552 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(PlanarConfiguration, int) ";
1351713553
13554 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(Scale, double) ";
13555
1351813556 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(Shift, double) ";
1351913557
13520 %feature("docstring") vtkGDCMImageReader::vtkGetMacro "vtkGDCMImageReader::vtkGetMacro(Scale, double) ";
13558 %feature("docstring") vtkGDCMImageReader::vtkGetObjectMacro "vtkGDCMImageReader::vtkGetObjectMacro(Curve, vtkPolyData) ";
1352113559
1352213560 %feature("docstring") vtkGDCMImageReader::vtkGetObjectMacro "vtkGDCMImageReader::vtkGetObjectMacro(DirectionCosines, vtkMatrix4x4)
1352313561 ";
13562
13563 %feature("docstring") vtkGDCMImageReader::vtkGetObjectMacro "vtkGDCMImageReader::vtkGetObjectMacro(FileNames, vtkStringArray) ";
1352413564
1352513565 %feature("docstring") vtkGDCMImageReader::vtkGetObjectMacro "vtkGDCMImageReader::vtkGetObjectMacro(MedicalImageProperties,
1352613566 vtkMedicalImageProperties) ";
1352713567
13528 %feature("docstring") vtkGDCMImageReader::vtkGetObjectMacro "vtkGDCMImageReader::vtkGetObjectMacro(FileNames, vtkStringArray) ";
13529
13530 %feature("docstring") vtkGDCMImageReader::vtkGetObjectMacro "vtkGDCMImageReader::vtkGetObjectMacro(Curve, vtkPolyData) ";
13531
1353213568 %feature("docstring") vtkGDCMImageReader::vtkGetVector3Macro "vtkGDCMImageReader::vtkGetVector3Macro(ImagePositionPatient, double)
1353313569 ";
1353413570
1353513571 %feature("docstring") vtkGDCMImageReader::vtkGetVector6Macro "vtkGDCMImageReader::vtkGetVector6Macro(ImageOrientationPatient,
1353613572 double) ";
1353713573
13574 %feature("docstring") vtkGDCMImageReader::vtkSetMacro "vtkGDCMImageReader::vtkSetMacro(ApplyLookupTable, int) ";
13575
13576 %feature("docstring") vtkGDCMImageReader::vtkSetMacro "vtkGDCMImageReader::vtkSetMacro(LoadIconImage, int) ";
13577
1353813578 %feature("docstring") vtkGDCMImageReader::vtkSetMacro "vtkGDCMImageReader::vtkSetMacro(LoadOverlays, int) ";
1353913579
13540 %feature("docstring") vtkGDCMImageReader::vtkSetMacro "vtkGDCMImageReader::vtkSetMacro(LoadIconImage, int) ";
13541
1354213580 %feature("docstring") vtkGDCMImageReader::vtkSetMacro "vtkGDCMImageReader::vtkSetMacro(LossyFlag, int) ";
13543
13544 %feature("docstring") vtkGDCMImageReader::vtkSetMacro "vtkGDCMImageReader::vtkSetMacro(ApplyLookupTable, int) ";
1354513581
1354613582 %feature("docstring") vtkGDCMImageReader::vtkTypeMacro "vtkGDCMImageReader::vtkTypeMacro(vtkGDCMImageReader,
1354713583 vtkMedicalImageReader2) ";
1357813614 vtkGDCMImageReader2::SetMedicalImageProperties(vtkMedicalImageProperties
1357913615 *pd) ";
1358013616
13581 %feature("docstring") vtkGDCMImageReader2::vtkBooleanMacro "vtkGDCMImageReader2::vtkBooleanMacro(LoadOverlays, int) ";
13582
13583 %feature("docstring") vtkGDCMImageReader2::vtkBooleanMacro "vtkGDCMImageReader2::vtkBooleanMacro(LoadIconImage, int) ";
13584
13585 %feature("docstring") vtkGDCMImageReader2::vtkBooleanMacro "vtkGDCMImageReader2::vtkBooleanMacro(LossyFlag, int) ";
13586
1358713617 %feature("docstring") vtkGDCMImageReader2::vtkBooleanMacro "vtkGDCMImageReader2::vtkBooleanMacro(ApplyLookupTable, int) ";
1358813618
1358913619 %feature("docstring") vtkGDCMImageReader2::vtkBooleanMacro "int
1359013620 vtkGDCMImageReader2::vtkBooleanMacro(ApplyYBRToRGB, int) ";
1359113621
13592 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(LoadOverlays, int) ";
13593
13594 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(LoadIconImage, int) ";
13595
13596 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(LossyFlag, int) ";
13597
13598 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(NumberOfOverlays, int) ";
13599
13600 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(NumberOfIconImages, int) ";
13622 %feature("docstring") vtkGDCMImageReader2::vtkBooleanMacro "vtkGDCMImageReader2::vtkBooleanMacro(LoadIconImage, int) ";
13623
13624 %feature("docstring") vtkGDCMImageReader2::vtkBooleanMacro "vtkGDCMImageReader2::vtkBooleanMacro(LoadOverlays, int) ";
13625
13626 %feature("docstring") vtkGDCMImageReader2::vtkBooleanMacro "vtkGDCMImageReader2::vtkBooleanMacro(LossyFlag, int) ";
1360113627
1360213628 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(ApplyLookupTable, int) ";
1360313629
1360613632
1360713633 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(ImageFormat, int) ";
1360813634
13635 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(LoadIconImage, int) ";
13636
13637 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(LoadOverlays, int) ";
13638
13639 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(LossyFlag, int) ";
13640
13641 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(NumberOfIconImages, int) ";
13642
13643 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(NumberOfOverlays, int) ";
13644
1360913645 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(PlanarConfiguration, int) ";
1361013646
13647 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(Scale, double) ";
13648
1361113649 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(Shift, double) ";
1361213650
13613 %feature("docstring") vtkGDCMImageReader2::vtkGetMacro "vtkGDCMImageReader2::vtkGetMacro(Scale, double) ";
13651 %feature("docstring") vtkGDCMImageReader2::vtkGetObjectMacro "vtkGDCMImageReader2::vtkGetObjectMacro(Curve, vtkPolyData) ";
1361413652
1361513653 %feature("docstring") vtkGDCMImageReader2::vtkGetObjectMacro "vtkGDCMImageReader2::vtkGetObjectMacro(DirectionCosines, vtkMatrix4x4)
1361613654 ";
13617
13618 %feature("docstring") vtkGDCMImageReader2::vtkGetObjectMacro "vtkGDCMImageReader2::vtkGetObjectMacro(Curve, vtkPolyData) ";
1361913655
1362013656 %feature("docstring") vtkGDCMImageReader2::vtkGetVector3Macro "vtkGDCMImageReader2::vtkGetVector3Macro(ImagePositionPatient, double)
1362113657 ";
1362313659 %feature("docstring") vtkGDCMImageReader2::vtkGetVector6Macro "vtkGDCMImageReader2::vtkGetVector6Macro(ImageOrientationPatient,
1362413660 double) ";
1362513661
13662 %feature("docstring") vtkGDCMImageReader2::vtkSetMacro "vtkGDCMImageReader2::vtkSetMacro(ApplyLookupTable, int) ";
13663
13664 %feature("docstring") vtkGDCMImageReader2::vtkSetMacro "vtkGDCMImageReader2::vtkSetMacro(LoadIconImage, int) ";
13665
1362613666 %feature("docstring") vtkGDCMImageReader2::vtkSetMacro "vtkGDCMImageReader2::vtkSetMacro(LoadOverlays, int) ";
1362713667
13628 %feature("docstring") vtkGDCMImageReader2::vtkSetMacro "vtkGDCMImageReader2::vtkSetMacro(LoadIconImage, int) ";
13629
1363013668 %feature("docstring") vtkGDCMImageReader2::vtkSetMacro "vtkGDCMImageReader2::vtkSetMacro(LossyFlag, int) ";
13631
13632 %feature("docstring") vtkGDCMImageReader2::vtkSetMacro "vtkGDCMImageReader2::vtkSetMacro(ApplyLookupTable, int) ";
1363313669
1363413670 %feature("docstring") vtkGDCMImageReader2::vtkTypeMacro "vtkGDCMImageReader2::vtkTypeMacro(vtkGDCMImageReader2,
1363513671 vtkMedicalImageReader2) ";
1366213698 vtkGDCMImageWriter::SetMedicalImageProperties(vtkMedicalImageProperties
1366313699 *) ";
1366413700
13701 %feature("docstring") vtkGDCMImageWriter::vtkBooleanMacro "vtkGDCMImageWriter::vtkBooleanMacro(FileLowerLeft, int) ";
13702
1366513703 %feature("docstring") vtkGDCMImageWriter::vtkBooleanMacro "vtkGDCMImageWriter::vtkBooleanMacro(LossyFlag, int) ";
1366613704
13667 %feature("docstring") vtkGDCMImageWriter::vtkBooleanMacro "vtkGDCMImageWriter::vtkBooleanMacro(FileLowerLeft, int) ";
13705 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(CompressionType, int) ";
13706
13707 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(FileLowerLeft, int) ";
13708
13709 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(ImageFormat, int) ";
1366813710
1366913711 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(LossyFlag, int) ";
1367013712
13713 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(PlanarConfiguration, int) ";
13714
13715 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(Scale, double) ";
13716
1367113717 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(Shift, double) ";
1367213718
13673 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(Scale, double) ";
13674
13675 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(ImageFormat, int) ";
13676
13677 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(FileLowerLeft, int) ";
13678
13679 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(PlanarConfiguration, int) ";
13680
13681 %feature("docstring") vtkGDCMImageWriter::vtkGetMacro "vtkGDCMImageWriter::vtkGetMacro(CompressionType, int) ";
13719 %feature("docstring") vtkGDCMImageWriter::vtkGetObjectMacro "vtkGDCMImageWriter::vtkGetObjectMacro(DirectionCosines, vtkMatrix4x4)
13720 ";
13721
13722 %feature("docstring") vtkGDCMImageWriter::vtkGetObjectMacro "vtkGDCMImageWriter::vtkGetObjectMacro(FileNames, vtkStringArray) ";
1368213723
1368313724 %feature("docstring") vtkGDCMImageWriter::vtkGetObjectMacro "vtkGDCMImageWriter::vtkGetObjectMacro(MedicalImageProperties,
1368413725 vtkMedicalImageProperties) ";
1368513726
13686 %feature("docstring") vtkGDCMImageWriter::vtkGetObjectMacro "vtkGDCMImageWriter::vtkGetObjectMacro(FileNames, vtkStringArray) ";
13687
13688 %feature("docstring") vtkGDCMImageWriter::vtkGetObjectMacro "vtkGDCMImageWriter::vtkGetObjectMacro(DirectionCosines, vtkMatrix4x4)
13689 ";
13727 %feature("docstring") vtkGDCMImageWriter::vtkGetStringMacro "vtkGDCMImageWriter::vtkGetStringMacro(SeriesUID) ";
1369013728
1369113729 %feature("docstring") vtkGDCMImageWriter::vtkGetStringMacro "vtkGDCMImageWriter::vtkGetStringMacro(StudyUID) ";
1369213730
13693 %feature("docstring") vtkGDCMImageWriter::vtkGetStringMacro "vtkGDCMImageWriter::vtkGetStringMacro(SeriesUID) ";
13731 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(CompressionType, int) ";
13732
13733 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(FileLowerLeft, int) ";
13734
13735 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(ImageFormat, int) ";
1369413736
1369513737 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(LossyFlag, int) ";
1369613738
13739 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(PlanarConfiguration, int) ";
13740
13741 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(Scale, double) ";
13742
1369713743 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(Shift, double) ";
1369813744
13699 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(Scale, double) ";
13700
13701 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(ImageFormat, int) ";
13702
13703 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(FileLowerLeft, int) ";
13704
13705 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(PlanarConfiguration, int) ";
13706
13707 %feature("docstring") vtkGDCMImageWriter::vtkSetMacro "vtkGDCMImageWriter::vtkSetMacro(CompressionType, int) ";
13745 %feature("docstring") vtkGDCMImageWriter::vtkSetStringMacro "vtkGDCMImageWriter::vtkSetStringMacro(SeriesUID) ";
1370813746
1370913747 %feature("docstring") vtkGDCMImageWriter::vtkSetStringMacro "vtkGDCMImageWriter::vtkSetStringMacro(StudyUID) ";
13710
13711 %feature("docstring") vtkGDCMImageWriter::vtkSetStringMacro "vtkGDCMImageWriter::vtkSetStringMacro(SeriesUID) ";
1371213748
1371313749 %feature("docstring") vtkGDCMImageWriter::vtkTypeMacro "vtkGDCMImageWriter::vtkTypeMacro(vtkGDCMImageWriter, vtkImageWriter)
1371413750 ";
1380313839
1380413840 %feature("docstring") vtkGDCMThreadedImageReader::vtkGetMacro "vtkGDCMThreadedImageReader::vtkGetMacro(UseShiftScale, int) ";
1380513841
13842 %feature("docstring") vtkGDCMThreadedImageReader::vtkSetMacro "vtkGDCMThreadedImageReader::vtkSetMacro(Scale, double) ";
13843
1380613844 %feature("docstring") vtkGDCMThreadedImageReader::vtkSetMacro "vtkGDCMThreadedImageReader::vtkSetMacro(Shift, double) ";
13807
13808 %feature("docstring") vtkGDCMThreadedImageReader::vtkSetMacro "vtkGDCMThreadedImageReader::vtkSetMacro(Scale, double) ";
1380913845
1381013846 %feature("docstring") vtkGDCMThreadedImageReader::vtkSetMacro "vtkGDCMThreadedImageReader::vtkSetMacro(UseShiftScale, int) ";
1381113847
1383913875
1384013876 %feature("docstring") vtkGDCMThreadedImageReader2::vtkBooleanMacro "vtkGDCMThreadedImageReader2::vtkBooleanMacro(UseShiftScale, int) ";
1384113877
13878 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(DataScalarType, int) ";
13879
1384213880 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(FileLowerLeft, int) ";
1384313881
13882 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(LoadOverlays, int) ";
13883
1384413884 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(NumberOfOverlays, int) ";
13845
13846 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(DataScalarType, int) ";
1384713885
1384813886 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(NumberOfScalarComponents,
1384913887 int) ";
1385013888
13851 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(LoadOverlays, int) ";
13889 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(Scale, double) ";
1385213890
1385313891 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(Shift, double) ";
13854
13855 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(Scale, double) ";
1385613892
1385713893 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetMacro "vtkGDCMThreadedImageReader2::vtkGetMacro(UseShiftScale, int) ";
1385813894
1387113907 %feature("docstring") vtkGDCMThreadedImageReader2::vtkGetVector6Macro
1387213908 "vtkGDCMThreadedImageReader2::vtkGetVector6Macro(DataExtent, int) ";
1387313909
13910 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(DataScalarType, int) ";
13911
1387413912 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(FileLowerLeft, int) ";
1387513913
13876 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(DataScalarType, int) ";
13914 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(LoadOverlays, int) ";
1387713915
1387813916 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(NumberOfScalarComponents,
1387913917 int) ";
1388013918
13881 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(LoadOverlays, int) ";
13919 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(Scale, double) ";
1388213920
1388313921 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(Shift, double) ";
13884
13885 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(Scale, double) ";
1388613922
1388713923 %feature("docstring") vtkGDCMThreadedImageReader2::vtkSetMacro "vtkGDCMThreadedImageReader2::vtkSetMacro(UseShiftScale, int) ";
1388813924
1393713973 vtkImageColorViewer::GetSliceMin() ";
1393813974
1393913975 %feature("docstring") vtkImageColorViewer::GetSliceRange "virtual
13940 void vtkImageColorViewer::GetSliceRange(int range[2]) ";
13976 int* vtkImageColorViewer::GetSliceRange() ";
1394113977
1394213978 %feature("docstring") vtkImageColorViewer::GetSliceRange "virtual
1394313979 void vtkImageColorViewer::GetSliceRange(int &min, int &max) ";
1394413980
1394513981 %feature("docstring") vtkImageColorViewer::GetSliceRange "virtual
13946 int* vtkImageColorViewer::GetSliceRange() ";
13982 void vtkImageColorViewer::GetSliceRange(int range[2]) ";
1394713983
1394813984 %feature("docstring") vtkImageColorViewer::GetWindowName "virtual
1394913985 const char* vtkImageColorViewer::GetWindowName() ";
1401514051
1401614052 %feature("docstring") vtkImageColorViewer::UpdateDisplayExtent "virtual void vtkImageColorViewer::UpdateDisplayExtent() ";
1401714053
14054 %feature("docstring") vtkImageColorViewer::VTK_LEGACY "vtkImageColorViewer::VTK_LEGACY(int GetWholeZMax()) ";
14055
1401814056 %feature("docstring") vtkImageColorViewer::VTK_LEGACY "vtkImageColorViewer::VTK_LEGACY(int GetWholeZMin()) ";
1401914057
14020 %feature("docstring") vtkImageColorViewer::VTK_LEGACY "vtkImageColorViewer::VTK_LEGACY(int GetWholeZMax()) ";
14021
1402214058 %feature("docstring") vtkImageColorViewer::VTK_LEGACY "vtkImageColorViewer::VTK_LEGACY(int GetZSlice()) ";
1402314059
1402414060 %feature("docstring") vtkImageColorViewer::VTK_LEGACY "vtkImageColorViewer::VTK_LEGACY(void SetZSlice(int)) ";
1402514061
1402614062 %feature("docstring") vtkImageColorViewer::vtkBooleanMacro "vtkImageColorViewer::vtkBooleanMacro(OffScreenRendering, int) ";
1402714063
14064 %feature("docstring") vtkImageColorViewer::vtkGetMacro "vtkImageColorViewer::vtkGetMacro(Slice, int) ";
14065
1402814066 %feature("docstring") vtkImageColorViewer::vtkGetMacro "vtkImageColorViewer::vtkGetMacro(SliceOrientation, int) ";
1402914067
14030 %feature("docstring") vtkImageColorViewer::vtkGetMacro "vtkImageColorViewer::vtkGetMacro(Slice, int) ";
14068 %feature("docstring") vtkImageColorViewer::vtkGetObjectMacro "vtkImageColorViewer::vtkGetObjectMacro(ImageActor, vtkImageActor) ";
14069
14070 %feature("docstring") vtkImageColorViewer::vtkGetObjectMacro "vtkImageColorViewer::vtkGetObjectMacro(InteractorStyle,
14071 vtkInteractorStyleImage) ";
14072
14073 %feature("docstring") vtkImageColorViewer::vtkGetObjectMacro "vtkImageColorViewer::vtkGetObjectMacro(Renderer, vtkRenderer) ";
1403114074
1403214075 %feature("docstring") vtkImageColorViewer::vtkGetObjectMacro "vtkImageColorViewer::vtkGetObjectMacro(RenderWindow, vtkRenderWindow)
1403314076 ";
14034
14035 %feature("docstring") vtkImageColorViewer::vtkGetObjectMacro "vtkImageColorViewer::vtkGetObjectMacro(Renderer, vtkRenderer) ";
14036
14037 %feature("docstring") vtkImageColorViewer::vtkGetObjectMacro "vtkImageColorViewer::vtkGetObjectMacro(ImageActor, vtkImageActor) ";
1403814077
1403914078 %feature("docstring") vtkImageColorViewer::vtkGetObjectMacro "vtkImageColorViewer::vtkGetObjectMacro(WindowLevel,
1404014079 vtkImageMapToWindowLevelColors2) ";
14041
14042 %feature("docstring") vtkImageColorViewer::vtkGetObjectMacro "vtkImageColorViewer::vtkGetObjectMacro(InteractorStyle,
14043 vtkInteractorStyleImage) ";
1404414080
1404514081 %feature("docstring") vtkImageColorViewer::vtkTypeMacro "vtkImageColorViewer::vtkTypeMacro(vtkImageColorViewer, vtkObject) ";
1404614082
1407214108
1407314109 %feature("docstring") vtkImageMapToColors16::vtkBooleanMacro "vtkImageMapToColors16::vtkBooleanMacro(PassAlphaToOutput, int) ";
1407414110
14111 %feature("docstring") vtkImageMapToColors16::vtkGetMacro "vtkImageMapToColors16::vtkGetMacro(ActiveComponent, int) ";
14112
1407514113 %feature("docstring") vtkImageMapToColors16::vtkGetMacro "vtkImageMapToColors16::vtkGetMacro(OutputFormat, int) ";
14076
14077 %feature("docstring") vtkImageMapToColors16::vtkGetMacro "vtkImageMapToColors16::vtkGetMacro(ActiveComponent, int) ";
1407814114
1407914115 %feature("docstring") vtkImageMapToColors16::vtkGetMacro "vtkImageMapToColors16::vtkGetMacro(PassAlphaToOutput, int) ";
1408014116
1408114117 %feature("docstring") vtkImageMapToColors16::vtkGetObjectMacro "vtkImageMapToColors16::vtkGetObjectMacro(LookupTable,
1408214118 vtkScalarsToColors) ";
1408314119
14120 %feature("docstring") vtkImageMapToColors16::vtkSetMacro "vtkImageMapToColors16::vtkSetMacro(ActiveComponent, int) ";
14121
1408414122 %feature("docstring") vtkImageMapToColors16::vtkSetMacro "vtkImageMapToColors16::vtkSetMacro(OutputFormat, int) ";
14085
14086 %feature("docstring") vtkImageMapToColors16::vtkSetMacro "vtkImageMapToColors16::vtkSetMacro(ActiveComponent, int) ";
1408714123
1408814124 %feature("docstring") vtkImageMapToColors16::vtkSetMacro "vtkImageMapToColors16::vtkSetMacro(PassAlphaToOutput, int) ";
1408914125
1409814134 %feature("docstring") vtkImageMapToWindowLevelColors2::PrintSelf "void vtkImageMapToWindowLevelColors2::PrintSelf(ostream &os, vtkIndent
1409914135 indent) ";
1410014136
14137 %feature("docstring") vtkImageMapToWindowLevelColors2::vtkGetMacro "vtkImageMapToWindowLevelColors2::vtkGetMacro(Level, double) ";
14138
1410114139 %feature("docstring") vtkImageMapToWindowLevelColors2::vtkGetMacro "vtkImageMapToWindowLevelColors2::vtkGetMacro(Window, double) ";
1410214140
14103 %feature("docstring") vtkImageMapToWindowLevelColors2::vtkGetMacro "vtkImageMapToWindowLevelColors2::vtkGetMacro(Level, double) ";
14141 %feature("docstring") vtkImageMapToWindowLevelColors2::vtkSetMacro "vtkImageMapToWindowLevelColors2::vtkSetMacro(Level, double) ";
1410414142
1410514143 %feature("docstring") vtkImageMapToWindowLevelColors2::vtkSetMacro "vtkImageMapToWindowLevelColors2::vtkSetMacro(Window, double) ";
14106
14107 %feature("docstring") vtkImageMapToWindowLevelColors2::vtkSetMacro "vtkImageMapToWindowLevelColors2::vtkSetMacro(Level, double) ";
1410814144
1410914145 %feature("docstring") vtkImageMapToWindowLevelColors2::vtkTypeMacro "vtkImageMapToWindowLevelColors2::vtkTypeMacro(vtkImageMapToWindowLevelColors2,
1411014146 vtkImageMapToColors) ";
1428514321 %feature("docstring") vtkRTStructSetProperties::PrintSelf "void
1428614322 vtkRTStructSetProperties::PrintSelf(ostream &os, vtkIndent indent) ";
1428714323
14324 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(ReferenceFrameOfReferenceUID)
14325 ";
14326
14327 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(ReferenceSeriesInstanceUID)
14328 ";
14329
14330 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(SeriesInstanceUID) ";
14331
14332 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(SOPInstanceUID) ";
14333
14334 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(StructureSetDate) ";
14335
1428814336 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(StructureSetLabel) ";
1428914337
1429014338 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(StructureSetName) ";
1429114339
14292 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(StructureSetDate) ";
14293
1429414340 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(StructureSetTime) ";
1429514341
14296 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(SOPInstanceUID) ";
14297
1429814342 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(StudyInstanceUID) ";
1429914343
14300 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(SeriesInstanceUID) ";
14301
14302 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(ReferenceSeriesInstanceUID)
14303 ";
14304
14305 %feature("docstring") vtkRTStructSetProperties::vtkGetStringMacro "vtkRTStructSetProperties::vtkGetStringMacro(ReferenceFrameOfReferenceUID)
14306 ";
14344 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(ReferenceFrameOfReferenceUID)
14345 ";
14346
14347 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(ReferenceSeriesInstanceUID)
14348 ";
14349
14350 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(SeriesInstanceUID) ";
14351
14352 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(SOPInstanceUID) ";
14353
14354 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(StructureSetDate) ";
1430714355
1430814356 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(StructureSetLabel) ";
1430914357
1431014358 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(StructureSetName) ";
1431114359
14312 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(StructureSetDate) ";
14313
1431414360 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(StructureSetTime) ";
1431514361
14316 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(SOPInstanceUID) ";
14317
1431814362 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(StudyInstanceUID) ";
14319
14320 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(SeriesInstanceUID) ";
14321
14322 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(ReferenceSeriesInstanceUID)
14323 ";
14324
14325 %feature("docstring") vtkRTStructSetProperties::vtkSetStringMacro "vtkRTStructSetProperties::vtkSetStringMacro(ReferenceFrameOfReferenceUID)
14326 ";
1432714363
1432814364 %feature("docstring") vtkRTStructSetProperties::vtkTypeMacro "vtkRTStructSetProperties::vtkTypeMacro(vtkRTStructSetProperties,
1432914365 vtkObject) ";
1455214588 %feature("docstring") gdcm::network::add1 "static int
1455314589 gdcm::add1(char *buf, int n) ";
1455414590
14555 %feature("docstring") gdcm::network::backslash "ignore_char const
14591 %feature("docstring") gdcm::network::backslash "const ignore_char
1455614592 gdcm::backslash('\\\\\\\\') ";
1455714593
1455814594 %feature("docstring") gdcm::network::Clamp "static T gdcm::Clamp(int
1557015606 // File: dir_dbf95c1d90c5a901881337453263e002.xml
1557115607
1557215608
15609 // File: dir_952e636b135cd251326f90c6c3f1b54a.xml
15610
15611
1557315612 // File: dir_18f0eb58264c0e5251b09e2a1c43e69e.xml
1557415613
1557515614
15615 // File: dir_a8ec3c19f3c7e072ef6deff7fa46dee5.xml
15616
15617
1557615618 // File: dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.xml
1557715619
1557815620
1559415636 // File: dir_c65ec574e088a3fb8c01ccf67a472041.xml
1559515637
1559615638
15639 // File: dir_7f79c74866d8aba106fb47a8e7816411.xml
15640
15641
1559715642 // File: dir_b7bc1d3f8c76b5f778038891003f2f25.xml
1559815643
1559915644
1607416119 // File: SimplePrint_8cs-example.xml
1607516120
1607616121
16122 // File: SimplePrint_8java-example.xml
16123
16124
1607716125 // File: SimplePrintPatientName_8cs-example.xml
1607816126
1607916127