Medical Imaging Interaction Toolkit  2022.04.99-b2814023
Medical Imaging Interaction Toolkit
mitk::AnatomicalStructureColorPresets Class Reference

#include <mitkAnatomicalStructureColorPresets.h>

Inheritance diagram for mitk::AnatomicalStructureColorPresets:
Collaboration diagram for mitk::AnatomicalStructureColorPresets:

Classes

struct  Category
 
struct  Type
 

Public Member Functions

 vtkTypeMacro (AnatomicalStructureColorPresets, vtkXMLParser)
 
bool LoadPreset ()
 
bool LoadPreset (const std::string &fileName)
 
Category GetCategory (const std::string &name)
 
Type GetType (const std::string &name)
 
Color GetColor (const std::string &name)
 
std::map< std::string, Category > const GetCategoryPresets ()
 
std::map< std::string, Type > const GetTypePresets ()
 
std::map< std::string, Color > const GetColorPresets ()
 
void NewPresets (std::map< std::string, Category > &newCategory, std::map< std::string, Type > &newType, std::map< std::string, Color > &newColor)
 

Static Public Member Functions

static AnatomicalStructureColorPresetsNew ()
 

Protected Member Functions

 AnatomicalStructureColorPresets ()=default
 
 ~AnatomicalStructureColorPresets () override=default
 

Detailed Description

Definition at line 24 of file mitkAnatomicalStructureColorPresets.h.

Constructor & Destructor Documentation

◆ AnatomicalStructureColorPresets()

mitk::AnatomicalStructureColorPresets::AnatomicalStructureColorPresets ( )
protecteddefault

◆ ~AnatomicalStructureColorPresets()

mitk::AnatomicalStructureColorPresets::~AnatomicalStructureColorPresets ( )
overrideprotecteddefault

Member Function Documentation

◆ GetCategory()

Category mitk::AnatomicalStructureColorPresets::GetCategory ( const std::string &  name)

◆ GetCategoryPresets()

std::map<std::string, Category> const mitk::AnatomicalStructureColorPresets::GetCategoryPresets ( )

◆ GetColor()

Color mitk::AnatomicalStructureColorPresets::GetColor ( const std::string &  name)

◆ GetColorPresets()

std::map<std::string, Color> const mitk::AnatomicalStructureColorPresets::GetColorPresets ( )

◆ GetType()

Type mitk::AnatomicalStructureColorPresets::GetType ( const std::string &  name)

◆ GetTypePresets()

std::map<std::string, Type> const mitk::AnatomicalStructureColorPresets::GetTypePresets ( )

◆ LoadPreset() [1/2]

bool mitk::AnatomicalStructureColorPresets::LoadPreset ( )

◆ LoadPreset() [2/2]

bool mitk::AnatomicalStructureColorPresets::LoadPreset ( const std::string &  fileName)

◆ New()

static AnatomicalStructureColorPresets* mitk::AnatomicalStructureColorPresets::New ( )
static

◆ NewPresets()

void mitk::AnatomicalStructureColorPresets::NewPresets ( std::map< std::string, Category > &  newCategory,
std::map< std::string, Type > &  newType,
std::map< std::string, Color > &  newColor 
)

◆ vtkTypeMacro()

mitk::AnatomicalStructureColorPresets::vtkTypeMacro ( AnatomicalStructureColorPresets  ,
vtkXMLParser   
)

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