NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Class to contain a vtkLookupTable and to store meta-data attributes like display name, which order to display it in in GUI, etc. More...
Public Types | |
typedef std::pair< int, QString > | LabelType |
typedef std::vector< LabelType > | LabelListType |
Public Member Functions | |
mitkClassMacro (LookupTableContainer, mitk::BaseData) LookupTableContainer(const vtkLookupTable *lut) | |
LookupTableContainer (const vtkLookupTable *lut, const LabelListType &labels) | |
virtual | ~LookupTableContainer () |
const vtkLookupTable * | GetLookupTable () const |
void | SetOrder (int i) |
int | GetOrder () const |
void | SetDisplayName (const QString s) |
QString | GetDisplayName () const |
void | SetIsScaled (bool s) |
bool | GetIsScaled () const |
void | SetLabels (const LabelListType &labels) |
LabelListType | GetLabels () const |
void | SetRequestedRegionToLargestPossibleRegion () override |
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
virtual bool | VerifyRequestedRegion () override |
virtual void | SetRequestedRegion (const itk::DataObject *data) override |
Class to contain a vtkLookupTable and to store meta-data attributes like display name, which order to display it in in GUI, etc.
typedef std::vector<LabelType> niftk::LookupTableContainer::LabelListType |
typedef std::pair<int, QString> niftk::LookupTableContainer::LabelType |
niftk::LookupTableContainer::LookupTableContainer | ( | const vtkLookupTable * | lut, |
const LabelListType & | labels | ||
) |
Constructor that takes a lookup table and a set of labels
|
virtual |
Destructor.
|
inline |
Get the display name.
|
inline |
Get scaled property.
|
inline |
Get labels.
|
inline |
Get the vtkLookupTable.
|
inline |
Get the order that this lookup table will be displayed in GUI.
niftk::LookupTableContainer::mitkClassMacro | ( | LookupTableContainer | , |
mitk::BaseData | |||
) | const |
Constructor that takes a lookup table.
|
inlineoverride |
|
inline |
Set the display name.
|
inline |
Set scaled property.
|
inline |
Set labels.
Set the order that determines which order this vtkLookupTable will be displayed in GUI.
|
inlineoverridevirtual |
|
inlineoverride |
|
inlineoverridevirtual |