15 #ifndef niftkLookupTableContainer_h
16 #define niftkLookupTableContainer_h
18 #include <niftkCoreExports.h>
20 #include <vtkLookupTable.h>
22 #include <mitkBaseData.h>
55 const vtkLookupTable* GetLookupTable()
const {
return m_LookupTable; }
77 void SetLabels(
const LabelListType& labels){ m_Labels = labels; }
96 void operator=(
const LookupTableContainer&) {}
99 const vtkLookupTable* m_LookupTable;
108 QString m_DisplayName;
111 LabelListType m_Labels;
void SetDisplayName(const QString s)
Definition: niftkLookupTableContainer.h:64
void SetRequestedRegionToLargestPossibleRegion() override
Definition: niftkLookupTableContainer.h:82
virtual void SetRequestedRegion(const itk::DataObject *data) override
Definition: niftkLookupTableContainer.h:88
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
Definition: glew.h:1363
std::vector< LabelType > LabelListType
Definition: niftkLookupTableContainer.h:40
void SetOrder(int i)
Definition: niftkLookupTableContainer.h:58
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Definition: niftkLookupTableContainer.h:84
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::pair< int, QString > LabelType
Definition: niftkLookupTableContainer.h:39
void SetLabels(const LabelListType &labels)
Definition: niftkLookupTableContainer.h:77
int GetOrder() const
Definition: niftkLookupTableContainer.h:61
bool GetIsScaled() const
Definition: niftkLookupTableContainer.h:73
LabelListType GetLabels() const
Definition: niftkLookupTableContainer.h:80
void SetIsScaled(bool s)
Definition: niftkLookupTableContainer.h:70
virtual bool VerifyRequestedRegion() override
Definition: niftkLookupTableContainer.h:86
GLdouble s
Definition: glew.h:1374
Definition: niftkExceptionObject.h:21
QString GetDisplayName() const
Definition: niftkLookupTableContainer.h:67