15 #ifndef niftkLabelMapReader_h
16 #define niftkLabelMapReader_h
19 #include <mitkAbstractFileReader.h>
26 class LookupTableContainer;
46 virtual std::vector<itk::SmartPointer<mitk::BaseData> >
Read()
override;
62 bool ReadLabelMap(std::istream &);
69 ColorListType m_Colors;
71 us::ServiceRegistration<mitk::IFileReader> m_ServiceReg;
77 QString m_DisplayName;
virtual LabelMapReader * Clone() const override
Definition: niftkLabelMapReader.cxx:54
LabelMapReader()
Definition: niftkLabelMapReader.cxx:36
GLuint GLdouble GLdouble GLint GLint order
Definition: glew.h:3085
virtual LookupTableContainer * GetLookupTableContainer()
Get a LookupTableContainer from file.
Definition: niftkLabelMapReader.cxx:187
Definition: niftkLabelMapReader.h:33
std::vector< LabelType > LabelListType
Definition: niftkLabeledLookupTableProperty.h:37
virtual ~LabelMapReader()
Definition: niftkLabelMapReader.h:41
Class to contain a vtkLookupTable and to store meta-data attributes like display name, which order to display it in in GUI, etc.
Definition: niftkLookupTableContainer.h:34
std::vector< QColor > ColorListType
Definition: niftkVtkLookupTableUtils.h:38
void SetOrder(int order)
Set the order to assign the LookupTableContainer as the label map file does not store this informatio...
Definition: niftkLabelMapReader.h:57
virtual std::vector< itk::SmartPointer< mitk::BaseData > > Read() override
Read the file and return mitkBaseData.
Definition: niftkLabelMapReader.cxx:61
Definition: niftkExceptionObject.h:21