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

Provides a property so that each value/color has an associated name. More...

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

Public Types

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

Public Member Functions

 mitkClassMacro (LabeledLookupTableProperty, NamedLookupTableProperty) static Pointer New()
 
 mitkNewMacro3Param (LabeledLookupTableProperty, const std::string &, const mitk::LookupTable::Pointer, const LabelListType &) mitkNewMacro4Param(LabeledLookupTableProperty
 
const std::string const const
LabelListType bool
LabelListType 
GetLabels () const
 
void SetLabels (const LabelListType &labels)
 
- Public Member Functions inherited from niftk::NamedLookupTableProperty
 mitkClassMacro (NamedLookupTableProperty, mitk::LookupTableProperty) static Pointer New()
 
 mitkNewMacro2Param (NamedLookupTableProperty, const std::string &, const mitk::LookupTable::Pointer) mitkNewMacro3Param(NamedLookupTableProperty
 
const std::string const
virtual bool std::string 
GetValueAsString () const override
 
virtual void SetName (const char *_arg)
 
virtual const char * GetName () const
 
virtual void SetIsScaled (bool _arg)
 
virtual bool GetIsScaled () const
 
virtual void IsScaledOn ()
 
virtual void IsScaledOff ()
 

Protected Member Functions

virtual ~LabeledLookupTableProperty ()
 
 LabeledLookupTableProperty ()
 
 LabeledLookupTableProperty (const LabeledLookupTableProperty &other)
 
 LabeledLookupTableProperty (const std::string &name, const mitk::LookupTable::Pointer lut, const LabelListType &labels)
 
 LabeledLookupTableProperty (const std::string &name, const mitk::LookupTable::Pointer lut, const LabelListType &labels, bool scale)
 
- Protected Member Functions inherited from niftk::NamedLookupTableProperty
virtual ~NamedLookupTableProperty ()
 
 NamedLookupTableProperty ()
 
 NamedLookupTableProperty (const NamedLookupTableProperty &other)
 
 NamedLookupTableProperty (const std::string &name, const mitk::LookupTable::Pointer lut)
 
 NamedLookupTableProperty (const std::string &name, const mitk::LookupTable::Pointer lut, bool scale)
 

Detailed Description

Provides a property so that each value/color has an associated name.

Member Typedef Documentation

Constructor & Destructor Documentation

niftk::LabeledLookupTableProperty::~LabeledLookupTableProperty ( )
protectedvirtual
niftk::LabeledLookupTableProperty::LabeledLookupTableProperty ( )
protected
niftk::LabeledLookupTableProperty::LabeledLookupTableProperty ( const LabeledLookupTableProperty other)
protected
niftk::LabeledLookupTableProperty::LabeledLookupTableProperty ( const std::string name,
const mitk::LookupTable::Pointer  lut,
const LabelListType labels 
)
protected
niftk::LabeledLookupTableProperty::LabeledLookupTableProperty ( const std::string name,
const mitk::LookupTable::Pointer  lut,
const LabelListType labels,
bool  scale 
)
protected

Member Function Documentation

const std::string const const LabelListType bool LabelListType niftk::LabeledLookupTableProperty::GetLabels ( ) const
inline

Get list of labels

niftk::LabeledLookupTableProperty::mitkClassMacro ( LabeledLookupTableProperty  ,
NamedLookupTableProperty   
)
niftk::LabeledLookupTableProperty::mitkNewMacro3Param ( LabeledLookupTableProperty  ,
const std::string ,
const mitk::LookupTable::Pointer  ,
const LabelListType  
)
void niftk::LabeledLookupTableProperty::SetLabels ( const LabelListType labels)
inline

Set list of labels


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