Coverage Report

Created: 2026-06-30 07:05

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/dcmtk/dcmimgle/libsrc/didislut.cc
Line
Count
Source
1
/*
2
 *
3
 *  Copyright (C) 1996-2021, OFFIS e.V.
4
 *  All rights reserved.  See COPYRIGHT file for details.
5
 *
6
 *  This software and supporting documentation were developed by
7
 *
8
 *    OFFIS e.V.
9
 *    R&D Division Health
10
 *    Escherweg 2
11
 *    D-26121 Oldenburg, Germany
12
 *
13
 *
14
 *  Module:  dcmimgle
15
 *
16
 *  Author:  Joerg Riesmeier
17
 *
18
 *  Purpose: DicomDisplayLUT (Source)
19
 *
20
 */
21
22
23
#include "dcmtk/config/osconfig.h"
24
25
#include "dcmtk/dcmimgle/didislut.h"
26
27
28
/*----------------*
29
 *  constructors  *
30
 *----------------*/
31
32
DiDisplayLUT::DiDisplayLUT(const unsigned long count,
33
                           const Uint16 max,
34
                           const double amb,
35
                           const double illum)
36
0
  : DiBaseLUT(count, OFstatic_cast(Uint16, DicomImageClass::tobits(max, 0))),
37
0
    AmbientLight((amb > 0) ? amb : 0),
38
0
    Illumination((illum > 0) ? illum : 0)
39
0
{
40
0
}
41
42
43
/*--------------*
44
 *  destructor  *
45
 *--------------*/
46
47
DiDisplayLUT::~DiDisplayLUT()
48
0
{
49
0
}