/usr/include/dcmtk/dcmimage/dicopxt.h is in libdcmtk2-dev 3.6.0-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 | /*
*
* Copyright (C) 1996-2010, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmimage
*
* Author: Joerg Riesmeier
*
* Purpose: DicomColorPixelTemplate (Header)
*
* Last Update: $Author: joergr $
* Update Date: $Date: 2010-10-14 13:16:29 $
* CVS/RCS Revision: $Revision: 1.30 $
* Status: $State: Exp $
*
* CVS/RCS Log at end of file
*
*/
#ifndef DICOPXT_H
#define DICOPXT_H
#include "dcmtk/config/osconfig.h"
#include "dcmtk/ofstd/ofbmanip.h"
#include "dcmtk/dcmimage/dicopx.h"
#include "dcmtk/dcmimgle/dipxrept.h"
/********************************************************************/
inline Uint8 removeSign(const Uint8 value, const Uint8)
{
return value;
}
inline Uint16 removeSign(const Uint16 value, const Uint16)
{
return value;
}
inline Uint32 removeSign(const Uint32 value, const Uint32)
{
return value;
}
inline Uint8 removeSign(const Sint8 value, const Sint8 offset)
{
return OFstatic_cast(Uint8, OFstatic_cast(Sint16, value) + OFstatic_cast(Sint16, offset) + 1);
}
inline Uint16 removeSign(const Sint16 value, const Sint16 offset)
{
return OFstatic_cast(Uint16, OFstatic_cast(Sint32, value) + OFstatic_cast(Sint32, offset) + 1);
}
/*
inline Uint32 removeSign(const Sint32 value, const Sint32 offset)
{
return (value < 0) ? OFstatic_cast(Uint32, value + offset + 1) : OFstatic_cast(Uint32, value) + OFstatic_cast(Uint32, offset) + 1;
}
inline Uint8 removeSign(const Sint8 value, const Uint8 mask)
{
return OFstatic_cast(Uint8, value) ^ mask;
}
inline Uint16 removeSign(const Sint16 value, const Uint16 mask)
{
return OFstatic_cast(Uint16, value) ^ mask;
}
*/
inline Uint32 removeSign(const Sint32 value, const Uint32 mask)
{
return OFstatic_cast(Uint32, value) ^ mask;
}
/*---------------------*
* class declaration *
*---------------------*/
/** Template class to handle color pixel data
*/
template<class T>
class DiColorPixelTemplate
: public DiColorPixel,
public DiPixelRepresentationTemplate<T>
{
public:
/** constructor
*
** @param docu pointer to the DICOM document
* @param pixel pointer to input pixel data
* @param samples number of expected samples per pixel (for checking purposes)
* @param status status of the image object (reference variable)
* @param sample_rate dummy parameter (used for derived classes only)
*/
DiColorPixelTemplate(const DiDocument *docu,
const DiInputPixel *pixel,
const Uint16 samples,
EI_Status &status,
const Uint16 sample_rate = 0)
: DiColorPixel(docu, pixel, samples, status, sample_rate)
{
Data[0] = NULL;
Data[1] = NULL;
Data[2] = NULL;
}
/** destructor
*/
virtual ~DiColorPixelTemplate()
{
delete[] Data[0];
delete[] Data[1];
delete[] Data[2];
}
/** get integer representation
*
** @return integer representation of the internally stored pixel data
*/
inline EP_Representation getRepresentation() const
{
return DiPixelRepresentationTemplate<T>::getRepresentation();
}
/** get pointer to internal array of pixel data.
* The returned array [0..2] points to the three image planes.
*
** @return pointer to array of pixel data
*/
inline const void *getData() const
{
return OFstatic_cast(const void *, Data);
}
/** get pointer to internal array of pixel data.
* The returned array [0..2] points to the three image planes.
*
** @return pointer to array of pixel data
*/
inline void *getDataPtr()
{
return OFstatic_cast(void *, Data);
}
/** get pointer to internal array of pixel data.
* The returned array [0..2] points to the three image planes.
*
** @return reference to pointer to pixel data
*/
inline void *getDataArrayPtr()
{
return OFstatic_cast(void *, Data);
}
/** fill given memory block with pixel data (all three image planes, RGB)
*
** @param data pointer to memory block (array of 8 or 16 bit values, OB/OW)
* @param count number of T-size entries allocated in the 'data' array
* @param fcount number of pixels per frame
* @param frames total number of frames present in intermediate representation
* @param planar flag indicating whether data shall be stored color-by-pixel or color-by-plane
*
** @return OFTrue if successful, OFFalse otherwise
*/
OFBool getPixelData(void *data,
const unsigned long count,
const unsigned long fcount,
const unsigned long frames,
const int planar) const
{
OFBool result = OFFalse;
/* check parameters and internal data */
if ((data != NULL) && (count >= Count * 3) && (frames > 0) && (frames * fcount <= Count) &&
(Data[0] != NULL) && (Data[1] != NULL) && (Data[2] != NULL))
{
register T *q = OFstatic_cast(T *, data);
register int j;
register unsigned long k;
register unsigned long offset = 0;
if (planar)
{
/* for all frames ... */
for (k = 0; k < frames; ++k)
{
/* copy all three planes to the given memory block */
for (j = 0; j < 3; ++j)
{
OFBitmanipTemplate<T>::copyMem(Data[j] + offset, q, fcount);
q += fcount;
}
offset += fcount;
}
} else {
register unsigned long i;
/* for all frames ... */
for (k = 0; k < frames; ++k)
{
/* copy pixel data values from internal representation */
for (i = 0; i < fcount; ++i)
{
for (j = 0; j < 3; ++j)
*(q++) = Data[j][i + offset];
}
offset += fcount;
}
}
result = OFTrue;
}
return result;
}
/** create true color (24/32 bit) bitmap for MS Windows.
*
** @param data untyped pointer memory buffer (set to NULL if not allocated externally)
* @param size size of the memory buffer in bytes (if 0 'data' is set to NULL)
* @param width number of columns of the image
* @param height number of rows of the image
* @param frame index of frame to be converted (starting from 0)
* @param fromBits number of bits per sample used for internal representation of the image
* @param toBits number of bits per sample used for the output bitmap (<= 8)
* @param mode color output mode (24 or 32 bits, see dcmimgle/dcmimage.h for details)
* @param upsideDown specifies the order of lines in the images (0 = top-down, bottom-up otherwise)
* @param padding align each line to a 32-bit address if true
*
** @return number of bytes allocated by the bitmap, or 0 if an error occured
*/
unsigned long createDIB(void *&data,
const unsigned long size,
const Uint16 width,
const Uint16 height,
const unsigned long frame,
const int fromBits,
const int toBits,
const int mode,
const int upsideDown,
const int padding) const
{
unsigned long bytes = 0;
if ((Data[0] != NULL) && (Data[1] != NULL) && (Data[2] != NULL) && (toBits <= 8))
{
const unsigned long count = OFstatic_cast(unsigned long, width) * OFstatic_cast(unsigned long, height);
const unsigned long start = count * frame + ((upsideDown) ?
OFstatic_cast(unsigned long, height - 1) * OFstatic_cast(unsigned long, width) : 0);
const signed long nextRow = (upsideDown) ? -2 * OFstatic_cast(signed long, width) : 0;
register const T *r = Data[0] + start;
register const T *g = Data[1] + start;
register const T *b = Data[2] + start;
register Uint16 x;
register Uint16 y;
if (mode == 24) // 24 bits per pixel
{
const unsigned long wid3 = OFstatic_cast(unsigned long, width) * 3;
// each line has to start at 32-bit-address, if 'padding' is true
const int gap = (padding) ? OFstatic_cast(int, (4 - (wid3 & 0x3)) & 0x3) : 0;
unsigned long fsize = (wid3 + gap) * OFstatic_cast(unsigned long, height);
if ((data == NULL) || (size >= fsize))
{
if (data == NULL)
data = new Uint8[fsize];
if (data != NULL)
{
register Uint8 *q = OFstatic_cast(Uint8 *, data);
if (fromBits == toBits)
{
/* copy pixel data as is */
for (y = height; y != 0; y--)
{
for (x = width; x != 0; x--)
{
/* reverse sample order: B-G-R */
*(q++) = OFstatic_cast(Uint8, *(b++));
*(q++) = OFstatic_cast(Uint8, *(g++));
*(q++) = OFstatic_cast(Uint8, *(r++));
}
r += nextRow; g += nextRow; b += nextRow; // go backwards if 'upsideDown'
q += gap; // new line: jump to next 32-bit address
}
}
else if (fromBits < toBits)
{
/* increase color depth: multiply with factor */
const double gradient1 = OFstatic_cast(double, DicomImageClass::maxval(toBits)) /
OFstatic_cast(double, DicomImageClass::maxval(fromBits));
const Uint8 gradient2 = OFstatic_cast(Uint8, gradient1);
if (gradient1 == OFstatic_cast(double, gradient2)) // integer multiplication?
{
for (y = height; y != 0; y--)
{
for (x = width; x != 0; x--)
{
/* reverse sample order: B-G-R */
*(q++) = OFstatic_cast(Uint8, *(b++) * gradient2);
*(q++) = OFstatic_cast(Uint8, *(g++) * gradient2);
*(q++) = OFstatic_cast(Uint8, *(r++) * gradient2);
}
r += nextRow; g += nextRow; b += nextRow; // go backwards if 'upsideDown'
q += gap; // new line: jump to next 32-bit address
}
} else {
for (y = height; y != 0; y--)
{
for (x = width; x != 0; x--)
{
/* reverse sample order: B-G-R */
*(q++) = OFstatic_cast(Uint8, OFstatic_cast(double, *(b++)) * gradient1);
*(q++) = OFstatic_cast(Uint8, OFstatic_cast(double, *(g++)) * gradient1);
*(q++) = OFstatic_cast(Uint8, OFstatic_cast(double, *(r++)) * gradient1);
}
r += nextRow; g += nextRow; b += nextRow; // go backwards if 'upsideDown'
q += gap; // new line: jump to next 32-bit address
}
}
}
else /* fromBits > toBits */
{
/* reduce color depth: right shift */
const int shift = fromBits - toBits;
for (y = height; y != 0; y--)
{
for (x = width; x != 0; x--)
{
/* reverse sample order: B-G-R */
*(q++) = OFstatic_cast(Uint8, *(b++) >> shift);
*(q++) = OFstatic_cast(Uint8, *(g++) >> shift);
*(q++) = OFstatic_cast(Uint8, *(r++) >> shift);
}
r += nextRow; g += nextRow; b += nextRow; // go backwards if 'upsideDown'
q += gap; // new line: jump to next 32-bit address
}
}
bytes = fsize;
}
}
}
else if (mode == 32) // 32 bits per pixel
{
const unsigned long fsize = count * 4;
if ((data == NULL) || (size >= fsize))
{
if (data == NULL)
data = new Uint32[count];
if (data != NULL)
{
register Uint32 *q = OFstatic_cast(Uint32 *, data);
if (fromBits == toBits)
{
/* copy pixel data as is */
for (y = height; y != 0; y--)
{
for (x = width; x != 0; x--)
{
/* normal sample order: 0-R-G-B */
*(q++) = (OFstatic_cast(Uint32, *(r++)) << 16) |
(OFstatic_cast(Uint32, *(g++)) << 8) |
OFstatic_cast(Uint32, *(b++));
}
r += nextRow; g += nextRow; b += nextRow; // go backwards if 'upsideDown'
}
}
else if (fromBits < toBits)
{
/* increase color depth: multiply with factor */
const double gradient1 = OFstatic_cast(double, DicomImageClass::maxval(toBits)) /
OFstatic_cast(double, DicomImageClass::maxval(fromBits));
const Uint32 gradient2 = OFstatic_cast(Uint32, gradient1);
if (gradient1 == OFstatic_cast(double, gradient2)) // integer multiplication?
{
for (y = height; y != 0; y--)
{
for (x = width; x != 0; x--)
{
/* normal sample order: 0-R-G-B */
*(q++) = (OFstatic_cast(Uint32, *(r++) * gradient2) << 16) |
(OFstatic_cast(Uint32, *(g++) * gradient2) << 8) |
OFstatic_cast(Uint32, *(b++) * gradient2);
}
r += nextRow; g += nextRow; b += nextRow; // go backwards if 'upsideDown'
}
} else {
for (y = height; y != 0; y--)
{
for (x = width; x != 0; x--)
{
/* normal sample order: 0-R-G-B */
*(q++) = (OFstatic_cast(Uint32, OFstatic_cast(double, *(r++)) * gradient1) << 16) |
(OFstatic_cast(Uint32, OFstatic_cast(double, *(g++)) * gradient1) << 8) |
OFstatic_cast(Uint32, OFstatic_cast(double, *(b++)) * gradient1);
}
r += nextRow; g += nextRow; b += nextRow; // go backwards if 'upsideDown'
}
}
}
else /* fromBits > toBits */
{
/* reduce color depth: right shift */
const int shift = fromBits - toBits;
for (y = height; y != 0; y--)
{
for (x = width; x != 0; x--)
{
/* normal sample order: 0-R-G-B */
*(q++) = (OFstatic_cast(Uint32, *(r++) >> shift) << 16) |
(OFstatic_cast(Uint32, *(g++) >> shift) << 8) |
OFstatic_cast(Uint32, *(b++) >> shift);
}
r += nextRow; g += nextRow; b += nextRow; // go backwards if 'upsideDown'
}
}
bytes = fsize;
}
}
}
}
return bytes;
}
/** create true color (32 bit) bitmap for Java (AWT default format).
*
** @param data resulting pointer to bitmap data (set to NULL if an error occurred)
* @param width number of columns of the image
* @param height number of rows of the image
* @param frame index of frame to be converted (starting from 0)
* @param fromBits number of bits per sample used for internal representation of the image
* @param toBits number of bits per sample used for the output bitmap (<= 8)
*
** @return number of bytes allocated by the bitmap, or 0 if an error occured
*/
unsigned long createAWTBitmap(void *&data,
const Uint16 width,
const Uint16 height,
const unsigned long frame,
const int fromBits,
const int toBits) const
{
data = NULL;
unsigned long bytes = 0;
if ((Data[0] != NULL) && (Data[1] != NULL) && (Data[2] != NULL) && (toBits <= 8))
{
const unsigned long count = OFstatic_cast(unsigned long, width) * OFstatic_cast(unsigned long, height);
data = new Uint32[count];
if (data != NULL)
{
const unsigned long start = count * frame;
register const T *r = Data[0] + start;
register const T *g = Data[1] + start;
register const T *b = Data[2] + start;
register Uint32 *q = OFstatic_cast(Uint32 *, data);
register unsigned long i;
if (fromBits == toBits)
{
/* copy pixel data as is */
for (i = count; i != 0; --i)
{
/* sample order: R-G-B */
*(q++) = (OFstatic_cast(Uint32, *(r++)) << 24) |
(OFstatic_cast(Uint32, *(g++)) << 16) |
(OFstatic_cast(Uint32, *(b++)) << 8);
}
}
else if (fromBits < toBits)
{
/* increase color depth: multiply with factor */
const double gradient1 = OFstatic_cast(double, DicomImageClass::maxval(toBits)) /
OFstatic_cast(double, DicomImageClass::maxval(fromBits));
const Uint32 gradient2 = OFstatic_cast(Uint32, gradient1);
if (gradient1 == OFstatic_cast(double, gradient2)) // integer multiplication?
{
for (i = count; i != 0; --i)
{
/* sample order: R-G-B */
*(q++) = (OFstatic_cast(Uint32, *(r++) * gradient2) << 24) |
(OFstatic_cast(Uint32, *(g++) * gradient2) << 16) |
(OFstatic_cast(Uint32, *(b++) * gradient2) << 8);
}
} else {
for (i = count; i != 0; --i)
{
/* sample order: R-G-B */
*(q++) = (OFstatic_cast(Uint32, OFstatic_cast(double, *(r++)) * gradient1) << 24) |
(OFstatic_cast(Uint32, OFstatic_cast(double, *(g++)) * gradient1) << 16) |
(OFstatic_cast(Uint32, OFstatic_cast(double, *(b++)) * gradient1) << 8);
}
}
}
else /* fromBits > toBits */
{
/* reduce color depth: right shift */
const int shift = fromBits - toBits;
for (i = count; i != 0; --i)
{
/* sample order: R-G-B */
*(q++) = (OFstatic_cast(Uint32, *(r++) >> shift) << 24) |
(OFstatic_cast(Uint32, *(g++) >> shift) << 16) |
(OFstatic_cast(Uint32, *(b++) >> shift) << 8);
}
}
bytes = count * 4;
}
}
return bytes;
}
protected:
/** constructor
*
** @param pixel pointer to intermediate color pixel data
* @param count number of pixels
*/
DiColorPixelTemplate(const DiColorPixel *pixel,
const unsigned long count)
: DiColorPixel(pixel, count)
{
Data[0] = NULL;
Data[1] = NULL;
Data[2] = NULL;
}
/** initialize internal memory
*
** @param pixel pointer to input pixel data
*
** @return true (1) if successful, false (0) otherwise
*/
inline int Init(const void *pixel)
{
int result = 0;
if (pixel != NULL)
{
result = 1;
/* allocate data buffer for the 3 planes */
for (int j = 0; j < 3; j++)
{
Data[j] = new T[Count];
if (Data[j] != NULL)
{
/* erase empty part of the buffer (=blacken the background) */
if (InputCount < Count)
OFBitmanipTemplate<T>::zeroMem(Data[j] + InputCount, Count - InputCount);
} else
result = 0; // at least one buffer could not be allocated!
}
}
return result;
}
/// pointer to pixel data (3 components)
T *Data[3];
private:
// --- declarations to avoid compiler warnings
DiColorPixelTemplate(const DiColorPixelTemplate<T> &);
DiColorPixelTemplate<T> &operator=(const DiColorPixelTemplate<T> &);
};
#endif
/*
*
* CVS/RCS Log:
* $Log: dicopxt.h,v $
* Revision 1.30 2010-10-14 13:16:29 joergr
* Updated copyright header. Added reference to COPYRIGHT file.
*
* Revision 1.29 2010-03-01 09:08:46 uli
* Removed some unnecessary include directives in the headers.
*
* Revision 1.28 2009-08-26 07:51:31 joergr
* Added parentheses around + or - in operand of & in order to avoid warnings
* reported by gcc 4.3.2.
*
* Revision 1.27 2008-05-13 10:03:34 joergr
* Fixed issue with multi-frame color images: writeImageToDataset() used wrong
* format for color-by-plane output.
*
* Revision 1.26 2006/07/10 10:59:26 joergr
* Fixed incorrect order of sample values in 32-bit DIB images.
*
* Revision 1.25 2005/12/08 16:01:35 meichel
* Changed include path schema for all DCMTK header files
*
* Revision 1.24 2004/10/19 12:57:47 joergr
* Enhanced API documentation.
*
* Revision 1.23 2004/02/06 11:18:18 joergr
* Distinguish more clearly between const and non-const access to pixel data.
*
* Revision 1.22 2004/01/21 12:59:43 meichel
* Added OFconst_cast, needed for Visual C++ 6
*
* Revision 1.21 2003/12/23 11:43:03 joergr
* Adapted type casts to new-style typecast operators defined in ofcast.h.
* Removed leading underscore characters from preprocessor symbols (reserved
* symbols). Updated copyright header. Added missing API documentation.
* Replaced post-increment/decrement operators by pre-increment/decrement
* operators where appropriate (e.g. 'i++' by '++i').
*
* Revision 1.20 2002/12/10 17:39:50 meichel
* Added explicit type cast to avoid compilation error on gcc 3.2
*
* Revision 1.19 2002/12/09 13:37:24 joergr
* Added private undefined copy constructor and/or assignment operator.
* Fixed bug that caused method createAWTBitmap() to return always empty pixel
* data.
*
* Revision 1.18 2002/09/12 14:10:37 joergr
* Replaced "createPixelData" by "getPixelData" which uses a new dcmdata
* routine and is therefore more efficient.
*
* Revision 1.17 2002/08/29 12:57:49 joergr
* Added method that creates pixel data in DICOM format.
*
* Revision 1.16 2002/06/26 16:17:41 joergr
* Enhanced handling of corrupted pixel data and/or length.
*
* Revision 1.15 2002/01/29 17:07:08 joergr
* Added optional flag to the "Windows DIB" methods allowing to switch off the
* scanline padding.
*
* Revision 1.14 2001/12/11 14:23:44 joergr
* Added type cast to keep old Sun compilers quiet.
*
* Revision 1.13 2001/11/09 16:44:35 joergr
* Enhanced and renamed createTrueColorDIB() method.
*
* Revision 1.12 2001/06/01 15:49:29 meichel
* Updated copyright header
*
* Revision 1.11 2000/03/08 16:21:51 meichel
* Updated copyright header.
*
* Revision 1.10 1999/09/17 14:03:44 joergr
* Enhanced efficiency of some "for" loops.
*
* Revision 1.9 1999/07/23 13:22:29 joergr
* emoved inline method 'removeSign'which is no longer needed.
*
* Revision 1.8 1999/04/28 12:51:58 joergr
* Corrected some typos, comments and formatting.
*
* Revision 1.7 1999/01/20 14:44:49 joergr
* Corrected some typos and formatting.
*
* Revision 1.6 1998/11/27 13:50:20 joergr
* Added copyright message. Replaced delete by delete[] for array types.
* Added method to give direct (non const) access to internal data buffer.
*
* Revision 1.5 1998/05/11 14:53:13 joergr
* Added CVS/RCS header to each file.
*
*
*/
|