/usr/include/vtkDICOMLookupTable.h is in libvtk-dicom-dev 0.7.4-2.
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 | /*=========================================================================
Program: DICOM for VTK
Copyright (c) 2012-2015 David Gobbi
All rights reserved.
See Copyright.txt or http://dgobbi.github.io/bsd3.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkDICOMLookupTable - Lookup tables from DICOM data.
// .SECTION Description
// This class can create VTK lookup tables from the information in a
// DICOM data set. Lookup tables can be created from a palette LUT,
// or from standard DICOM LUTs such as HOT_IRON.
#ifndef vtkDICOMLookupTable_h
#define vtkDICOMLookupTable_h
#include <vtkLookupTable.h>
#include "vtkDICOMModule.h" // For export macro
class vtkDICOMMetaData;
//----------------------------------------------------------------------------
class VTKDICOM_EXPORT vtkDICOMLookupTable : public vtkLookupTable
{
public:
// Description:
// Static method for construction.
static vtkDICOMLookupTable *New();
vtkTypeMacro(vtkDICOMLookupTable, vtkLookupTable);
// Description:
// Print information about this object.
virtual void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Build the a standard lookup table, given a code string.
// The supported code strings are HOT_IRON, HOT_METAL_BLUE, PET,
// and PET_20_STEP. This does not set the range of the table.
void BuildStandardPalette(const char *name);
// Description:
// Build the lookup table from the supplied meta data.
// An index may be given to specify which data set instance in the
// meta data will be used. The range of the table will be set to
// the smallest and largest pixel values to be mapped.
void BuildImagePalette(vtkDICOMMetaData *meta, int idx=0);
protected:
vtkDICOMLookupTable();
~vtkDICOMLookupTable();
private:
vtkDICOMLookupTable(const vtkDICOMLookupTable&); // Not implemented.
void operator=(const vtkDICOMLookupTable&); // Not implemented.
};
#endif // vtkDICOMLookupTable_h
|