NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkLabelMapWriter.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkLabelMapWriter_h
16 #define niftkLabelMapWriter_h
17 
18 #include <mitkAbstractFileWriter.h>
19 
21 
22 namespace niftk
23 {
24 
34 class LabelMapWriter : public mitk::AbstractFileWriter
35 {
36 
37 public:
38 
40  virtual ~LabelMapWriter();
41 
42  virtual void Write() override;
43 
44 private:
45 
46  LabelMapWriter(const LabelMapWriter & other);
47  virtual LabelMapWriter * Clone() const override;
48 
50  void WriteLabelMap(
52  vtkLookupTable* lookupTable) const;
53 };
54 
55 }
56 
57 #endif
LabelMapWriter()
Definition: niftkLabelMapWriter.cxx:34
std::vector< LabelType > LabelListType
Definition: niftkLabeledLookupTableProperty.h:37
Writer to save labeled lookup tables in the format of Slicer v 4.4.0.
Definition: niftkLabelMapWriter.h:34
virtual void Write() override
Definition: niftkLabelMapWriter.cxx:63
virtual ~LabelMapWriter()
Definition: niftkLabelMapWriter.cxx:51
Definition: niftkExceptionObject.h:21