NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | List of all members
niftk::LookupTableContainer Class Reference

Class to contain a vtkLookupTable and to store meta-data attributes like display name, which order to display it in in GUI, etc. More...

Inheritance diagram for niftk::LookupTableContainer:
Inheritance graph
[legend]
Collaboration diagram for niftk::LookupTableContainer:
Collaboration graph
[legend]

Public Types

typedef std::pair< int, QString > LabelType
 
typedef std::vector< LabelTypeLabelListType
 

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
 

Detailed Description

Class to contain a vtkLookupTable and to store meta-data attributes like display name, which order to display it in in GUI, etc.

Member Typedef Documentation

typedef std::pair<int, QString> niftk::LookupTableContainer::LabelType

Constructor & Destructor Documentation

niftk::LookupTableContainer::LookupTableContainer ( const vtkLookupTable *  lut,
const LabelListType labels 
)

Constructor that takes a lookup table and a set of labels

niftk::LookupTableContainer::~LookupTableContainer ( )
virtual

Destructor.

Member Function Documentation

QString niftk::LookupTableContainer::GetDisplayName ( ) const
inline

Get the display name.

bool niftk::LookupTableContainer::GetIsScaled ( ) const
inline

Get scaled property.

LabelListType niftk::LookupTableContainer::GetLabels ( ) const
inline

Get labels.

const vtkLookupTable* niftk::LookupTableContainer::GetLookupTable ( ) const
inline

Get the vtkLookupTable.

int niftk::LookupTableContainer::GetOrder ( ) const
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.

bool niftk::LookupTableContainer::RequestedRegionIsOutsideOfTheBufferedRegion ( )
inlineoverride
void niftk::LookupTableContainer::SetDisplayName ( const QString  s)
inline

Set the display name.

void niftk::LookupTableContainer::SetIsScaled ( bool  s)
inline

Set scaled property.

void niftk::LookupTableContainer::SetLabels ( const LabelListType labels)
inline

Set labels.

void niftk::LookupTableContainer::SetOrder ( int  i)
inline

Set the order that determines which order this vtkLookupTable will be displayed in GUI.

virtual void niftk::LookupTableContainer::SetRequestedRegion ( const itk::DataObject *  data)
inlineoverridevirtual
void niftk::LookupTableContainer::SetRequestedRegionToLargestPossibleRegion ( )
inlineoverride
virtual bool niftk::LookupTableContainer::VerifyRequestedRegion ( )
inlineoverridevirtual

The documentation for this class was generated from the following files: