Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkLevelWindowPreset.h>
Public Member Functions | |
vtkTypeMacro (LevelWindowPreset, vtkXMLParser) | |
bool | LoadPreset () |
bool | LoadPreset (std::string fileName) |
double | getLevel (std::string name) |
double | getWindow (std::string window) |
std::map< std::string, double > & | getLevelPresets () |
std::map< std::string, double > & | getWindowPresets () |
void | newPresets (std::map< std::string, double > newLevel, std::map< std::string, double > newWindow) |
Static Public Member Functions | |
static LevelWindowPreset * | New () |
Protected Member Functions | |
LevelWindowPreset () | |
~LevelWindowPreset () | |
Definition at line 27 of file mitkLevelWindowPreset.h.
|
protected |
Definition at line 32 of file mitkLevelWindowPreset.cpp.
|
protected |
Definition at line 33 of file mitkLevelWindowPreset.cpp.
double mitk::LevelWindowPreset::getLevel | ( | std::string | name | ) |
Definition at line 105 of file mitkLevelWindowPreset.cpp.
Referenced by mitkImageVtkMapper2DLevelWindowTest(), and QmitkLevelWindowWidgetContextMenu::setPreset().
std::map< std::string, double > & mitk::LevelWindowPreset::getLevelPresets | ( | ) |
Definition at line 107 of file mitkLevelWindowPreset.cpp.
Referenced by QmitkLevelWindowWidgetContextMenu::addPreset(), and QmitkLevelWindowWidgetContextMenu::getContextMenu().
double mitk::LevelWindowPreset::getWindow | ( | std::string | window | ) |
Definition at line 106 of file mitkLevelWindowPreset.cpp.
Referenced by mitkImageVtkMapper2DLevelWindowTest(), and QmitkLevelWindowWidgetContextMenu::setPreset().
std::map< std::string, double > & mitk::LevelWindowPreset::getWindowPresets | ( | ) |
Definition at line 108 of file mitkLevelWindowPreset.cpp.
Referenced by QmitkLevelWindowWidgetContextMenu::addPreset().
bool mitk::LevelWindowPreset::LoadPreset | ( | ) |
Definition at line 34 of file mitkLevelWindowPreset.cpp.
References ModuleContext::GetModule(), us::GetModuleContext(), and MITK_INFO.
Referenced by mitkImageVtkMapper2DLevelWindowTest(), and QmitkLevelWindowWidgetContextMenu::QmitkLevelWindowWidgetContextMenu().
bool mitk::LevelWindowPreset::LoadPreset | ( | std::string | fileName | ) |
Definition at line 52 of file mitkLevelWindowPreset.cpp.
References MITK_INFO.
|
static |
void mitk::LevelWindowPreset::newPresets | ( | std::map< std::string, double > | newLevel, |
std::map< std::string, double > | newWindow | ||
) |
Definition at line 115 of file mitkLevelWindowPreset.cpp.
Referenced by QmitkLevelWindowWidgetContextMenu::addPreset().
mitk::LevelWindowPreset::vtkTypeMacro | ( | LevelWindowPreset | , |
vtkXMLParser | |||
) |